Module to configure the variables of the Euler equations.
Init the variable system for Euler (inviscid) flow simulations.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(atl_Equations_type), | intent(inout) | :: | equation |
The equation system |
||
type(atl_varSys_solverData_type) | :: | solverData |
the pointer to the data required for the varsys |
Append conservative variables for Euler equations.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(atl_Equations_type), | intent(inout) | :: | equation |
The equation type. |
||
type(atl_varSys_solverData_type), | target | :: | solverData |
the pointer to the data required for the varsys |
Append primitive variables for euler equation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_varSys_type), | intent(inout) | :: | varSys |
The Euler variable system to modify. It has to contain the conservative variables already. |
||
integer, | intent(out), | allocatable | :: | primVar(:) |
Indices of the primitive variables in the overall system. |
|
type(atl_varSys_solverData_type), | target | :: | solverData |
the pointer to the data required for the varsys to fulfill all operations and derivations on the variables |
Append / set methods and data to compute derived quantities to the variable system.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_varSys_type), | intent(inout) | :: | varSys |
The Euler variable system to modify. It has to contain the conservative and primitive variables already. |
||
type(atl_varSys_solverData_type), | target | :: | solverData |
the pointer to the data required for the varsys to fulfill all operations and derivations on the variables |
Init source terms for flow simulations. This routine initializes possible source variables and returns the filled up list of the poss_srcVars
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_possible_variable_type), | intent(inout) | :: | possVars | |||
type(atl_eqn_sourceMap_type), | intent(out), | allocatable | :: | eval_source(:) |
Adds the properties of the expected source terms to the list of possible variables to extract these expected variables later on from the configuration file.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_possible_variable_type), | intent(out) | :: | possVars | |||
integer | :: | nDimensions |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(inout) | :: | rhs(:,:) |
The Right Hand side to be updated |
||
real(kind=rk), | intent(in) | :: | source(:,:) |
The source data to be used |
||
real(kind=rk), | intent(in) | :: | state(:,:) |
The state in the modal form |
||
real(kind=rk), | intent(in) | :: | constants(:) |
the constants required for the evaluation of source |
e v a l u a t e
" c u r r e n t D e n s i t y "
s o u r c e
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(atl_source_op_type), | intent(in) | :: | fun |
Description of method to update source |
||
type(tem_varSys_type), | intent(in) | :: | varSys |
variable system |
||
type(tem_time_type), | intent(in) | :: | time |
Point in time at which to evaluate the variable. |
||
type(atl_cube_elem_type), | intent(in) | :: | mesh |
Current level mesh information |
||
type(ply_poly_project_type), | intent(inout) | :: | poly_proj |
Parameters for projection |
||
integer, | intent(in) | :: | currentLevel |
current level |
||
real(kind=rk), | intent(in) | :: | state(:,:,:) |
The state in modal space. This is needed for several source terms that have to be applied to the current state |
||
real(kind=rk), | intent(in) | :: | material(:) |
Material description for the complete domain. Used for evaluation of some source terms. |
||
real(kind=rk), | intent(inout) | :: | sourcedata(:,:,:) |
The source data to update. When all source terms are added to this buffer, it is applied to the state. |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(inout) | :: | rhs(:,:) |
The Right Hand side to be updated |
||
real(kind=rk), | intent(in) | :: | source(:,:) |
The source data to be used |
||
real(kind=rk), | intent(in) | :: | state(:,:) |
The state in the modal form |
||
real(kind=rk), | intent(in) | :: | constants(:) |
the constants required for the evaluation of source |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(atl_source_op_type), | intent(in) | :: | fun |
Description of method to update source |
||
type(tem_varSys_type), | intent(in) | :: | varSys |
variable system |
||
type(tem_time_type), | intent(in) | :: | time |
Point in time at which to evaluate the variable. |
||
type(atl_cube_elem_type), | intent(in) | :: | mesh |
Current level mesh information |
||
type(ply_poly_project_type), | intent(inout) | :: | poly_proj |
Parameters for projection |
||
integer, | intent(in) | :: | currentLevel |
current level |
||
real(kind=rk), | intent(in) | :: | state(:,:,:) |
The state in modal space. This is needed for several source terms that have to be applied to the current state |
||
real(kind=rk), | intent(in) | :: | material(:) |
Material description for the complete domain. Used for evaluation of some source terms. |
||
real(kind=rk), | intent(inout) | :: | sourcedata(:,:,:) |
The source data to update. When all source terms are added to this buffer, it is applied to the state. |