Module provides routines and datatypes to check/correct the physical values of a given state.
Datatype to describe the physical checks.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | public | :: | isActive | = | .false. |
Is the check active |
|
integer, | public | :: | iterationInterval | = | huge(int(1)) |
The interval for the physical checks. |
|
real(kind=rk), | public | :: | tolerance | = | 1.0e-13_rk |
The tolerance below which a state will be marked as unphysical |
Routine to check if the physicle values of the state are physically meaningful or not for the Euler and Linear Euler equation, checking the cfl for a fixed timestep
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in) | :: | fixed_dt |
Fixed timestep prescribed in ateles |
||
integer, | intent(in) | :: | nPoly |
Order per spatial direction |
||
real(kind=rk), | intent(in) | :: | length |
Length of the element |
||
real(kind=rk), | intent(in) | :: | maxVel |
max Velocity for calculating the cfl |
Routine to check if the physicle values of the state are physically meaningful or not for the Navier-Stokes equation, checking the cfl for a fixed timestep
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in) | :: | fixed_dt |
Fixed timestep prescribed in ateles |
||
integer, | intent(in) | :: | nPoly |
Order per spatial direction |
||
real(kind=rk), | intent(in) | :: | length |
Length of the element |
||
real(kind=rk), | intent(in) | :: | maxVel |
max Velocity for calculating the cfl |
||
real(kind=rk), | intent(in) | :: | mu |
vicosity variable |
||
real(kind=rk), | intent(in) | :: | therm_cond |
thermal conductivity |
Routine to check if the physical values of a state are physically meaningful or not for the Euler equation.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(atl_statedata_type), | intent(in) | :: | statedata | |||
type(atl_euler_type), | intent(in) | :: | euler1d | |||
type(atl_scheme_type), | intent(in) | :: | scheme | |||
type(ply_poly_project_type), | intent(inout) | :: | poly_proj | |||
integer, | intent(in) | :: | nElems_fluid | |||
real(kind=rk), | intent(in) | :: | tolerance |
Routine to check if the physical values of a state are physically meaningful or not for the Euler equation.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(atl_statedata_type), | intent(in) | :: | statedata | |||
type(atl_euler_type), | intent(in) | :: | euler2d | |||
type(atl_scheme_type), | intent(in) | :: | scheme | |||
type(ply_poly_project_type), | intent(inout) | :: | poly_proj | |||
integer, | intent(in) | :: | nElems_fluid | |||
real(kind=rk), | intent(in) | :: | tolerance | |||
integer(kind=long_k), | intent(in) | :: | total(:) |
Routine to check if the physical values of a state are physically meaningful or not for the Euler equation.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(atl_statedata_type), | intent(in) | :: | statedata | |||
type(atl_euler_type), | intent(in) | :: | euler | |||
type(atl_scheme_type), | intent(in) | :: | scheme | |||
type(ply_poly_project_type), | intent(inout) | :: | poly_proj | |||
integer, | intent(in) | :: | nElems_fluid | |||
real(kind=rk), | intent(in) | :: | tolerance |
R o u t i n e
t o
c h e c k
i f
t h e
p h y s i c a l
v a l u e s
o f
a
s t a t e
a r e
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(atl_statedata_type), | intent(in) | :: | statedata | |||
type(atl_euler_type), | intent(in) | :: | euler | |||
type(atl_scheme_type), | intent(in) | :: | scheme | |||
type(ply_poly_project_type), | intent(inout) | :: | poly_proj | |||
integer, | intent(in) | :: | nElems_fluid | |||
real(kind=rk), | intent(in) | :: | tolerance |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(atl_statedata_type), | intent(in) | :: | statedata | |||
type(atl_euler_type), | intent(in) | :: | euler | |||
type(atl_scheme_type), | intent(in) | :: | scheme | |||
type(ply_poly_project_type), | intent(inout) | :: | poly_proj | |||
integer, | intent(in) | :: | nElems_fluid | |||
real(kind=rk), | intent(in) | :: | tolerance |
Routine to check if the physical values of a state are physically meaningful or not for the acoustic 2d equation.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(atl_statedata_type), | intent(in) | :: | statedata | |||
type(atl_scheme_type), | intent(in) | :: | scheme | |||
type(ply_poly_project_type), | intent(inout) | :: | poly_proj | |||
integer, | intent(in) | :: | nElems_fluid |
Routine to check if the physical values of a state are physically meaningful or not for the acoustic equation.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(atl_statedata_type), | intent(in) | :: | statedata | |||
type(atl_scheme_type), | intent(in) | :: | scheme | |||
type(ply_poly_project_type), | intent(inout) | :: | poly_proj | |||
integer, | intent(in) | :: | nElems_fluid |
Routine to check if the physical values of a state are physically meaningful or not for the linear euler equation.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(atl_statedata_type), | intent(in) | :: | statedata | |||
type(atl_scheme_type), | intent(in) | :: | scheme | |||
type(ply_poly_project_type), | intent(inout) | :: | poly_proj | |||
integer, | intent(in) | :: | nElems_fluid |
R o u t i n e
t o
c h e c k
i f
t h e
p h y s i c a l
v a l u e s
o f
a
s t a t e
a r e
p h y s i c a l l y
m e a n i n g f u l
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(atl_statedata_type), | intent(in) | :: | statedata | |||
type(atl_scheme_type), | intent(in) | :: | scheme | |||
type(ply_poly_project_type), | intent(inout) | :: | poly_proj | |||
integer, | intent(in) | :: | nElems_fluid |
Routine to check if the physical values of a state are physically meaningful or not for the Maxwell equation.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(atl_statedata_type), | intent(in) | :: | statedata | |||
integer, | intent(in) | :: | nElems_fluid | |||
integer, | intent(in) | :: | nDofs |
R e a d
t h e
i n f o
f o r
t h e
p h y s i c a l
c h e c k s
f r o m
t h e
c o n f i g u r a t i o n
f i l e
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(atl_physCheck_type), | intent(out) | :: | check |
The physical check to init. |
||
type(flu_State), | intent(in) | :: | conf |
Handle for the Lua config file |
||
type(atl_Equations_type), | intent(in) | :: | equation |
The equation you are simulating. |
Routine to check if the physical values of a state are physically meaningful or not.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | minlevel | |||
integer, | intent(in) | :: | maxlevel | |||
type(atl_statedata_type), | intent(in) | :: | statedata_list(minlevel:maxlevel) | |||
type(atl_cube_elem_type), | intent(in) | :: | mesh_list(minlevel:maxlevel) | |||
type(tem_status_type), | intent(inout) | :: | stat |
The current status bits from the treelm general configuration |
||
type(atl_Equations_type), | intent(in) | :: | equation | |||
type(atl_scheme_type), | intent(in) | :: | scheme_list(minlevel:maxlevel) | |||
integer, | intent(in) | :: | poly_proj_pos(minlevel:maxlevel) | |||
type(ply_poly_project_type), | intent(inout) | :: | poly_proj_list(:) | |||
type(atl_physCheck_type), | intent(in) | :: | check | |||
integer, | intent(in) | :: | iteration | |||
type(atl_global_timestep_type), | intent(inout) | :: | time |