Neko 1.99.3
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
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)
 
subroutine set_flow_ic_usr (u, v, w, p, coef, gs, user_proc, scheme_name)
 Set intial flow condition (user defined)
 
subroutine set_compressible_flow_ic_usr (rho, u, v, w, p, coef, gs, user_proc, scheme_name)
 Set intial flow condition (user defined) for compressible flows.
 
subroutine set_flow_ic_common (u, v, w, p, coef, gs)
 
subroutine set_flow_ic_uniform (u, v, w, uinf)
 Uniform initial condition.
 
subroutine set_flow_ic_blasius (u, v, w, delta, uinf, type)
 Set a Blasius profile as initial condition.
 
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.
 
subroutine, public set_flow_ic_fld (u, v, w, p, file_name, interpolate, mesh_file_name, global_interp_subdict)
 Set the initial condition of the flow based on a field. @detail The fields are read from an fld file. If enabled, interpolation is also possible. In that case, the mesh coordinates can be read from another field in the fld field series.
 

Function/Subroutine Documentation

◆ set_compressible_flow_ic_usr()

subroutine flow_ic::set_compressible_flow_ic_usr ( type(field_t), intent(inout), target  rho,
type(field_t), intent(inout), target  u,
type(field_t), intent(inout), target  v,
type(field_t), intent(inout), target  w,
type(field_t), intent(inout), target  p,
type(coef_t), intent(in coef,
type(gs_t), intent(inout gs,
procedure(user_initial_conditions_intf user_proc,
character(len=*), intent(in scheme_name 
)
private

Definition at line 185 of file flow_ic.f90.

◆ 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 301 of file flow_ic.f90.

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 234 of file flow_ic.f90.

Here is the caller graph for this function:

◆ set_flow_ic_fld()

subroutine, public flow_ic::set_flow_ic_fld ( type(field_t), intent(inout), target  u,
type(field_t), intent(inout), target  v,
type(field_t), intent(inout), target  w,
type(field_t), intent(inout), target  p,
character(len=*), intent(inout file_name,
logical, intent(in interpolate,
character(len=*), intent(inout mesh_file_name,
type(json_file), intent(inout global_interp_subdict 
)
Parameters
uThe x-component of the velocity field.
vThe y-component of the velocity field.
wThe z-component of the velocity field.
pThe pressure field.
file_nameThe name of the "fld" file series.
interpolateFlag to indicate wether or not to interpolate the values onto the current mesh.
file_nameIf interpolation is enabled the name of the "fld" file containing the mesh coordinates (if they are not in file_name).
global_interp_subdictIf interpolation is enabled, subdict containing the interpolation parameters to use.

Definition at line 418 of file flow_ic.f90.

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 77 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 371 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 274 of file flow_ic.f90.

Here is the caller graph for this function:

◆ set_flow_ic_usr()

subroutine flow_ic::set_flow_ic_usr ( type(field_t), intent(inout), target  u,
type(field_t), intent(inout), target  v,
type(field_t), intent(inout), target  w,
type(field_t), intent(inout), target  p,
type(coef_t), intent(in coef,
type(gs_t), intent(inout gs,
procedure(user_initial_conditions_intf user_proc,
character(len=*), intent(in scheme_name 
)
private

Definition at line 156 of file flow_ic.f90.