PhysicsStorage_NS Module

Constructor: Define default values for the physics variables.

Destructor: Does nothing for this storage

Descriptor: Shows the gathered data



Variables

Type Visibility Attributes Name Initial
logical, public :: flowIsNavierStokes = .true.
logical, public :: computeGradients = .true.

The sizes of the NS system

integer, public, parameter :: NCONS = 5

The positions of the conservative variables

integer, public, parameter :: NGRAD = 5

The positions of the conservative variables

integer, public, parameter :: IRHO = 1

The positions of the primitive variables

integer, public, parameter :: IRHOU = 2

The positions of the primitive variables

integer, public, parameter :: IRHOV = 3

The positions of the primitive variables

integer, public, parameter :: IRHOW = 4

The positions of the primitive variables

integer, public, parameter :: IRHOE = 5

The positions of the primitive variables

integer, public, parameter :: NPRIM = 7
integer, public, parameter :: IPIRHO = 1
integer, public, parameter :: IPU = 2
integer, public, parameter :: IPV = 3
integer, public, parameter :: IPW = 4
integer, public, parameter :: IPP = 5
integer, public, parameter :: IPT = 6
integer, public, parameter :: IPA2 = 7
real(kind=RP), protected :: TRef_Sutherland
real(kind=RP), protected :: S_Sutherland
real(kind=RP), public :: TemperatureReNormalization_Sutherland
real(kind=RP), public :: S_div_Tref_Sutherland
integer, public :: grad_vars = GRADVARS_STATE

Enumerations

enum, bind(c)

Enumerators

enumerator:: GRADVARS_STATE = 0
enumerator:: GRADVARS_ENTROPY = 1
enumerator:: GRADVARS_ENERGY = 2

Subroutines

public subroutine ConstructPhysicsStorage_NS(controlVariables, Lref, timeref, success)

Arguments

Type IntentOptional Attributes Name
type(FTValueDictionary) :: controlVariables
real(kind=RP), intent(in) :: Lref
real(kind=RP), intent(out) :: timeref
logical :: success

public subroutine DestructPhysicsStorage_NS()

Arguments

None

public subroutine DescribePhysicsStorage_NS()

Arguments

None

public subroutine CheckPhysicsNSInputIntegrity(controlVariables, success)

Arguments

Type IntentOptional Attributes Name
type(FTValueDictionary) :: controlVariables
logical :: success

public subroutine SetGradientVariables(grad_vars_)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: grad_vars_