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:
Nodes of different colours represent the following:
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.
Nodes of different colours represent the following:
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
public subroutine atl_load_initial_condition(cube_container, equation, prj_pos, poly_proj_list, conf, LuaFile, tree)
subroutine to load the initial conditions from a lua configuration file.