https://mooseframework.inl.gov
thermal_hydraulics
include
base
THMIndices3Eqn.h
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://mooseframework.inl.gov
3
//*
4
//* All rights reserved, see COPYRIGHT for full restrictions
5
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6
//*
7
//* Licensed under LGPL 2.1, please see LICENSE for details
8
//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10
#pragma once
11
12
namespace
THM3Eqn
13
{
15
static
const
unsigned
int
N_CONS_VAR
= 4;
17
enum
VariableIndex
18
{
19
CONS_VAR_RHOA
= 0,
20
CONS_VAR_RHOUA
= 1,
21
CONS_VAR_RHOEA
= 2,
22
CONS_VAR_AREA
= 3
23
};
24
26
static
const
unsigned
int
N_EQ
= 3;
28
enum
EquationIndex
29
{
30
EQ_MASS
= 0,
31
EQ_MOMENTUM
= 1,
32
EQ_ENERGY
= 2
33
};
34
35
// Number of primitive variables
36
static
const
unsigned
int
N_PRIM_VAR
= 3;
38
enum
PrimitiveVariableIndex
39
{
40
PRIM_VAR_PRESSURE
= 0,
41
PRIM_VAR_VELOCITY
= 1,
42
PRIM_VAR_TEMPERATURE
= 2
43
};
44
}
THM3Eqn::EQ_ENERGY
Definition:
THMIndices3Eqn.h:32
THM3Eqn::CONS_VAR_RHOEA
Definition:
THMIndices3Eqn.h:21
THM3Eqn::VariableIndex
VariableIndex
Indices for conservative solution variables, plus cross-sectional area.
Definition:
THMIndices3Eqn.h:17
THM3Eqn::EquationIndex
EquationIndex
Indices for equations.
Definition:
THMIndices3Eqn.h:28
THM3Eqn::EQ_MASS
Definition:
THMIndices3Eqn.h:30
THM3Eqn::PrimitiveVariableIndex
PrimitiveVariableIndex
Indices for primitive variables.
Definition:
THMIndices3Eqn.h:38
THM3Eqn::PRIM_VAR_VELOCITY
Definition:
THMIndices3Eqn.h:41
THM3Eqn::N_EQ
static const unsigned int N_EQ
Number of equations.
Definition:
THMIndices3Eqn.h:26
THM3Eqn::PRIM_VAR_PRESSURE
Definition:
THMIndices3Eqn.h:40
THM3Eqn::EQ_MOMENTUM
Definition:
THMIndices3Eqn.h:31
THM3Eqn::CONS_VAR_RHOUA
Definition:
THMIndices3Eqn.h:20
THM3Eqn::N_PRIM_VAR
static const unsigned int N_PRIM_VAR
Definition:
THMIndices3Eqn.h:36
THM3Eqn::CONS_VAR_AREA
Definition:
THMIndices3Eqn.h:22
THM3Eqn::PRIM_VAR_TEMPERATURE
Definition:
THMIndices3Eqn.h:42
THM3Eqn
Definition:
THMIndices3Eqn.h:12
THM3Eqn::CONS_VAR_RHOA
Definition:
THMIndices3Eqn.h:19
THM3Eqn::N_CONS_VAR
static const unsigned int N_CONS_VAR
Number of solution variables, plus cross-sectional area.
Definition:
THMIndices3Eqn.h:15
Generated on Thu Jul 17 2025 01:44:49 for https://mooseframework.inl.gov by
1.8.14