Neko  0.8.99
A portable framework for high-order spectral element flow simulations
flow_ic Module Reference

Initial flow condition.

Data Types

interface  set_flow_ic
 

Functions/Subroutines

subroutine set_flow_ic_int (u, v, w, p, coef, gs, type, params)
 Set initial flow condition (builtin) More...
 
subroutine set_flow_ic_usr (u, v, w, p, coef, gs, usr_ic, params)
 Set intial flow condition (user defined) More...
 
subroutine set_flow_ic_common (u, v, w, p, coef, gs)
 
subroutine set_flow_ic_uniform (u, v, w, uinf)
 Uniform initial condition. More...
 
subroutine set_flow_ic_blasius (u, v, w, delta, uinf, type)
 Set a Blasius profile as initial condition. More...
 
subroutine set_flow_ic_point_zone (u, v, w, base_value, zone_name, zone_value)
 Set the initial condition of the flow based on a point zone. More...
 

Function/Subroutine Documentation

◆ set_flow_ic_blasius()

subroutine flow_ic::set_flow_ic_blasius ( type(field_t), intent(inout)  u,
type(field_t), intent(inout)  v,
type(field_t), intent(inout)  w,
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 177 of file flow_ic.f90.

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

◆ set_flow_ic_common()

subroutine flow_ic::set_flow_ic_common ( type(field_t), intent(inout)  u,
type(field_t), intent(inout)  v,
type(field_t), intent(inout)  w,
type(field_t), intent(inout)  p,
type(coef_t), intent(in)  coef,
type(gs_t), intent(inout)  gs 
)
private

Definition at line 119 of file flow_ic.f90.

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

◆ set_flow_ic_int()

subroutine flow_ic::set_flow_ic_int ( type(field_t), intent(inout)  u,
type(field_t), intent(inout)  v,
type(field_t), intent(inout)  w,
type(field_t), intent(inout)  p,
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 flow_ic.f90.

◆ set_flow_ic_point_zone()

subroutine flow_ic::set_flow_ic_point_zone ( type(field_t), intent(inout)  u,
type(field_t), intent(inout)  v,
type(field_t), intent(inout)  w,
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
uThe x-component of the velocity field.
vThe y-component of the velocity field.
wThe z-component of the 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 236 of file flow_ic.f90.

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

◆ set_flow_ic_uniform()

subroutine flow_ic::set_flow_ic_uniform ( type(field_t), intent(inout)  u,
type(field_t), intent(inout)  v,
type(field_t), intent(inout)  w,
real(kind=rp), dimension(3), intent(in)  uinf 
)
private

Definition at line 157 of file flow_ic.f90.

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

◆ set_flow_ic_usr()

subroutine flow_ic::set_flow_ic_usr ( type(field_t), intent(inout)  u,
type(field_t), intent(inout)  v,
type(field_t), intent(inout)  w,
type(field_t), intent(inout)  p,
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 103 of file flow_ic.f90.