atl_eqn_filNvrStk_derive_module Module

Routines to derive quantities from the state in the Euler equation system.


Uses

  • module~~atl_eqn_filnvrstk_derive_module~~UsesGraph module~atl_eqn_filnvrstk_derive_module atl_eqn_filNvrStk_derive_module env_module env_module module~atl_eqn_filnvrstk_derive_module->env_module iso_c_binding iso_c_binding module~atl_eqn_filnvrstk_derive_module->iso_c_binding module~atl_derive_module atl_derive_module module~atl_eqn_filnvrstk_derive_module->module~atl_derive_module module~atl_equation_module atl_equation_module module~atl_eqn_filnvrstk_derive_module->module~atl_equation_module module~atl_varsys_module atl_varSys_module module~atl_eqn_filnvrstk_derive_module->module~atl_varsys_module tem_time_module tem_time_module module~atl_eqn_filnvrstk_derive_module->tem_time_module tem_varSys_module tem_varSys_module module~atl_eqn_filnvrstk_derive_module->tem_varSys_module treelmesh_module treelmesh_module module~atl_eqn_filnvrstk_derive_module->treelmesh_module

Used by

  • module~~atl_eqn_filnvrstk_derive_module~~UsedByGraph module~atl_eqn_filnvrstk_derive_module atl_eqn_filNvrStk_derive_module module~atl_eqn_filnvrstk_hlp_module atl_eqn_filnvrStk_hlp_module module~atl_eqn_filnvrstk_hlp_module->module~atl_eqn_filnvrstk_derive_module module~atl_eqn_filnvrstk_var_module atl_eqn_filNvrStk_var_module module~atl_eqn_filnvrstk_hlp_module->module~atl_eqn_filnvrstk_var_module module~atl_laxfriedrichflux_module atl_laxFriedrichFlux_module module~atl_eqn_filnvrstk_hlp_module->module~atl_laxfriedrichflux_module module~atl_eqn_filnvrstk_var_module->module~atl_eqn_filnvrstk_derive_module module~atl_equation_init_module atl_equation_init_module module~atl_equation_init_module->module~atl_eqn_filnvrstk_hlp_module module~atl_physfluxfilnvrstk_module atl_physFluxFilNvrStk_module module~atl_physfluxfilnvrstk_module->module~atl_eqn_filnvrstk_var_module module~atl_initialize_module atl_initialize_module module~atl_initialize_module->module~atl_equation_init_module module~atl_laxfriedrichflux_module->module~atl_physfluxfilnvrstk_module module~atl_modg_2d_filnvrstk_kernel_module atl_modg_2d_filNvrStk_kernel_module module~atl_modg_2d_filnvrstk_kernel_module->module~atl_physfluxfilnvrstk_module module~atl_numflux_filnvrstk_module atl_numFlux_filNvrStk_module module~atl_modg_2d_filnvrstk_kernel_module->module~atl_numflux_filnvrstk_module module~atl_modg_2d_kernel_module atl_modg_2d_kernel_module module~atl_modg_2d_kernel_module->module~atl_physfluxfilnvrstk_module module~atl_modg_filnvrstk_kernel_module atl_modg_filNvrStk_kernel_module module~atl_modg_filnvrstk_kernel_module->module~atl_physfluxfilnvrstk_module module~atl_numflux_filnvrstk_module->module~atl_physfluxfilnvrstk_module module~atl_container_module atl_container_module module~atl_container_module->module~atl_modg_2d_kernel_module module~atl_eqn_euler_hlp_module atl_eqn_euler_hlp_module module~atl_eqn_euler_hlp_module->module~atl_laxfriedrichflux_module module~atl_eqn_lineareuler_hlp_module atl_eqn_LinearEuler_hlp_module module~atl_eqn_lineareuler_hlp_module->module~atl_laxfriedrichflux_module module~atl_program_module atl_program_module module~atl_program_module->module~atl_initialize_module proc~compute_rhs_cubes_modg compute_rhs_cubes_modg proc~compute_rhs_cubes_modg->module~atl_modg_filnvrstk_kernel_module proc~compute_rhs_cubes_modg_2d compute_rhs_cubes_modg_2d proc~compute_rhs_cubes_modg_2d->module~atl_modg_2d_filnvrstk_kernel_module proc~compute_rhs_cubes_modg_2d->module~atl_modg_2d_kernel_module proc~postprocess_rhs_cubes postprocess_rhs_cubes proc~postprocess_rhs_cubes->module~atl_modg_2d_kernel_module proc~preprocess_rhs_cubes preprocess_rhs_cubes proc~preprocess_rhs_cubes->module~atl_modg_2d_kernel_module program~atl_harvesting atl_harvesting program~atl_harvesting->module~atl_initialize_module

Subroutines

public subroutine atl_Rans_pressure_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…

public subroutine atl_Rans_pressure_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…

public subroutine atl_eqn_rans_cons2prim_elems(equation, instate, outstate, nElems)

Convert conservative to primitive variables.

Read more…

Arguments

Type IntentOptional Attributes Name
class(atl_Equations_type), intent(in) :: equation

Description of the equation system.

real(kind=rk), intent(inout) :: instate(:,:,:)

Primitive variables to convert. If outstate is not provided, conversion will take in place of instate.

real(kind=rk), intent(out), optional :: outstate(:,:,:)

Converted variables.

integer, intent(in) :: nElems

Number of elements to act on (first index in the state arrays).

public subroutine atl_eqn_rans_prim2cons_elems(equation, instate, outstate, nElems)

Convert primitive varibales to conservative variables.

Read more…

Arguments

Type IntentOptional Attributes Name
class(atl_Equations_type), intent(in) :: equation

Description of the equation system.

real(kind=rk), intent(inout) :: instate(:,:,:)

Primitive variables to convert.

real(kind=rk), intent(out), optional :: outstate(:,:,:)

Converted variables.

integer, intent(in) :: nElems

Number of elements to act on (first index in the state arrays).

public subroutine atl_eqn_rans_2d_cons2prim_elems(equation, instate, outstate, nElems)

Convert conservative to primitive variables.

Read more…

Arguments

Type IntentOptional Attributes Name
class(atl_Equations_type), intent(in) :: equation

Description of the equation system.

real(kind=rk), intent(inout) :: instate(:,:,:)

Primitive variables to convert. If outstate is not provided, conversion will take in place of instate.

real(kind=rk), intent(out), optional :: outstate(:,:,:)

Converted variables.

integer, intent(in) :: nElems

Number of elements to act on (first index in the state arrays).

public subroutine atl_eqn_rans_2d_prim2cons_elems(equation, instate, outstate, nElems)

Convert primitive varibales to conservative variables.

Read more…

Arguments

Type IntentOptional Attributes Name
class(atl_Equations_type), intent(in) :: equation

Description of the equation system.

real(kind=rk), intent(inout) :: instate(:,:,:)

Primitive variables to convert.

real(kind=rk), intent(out), optional :: outstate(:,:,:)

Converted variables.

integer, intent(in) :: nElems

Number of elements to act on (first index in the state arrays).

private subroutine atl_derivePressure(fun, varSys, tree, iElem, elempos, nodalInput, nodalRes)

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.

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

global treelm mesh info

integer, intent(in) :: iElem

The Current element index

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

TreeID of the element to get the variable for.

type(atl_derive_inputVar_type) :: nodalInput(:)

The input data. nodalInput contains one entry for each input variable. This entry itself contains the nodal data for the dofs and components of the input variable. These nodal data has to be gained by oversampling and projecting the modal state into nodal space.

real(kind=rk), allocatable :: nodalRes(:,:)

The result in nodal space