atl_derivePressure Subroutine

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

Arguments

TypeIntentOptionalAttributesName
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


Contents


Variables

TypeVisibilityAttributesNameInitial
type(atl_varSys_data_type), private, pointer:: fPtr
integer, private, parameter:: density =1
integer, private, parameter:: momentum =2
integer, private, parameter:: energy =3
integer, private, parameter:: turbulent_KE =4