atl_append_euler_derivedVars Subroutine

public subroutine atl_append_euler_derivedVars(varSys, solverData)

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

Available quantities are:

  • speedOfsound: local speed of sound
  • temperature: temperature of the fluid
  • mach_number: local Mach number
  • mach_vector: local velocity vector scaled by the speed of sound
  • kinetic_energy: the kinetic energy of the fluid
  • gradv: gradient of the velocity field
  • vorticity: vorticity of the flow field
  • q_criterion: Q-Criterion (positive second invariant of velocity gradient tensor)
  • lambda2: Lambda 2 criterion: largest eigenvalue of shear and rotational contributions to the velocity gradient tensor.
  • linindicator: Indicator that is used to decide whether to just compute the linearized Euler flux in the element. This depends on the chosen linearization_indicator. It will be 1 in elements that are computed nonlinearly and 0 in elements where the linearized flux is used.

Arguments

TypeIntentOptionalAttributesName
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


Calls

proc~~atl_append_euler_derivedvars~~CallsGraph proc~atl_append_euler_derivedvars atl_append_euler_derivedVars proc~atl_get_new_varsys_data_ptr atl_get_new_varSys_data_ptr proc~atl_append_euler_derivedvars->proc~atl_get_new_varsys_data_ptr proc~tem_varsys_append_dervar tem_varSys_append_derVar proc~atl_append_euler_derivedvars->proc~tem_varsys_append_dervar proc~tem_get_new_varsys_data_ptr tem_get_new_varSys_data_ptr proc~atl_append_euler_derivedvars->proc~tem_get_new_varsys_data_ptr proc~tem_abort tem_abort proc~atl_append_euler_derivedvars->proc~tem_abort

Called by

proc~~atl_append_euler_derivedvars~~CalledByGraph proc~atl_append_euler_derivedvars atl_append_euler_derivedVars proc~atl_init_euler_vars atl_init_euler_vars proc~atl_init_euler_vars->proc~atl_append_euler_derivedvars proc~atl_eqn_euler_init atl_eqn_euler_init proc~atl_eqn_euler_init->proc~atl_init_euler_vars proc~atl_eqn_nvrstk_init atl_eqn_nvrstk_init proc~atl_eqn_nvrstk_init->proc~atl_init_euler_vars proc~atl_modg_kernel_utests atl_modg_kernel_utests proc~atl_modg_kernel_utests->proc~atl_init_euler_vars proc~atl_init_equation atl_init_equation proc~atl_init_equation->proc~atl_eqn_euler_init proc~atl_init_equation->proc~atl_eqn_nvrstk_init proc~atl_initialize atl_initialize proc~atl_initialize->proc~atl_init_equation

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: nDerivedVars
integer, private :: iVar
integer, private :: nComponents
character(len=20), private, allocatable:: derVarName(:)
character(len=labelLen), private, allocatable:: invar_name(:)
character(len=labelLen), private :: varname
logical, private :: wasAdded
procedure(tem_varSys_proc_point), private, pointer:: get_point=> NULL()
procedure(tem_varSys_proc_element), private, pointer:: get_element=> NULL()
procedure(tem_varSys_proc_setParams), private, pointer:: set_params=> NULL()
procedure(tem_varSys_proc_getParams), private, pointer:: get_params=> NULL()
procedure(tem_varSys_proc_setupIndices), private, pointer:: setup_indices=> NULL()
procedure(tem_varSys_proc_getValOfIndex), private, pointer:: get_valOfIndex=> NULL()
type(c_ptr), private :: method_data