Neko 1.99.2
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, tolerance, mesh_file_name)
 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 174 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 290 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 223 of file flow_ic.f90.

Here is the call graph for this function:
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 u,
type(field_t), intent(inout v,
type(field_t), intent(inout w,
type(field_t), intent(inout p,
character(len=*), intent(in file_name,
logical, intent(in interpolate,
real(kind=rp), intent(in tolerance,
character(len=*), intent(inout mesh_file_name 
)
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.
sample_idxindex of the field file .f000* to read, default is -1.
interpolateFlag to indicate wether or not to interpolate the values onto the current mesh.
toleranceIf interpolation is enabled, tolerance for finding the points in the mesh.
sample_mesh_idxIf interpolation is enabled, index of the field file where the mesh coordinates are located.

Definition at line 409 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 74 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 360 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 263 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), 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 145 of file flow_ic.f90.