www.mooseframework.org
NSThermalBC.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef NSTHERMALBC_H
8 #define NSTHERMALBC_H
9 
10 #include "NodalBC.h"
11 
12 // Forward Declarations
13 class NSThermalBC;
15 
16 template <>
17 InputParameters validParams<NSThermalBC>();
18 
19 class NSThermalBC : public NodalBC
20 {
21 public:
22  NSThermalBC(const InputParameters & parameters);
23 
24 protected:
25  // Computes the temperature based on ideal gas equation of state,
26  // the total energy, and the velocity: T = e_i/c_v
27  virtual Real computeQpResidual();
28 
29  unsigned int _rho_var;
30  const VariableValue & _rho;
31 
32  Real _initial;
33  Real _final;
34  Real _duration;
35 
36  // Fluid properties
38 };
39 
40 #endif // NSTHERMALBC_H
Real _initial
Definition: NSThermalBC.h:32
virtual Real computeQpResidual()
Definition: NSThermalBC.C:43
Real _duration
Definition: NSThermalBC.h:34
const VariableValue & _rho
Definition: NSThermalBC.h:30
const IdealGasFluidProperties & _fp
Definition: NSThermalBC.h:37
InputParameters validParams< NSThermalBC >()
Definition: NSThermalBC.C:17
unsigned int _rho_var
Definition: NSThermalBC.h:29
Ideal gas fluid properties.
NSThermalBC(const InputParameters &parameters)
Definition: NSThermalBC.C:31