www.mooseframework.org
NSThermalBC.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 #include "NodalBC.h"
13 
14 // Forward Declarations
16 
17 class NSThermalBC : public NodalBC
18 {
19 public:
21 
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;
31 
35 
36  // Fluid properties
38 };
Real _initial
Definition: NSThermalBC.h:32
virtual Real computeQpResidual()
Definition: NSThermalBC.C:46
Real _duration
Definition: NSThermalBC.h:34
const VariableValue & _rho
Definition: NSThermalBC.h:30
const IdealGasFluidProperties & _fp
Definition: NSThermalBC.h:37
OutputTools< Real >::VariableValue VariableValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
static InputParameters validParams()
Definition: NSThermalBC.C:20
unsigned int _rho_var
Definition: NSThermalBC.h:29
Ideal gas fluid properties Default parameters are for air at atmospheric pressure and temperature...
NSThermalBC(const InputParameters &parameters)
Definition: NSThermalBC.C:34