Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
Loading...
Searching...
No Matches
adjoint_fluid_ic Module Reference

Initial flow condition.

Data Types

interface  set_adjoint_fluid_ic
 

Functions/Subroutines

subroutine set_adjoint_fluid_ic_int (u_adj, v_adj, w_adj, p_adj, coef, gs, type, params)
 Set initial flow condition (builtin)
 
subroutine set_adjoint_fluid_ic_usr (u_adj, v_adj, w_adj, p_adj, coef, gs, usr_ic, params)
 Set intial flow condition (user defined)
 
subroutine set_adjoint_fluid_ic_common (u_adj, v_adj, w_adj, p_adj, coef, gs)
 
subroutine set_adjoint_fluid_ic_uniform (u_adj, v_adj, w_adj, uinf)
 Uniform initial condition.
 
subroutine set_adjoint_fluid_ic_blasius (u_adj, v_adj, w_adj, delta, uinf, type)
 Set a Blasius profile as initial condition.
 
subroutine set_adjoint_fluid_ic_point_zone (u_adj, v_adj, w_adj, base_value, zone_name, zone_value)
 Set the initial condition of the flow based on a point zone.
 

Function/Subroutine Documentation

◆ set_adjoint_fluid_ic_blasius()

subroutine adjoint_fluid_ic::set_adjoint_fluid_ic_blasius ( type(field_t), intent(inout u_adj,
type(field_t), intent(inout v_adj,
type(field_t), intent(inout w_adj,
real(kind=rp), intent(in delta,
real(kind=rp), dimension(3), intent(in uinf,
character(len=*), intent(in type 
)
private
Note
currently limited to axis aligned flow

Definition at line 189 of file adjoint_fluid_ic.f90.

Here is the caller graph for this function:

◆ set_adjoint_fluid_ic_common()

subroutine adjoint_fluid_ic::set_adjoint_fluid_ic_common ( type(field_t), intent(inout u_adj,
type(field_t), intent(inout v_adj,
type(field_t), intent(inout w_adj,
type(field_t), intent(inout p_adj,
type(coef_t), intent(in coef,
type(gs_t), intent(inout gs 
)
private

Definition at line 126 of file adjoint_fluid_ic.f90.

Here is the caller graph for this function:

◆ set_adjoint_fluid_ic_int()

subroutine adjoint_fluid_ic::set_adjoint_fluid_ic_int ( type(field_t), intent(inout u_adj,
type(field_t), intent(inout v_adj,
type(field_t), intent(inout w_adj,
type(field_t), intent(inout p_adj,
type(coef_t), intent(in coef,
type(gs_t), intent(inout gs,
character(len=*)  type,
type(json_file), intent(inout params 
)
private

Definition at line 63 of file adjoint_fluid_ic.f90.

◆ set_adjoint_fluid_ic_point_zone()

subroutine adjoint_fluid_ic::set_adjoint_fluid_ic_point_zone ( type(field_t), intent(inout u_adj,
type(field_t), intent(inout v_adj,
type(field_t), intent(inout w_adj,
real(kind=rp), dimension(3), intent(in base_value,
character(len=*), intent(in zone_name,
real(kind=rp), dimension(:), intent(in zone_value 
)
private

The initial condition is set to the base value and then the zone is filled with the zone value.

Parameters
u_adjThe x-component of the adjoint velocity field.
v_adjThe y-component of the adjoint velocity field.
w_adjThe z-component of the adjoint velocity field.
base_valueThe base value of the initial condition.
zone_nameThe name of the point zone.
zone_valueThe value of the point zone.

Definition at line 249 of file adjoint_fluid_ic.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_adjoint_fluid_ic_uniform()

subroutine adjoint_fluid_ic::set_adjoint_fluid_ic_uniform ( type(field_t), intent(inout u_adj,
type(field_t), intent(inout v_adj,
type(field_t), intent(inout w_adj,
real(kind=rp), dimension(3), intent(in uinf 
)
private

Definition at line 164 of file adjoint_fluid_ic.f90.

Here is the caller graph for this function:

◆ set_adjoint_fluid_ic_usr()

subroutine adjoint_fluid_ic::set_adjoint_fluid_ic_usr ( type(field_t), intent(inout u_adj,
type(field_t), intent(inout v_adj,
type(field_t), intent(inout w_adj,
type(field_t), intent(inout p_adj,
type(coef_t), intent(in coef,
type(gs_t), intent(inout gs,
procedure(useric)  usr_ic,
type(json_file), intent(inout params 
)
private

Definition at line 109 of file adjoint_fluid_ic.f90.