atl_eqn_nvrstk_var_module Module

Some variables provided by Navier-Stokes system.


Uses

Used by

  • module~~atl_eqn_nvrstk_var_module~~UsedByGraph module~atl_eqn_nvrstk_var_module atl_eqn_nvrstk_var_module module~atl_eqn_nvrstk_hlp_module atl_eqn_nvrstk_hlp_module module~atl_eqn_nvrstk_hlp_module->module~atl_eqn_nvrstk_var_module module~atl_equation_init_module atl_equation_init_module module~atl_equation_init_module->module~atl_eqn_nvrstk_hlp_module module~atl_initialize_module atl_initialize_module module~atl_initialize_module->module~atl_equation_init_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

Functions

private pure function shear_estimate_3d(nvrstk, mean, deviation, grad) result(maxshear)

Estimate the magnitude of shear terms.

Read more…

Arguments

Type IntentOptional Attributes Name
class(atl_navierStokes_type), intent(in) :: nvrstk

Description of the equation

real(kind=rk), intent(in) :: mean(:)

The mean of each state variable.

real(kind=rk), intent(in) :: deviation(:)

Estimation of maximal deviation of each state.

real(kind=rk), intent(in) :: grad(:)

Estimation of maximal gradient of each state.

Return Value real(kind=rk)

Resulting estimate for maximal shear.

private pure function shear_estimate_2d(nvrstk, mean, deviation, grad) result(maxshear)

Estimate the magnitude of shear terms.

Read more…

Arguments

Type IntentOptional Attributes Name
class(atl_navierStokes_type), intent(in) :: nvrstk

Description of the equation

real(kind=rk), intent(in) :: mean(:)

The mean of each state variable.

real(kind=rk), intent(in) :: deviation(:)

Estimation of maximal deviation of each state.

real(kind=rk), intent(in) :: grad(:)

Estimation of maximal gradient of each state.

Return Value real(kind=rk)

Resulting estimate for maximal shear.


Subroutines

public subroutine atl_append_nvrstk_derivedVars(varSys, solverData)

Append / set methods and data to compute derived quantities to the variable system.

Read more…

Arguments

Type IntentOptional Attributes Name
type(tem_varSys_type), intent(inout) :: varSys

The 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

private subroutine atl_viscindicator_getPoint(fun, varSys, point, time, tree, nPnts, res)

Arguments

Type IntentOptional Attributes Name
class(tem_varSys_op_type), intent(in) :: fun

Description of the method to obtain the variables, here some preset values might be stored, like the space time function to use or the required variables.

type(tem_varSys_type), intent(in) :: varSys

The variable system to obtain the variable from.

real(kind=rk), intent(in) :: point(:,:)

Three-dimensional coordinates at which the variable should be evaluated. Only useful for variables provided as space-time functions.

type(tem_time_type), intent(in) :: time

Point in time at which to evaluate the variable.

type(treelmesh_type), intent(in) :: tree

global treelm mesh info

integer, intent(in) :: nPnts

Number of values to obtain for this variable (vectorized access).

real(kind=rk), intent(out) :: res(:)

Resulting values for the requested variable.

Read more…

private subroutine atl_viscindicator_getElement(fun, varSys, elempos, time, tree, nElems, nDofs, res)

Arguments

Type IntentOptional Attributes Name
class(tem_varSys_op_type), intent(in) :: fun

Description of the method to obtain the variables, here some preset values might be stored, like the space time function to use or the required variables.

type(tem_varSys_type), intent(in) :: varSys

The variable system to obtain the variable from.

integer, intent(in) :: elempos(:)

TreeID of the element to get the variable for.

type(tem_time_type), intent(in) :: time

Point in time at which to evaluate the variable.

type(treelmesh_type), intent(in) :: tree

global treelm mesh info

integer, intent(in) :: nElems

Number of values to obtain for this variable (vectorized access).

integer, intent(in) :: nDofs

Number of degrees of freedom within an element.

real(kind=rk), intent(out) :: res(:)

Resulting values for the requested variable.

Read more…

private subroutine atl_shearestimate_getPoint(fun, varSys, point, time, tree, nPnts, res)

Arguments

Type IntentOptional Attributes Name
class(tem_varSys_op_type), intent(in) :: fun

Description of the method to obtain the variables, here some preset values might be stored, like the space time function to use or the required variables.

type(tem_varSys_type), intent(in) :: varSys

The variable system to obtain the variable from.

real(kind=rk), intent(in) :: point(:,:)

Three-dimensional coordinates at which the variable should be evaluated. Only useful for variables provided as space-time functions.

type(tem_time_type), intent(in) :: time

Point in time at which to evaluate the variable.

type(treelmesh_type), intent(in) :: tree

global treelm mesh info

integer, intent(in) :: nPnts

Number of values to obtain for this variable (vectorized access).

real(kind=rk), intent(out) :: res(:)

Resulting values for the requested variable.

Read more…

private subroutine atl_shearestimate_getElement(fun, varSys, elempos, time, tree, nElems, nDofs, res)

Arguments

Type IntentOptional Attributes Name
class(tem_varSys_op_type), intent(in) :: fun

Description of the method to obtain the variables, here some preset values might be stored, like the space time function to use or the required variables.

type(tem_varSys_type), intent(in) :: varSys

The variable system to obtain the variable from.

integer, intent(in) :: elempos(:)

TreeID of the element to get the variable for.

type(tem_time_type), intent(in) :: time

Point in time at which to evaluate the variable.

type(treelmesh_type), intent(in) :: tree

global treelm mesh info

integer, intent(in) :: nElems

Number of values to obtain for this variable (vectorized access).

integer, intent(in) :: nDofs

Number of degrees of freedom within an element.

real(kind=rk), intent(out) :: res(:)

Resulting values for the requested variable.

Read more…