Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
|
Subroutines to add perturbed advection terms to the RHS of a transport equation.
Data Types | |
type | adv_lin_no_dealias_t |
Type encapsulating advection routines with no dealiasing applied. More... | |
Functions/Subroutines | |
subroutine | init_no_dealias (this, coef) |
Constructor. | |
subroutine | free_no_dealias (this) |
Destructor. | |
subroutine | adjoint_advection_no_dealias (this, vx, vy, vz, vxb, vyb, vzb, fx, fy, fz, xh, coef, n) |
Add the adjoint advection term for the fluid in weak form, i.e. \( \int_\Omega v \cdot u' (\nabla \bar{U})^T u^\dagger d\Omega
+ \int_\Omega \nabla v \cdot (\bar{U} \otimes u^\dagger) d \Omega \), to the RHS. | |
subroutine | adjoint_weak_no_dealias_device (f_d, u_i_d, ub, vb, wb, coef, xh, n, work1, work2, work3, w1, w2, w3) |
Compute a single component of \( \int_\Omega \nabla v \cdot (\bar{U} \otimes u^\dagger) d \Omega |_i \) , to the RHS on device. | |
subroutine | adjoint_weak_no_dealias_cpu (f, u_i, ub, vb, wb, e, coef, xh, n, work1, work2, work3, w1, w2, w3) |
Compute a single component of \( \int_\Omega \nabla v \cdot (\bar{U} \otimes u^\dagger) d \Omega |_i \) , to the RHS on CPU. | |
subroutine | linear_advection_no_dealias (this, vx, vy, vz, vxb, vyb, vzb, fx, fy, fz, xh, coef, n) |
Add the linearized advection term for the fluid, i.e. \(u' \cdot \nabla \bar{U} + \bar{U} \cdot \nabla u' \), to the RHS. | |
|
private |
vx | The x component of adjoint velocity. |
vy | The y component of adjoint velocity. |
vz | The z component of adjoint velocity. |
vxb | The x component of baseflow. |
vyb | The y component of baseflow. |
vzb | The z component of baseflow. |
fx | The x component of source term. |
fy | The y component of source term. |
fz | The z component of source term. |
Xh | The function space. |
coef | The coefficients of the (Xh, mesh) pair. |
n | Typically the size of the mesh. |
Definition at line 119 of file adv_adjoint_no_dealias.f90.
|
private |
f | The i'th component of this term. |
u_i | The i'th component of adjoint velocity. |
ub | The x component of baseflow. |
vb | The y component of baseflow. |
wb | The z component of baseflow. |
Xh | The function space. |
coef | The coefficients of the (Xh, mesh) pair. |
n | Typically the size of the mesh. |
Definition at line 317 of file adv_adjoint_no_dealias.f90.
|
private |
f_d | The i'th component of this term. |
u_i_d | The i'th component of adjoint velocity. |
ub | The x component of baseflow. |
vb | The y component of baseflow. |
wb | The z component of baseflow. |
Xh | The function space. |
coef | The coefficients of the (Xh, mesh) pair. |
n | Typically the size of the mesh. |
Definition at line 269 of file adv_adjoint_no_dealias.f90.
|
private |
Definition at line 92 of file adv_adjoint_no_dealias.f90.
subroutine adv_lin_no_dealias::init_no_dealias | ( | class(adv_lin_no_dealias_t), intent(inout) | this, |
type(coef_t), intent(in) | coef | ||
) |
coef | The coefficients of the (space, mesh) pair. |
Definition at line 79 of file adv_adjoint_no_dealias.f90.
|
private |
vx | The x component of perturbed velocity. |
vy | The y component of perturbed velocity. |
vz | The z component of perturbed velocity. |
vxb | The x component of baseflow. |
vyb | The y component of baseflow. |
vzb | The z component of baseflow. |
fx | The x component of source term. |
fy | The y component of source term. |
fz | The z component of source term. |
Xh | The function space. |
coef | The coefficients of the (Xh, mesh) pair. |
n | Typically the size of the mesh. |
Definition at line 365 of file adv_adjoint_no_dealias.f90.