Initial conditions describe all field variables at the beginning of the
simulation.
They take the form of a spatial function.
See tem_spatial_module for the definition of spatial functions.
In their simplest form they can just be a constant value.
Usually, the variables of the field in the equation system need to be
defined, but for nonlinear flow equations the primitive variables are
required instead.
Variables with multiple components need to be provided as individual
spatial functions, and the names have an X, Y or Z appended to signify
the respective directions.
An example initial condition with only constant values would look for
flows as follows:
initial_condition = {
density = 1.0 ,
velocityX = 0.0 ,
velocityY = 0.0 ,
velocityZ = 0.0 ,
pressure = 1.0
}
The initial condition will be evaluated pointwise and then transformed
to a modal representation in Legendre polynomials.
Uses
module~~atl_initial_condition_module~~UsesGraph
module~atl_initial_condition_module
atl_initial_condition_module
module~atl_scheme_module
atl_scheme_module
module~atl_initial_condition_module->module~atl_scheme_module
module~tem_logging_module
tem_logging_module
module~atl_initial_condition_module->module~tem_logging_module
module~tem_ini_condition_module
tem_ini_condition_module
module~atl_initial_condition_module->module~tem_ini_condition_module
module~tem_element_module
tem_element_module
module~atl_initial_condition_module->module~tem_element_module
module~atl_equation_module
atl_equation_module
module~atl_initial_condition_module->module~atl_equation_module
module~tem_spatial_module
tem_spatial_module
module~atl_initial_condition_module->module~tem_spatial_module
module~flu_binding
flu_binding
module~atl_initial_condition_module->module~flu_binding
module~atl_reference_element_module
atl_reference_element_module
module~atl_initial_condition_module->module~atl_reference_element_module
module~ply_oversample_module
ply_oversample_module
module~atl_initial_condition_module->module~ply_oversample_module
module~atl_cube_container_module
atl_cube_container_module
module~atl_initial_condition_module->module~atl_cube_container_module
module~tem_aux_module
tem_aux_module
module~atl_initial_condition_module->module~tem_aux_module
module~aot_path_module
aot_path_module
module~atl_initial_condition_module->module~aot_path_module
module~treelmesh_module
treelmesh_module
module~atl_initial_condition_module->module~treelmesh_module
module~ply_poly_project_module
ply_poly_project_module
module~atl_initial_condition_module->module~ply_poly_project_module
module~env_module
env_module
module~atl_initial_condition_module->module~env_module
Nodes of different colours represent the following:
Graph Key
Module
Module
Submodule
Submodule
Subroutine
Subroutine
Function
Function
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Used by
module~~atl_initial_condition_module~~UsedByGraph
module~atl_initial_condition_module
atl_initial_condition_module
module~atl_initialize_module
atl_initialize_module
module~atl_initialize_module->module~atl_initial_condition_module
module~atl_program_module
atl_program_module
module~atl_program_module->module~atl_initialize_module
program~atl_harvesting
atl_harvesting
program~atl_harvesting->module~atl_initialize_module
program~atl_harvesting->module~atl_program_module
program~ateles
ateles
program~ateles->module~atl_program_module
Nodes of different colours represent the following:
Graph Key
Module
Module
Submodule
Submodule
Subroutine
Subroutine
Function
Function
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Subroutines
subroutine to load the initial conditions from a lua configuration file.
Read more…
Arguments
Type Intent Optional Attributes Name
type(atl_cube_container_type ),
intent(inout)
::
cube_container Container which holds all cubic elements for the mesh.
This parameter has to be initialzed already, since we need information
about the physical coordinates of the cells.
type(atl_Equations_type ),
intent(inout)
::
equation Description of the equations to solve.
integer,
intent(in)
::
prj_pos (tree%global%minLevel:tree%global%maxLevel)Levelwise position pointer for the projection method used for IC
type(ply_poly_project_type ),
intent(inout)
::
poly_proj_list (:)unique list for projection methods
type(flu_State ),
intent(inout)
::
conf Handle, providing access to the configuration script
character(len=*),
intent(in)
::
LuaFile Name of Lua configuration file.
type(treelmesh_type ),
intent(in)
::
tree Tree representation of your mesh.