www.mooseframework.org
NSInflowThermalBC.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 NSTHERMALINFLOWBC_H
8 #define NSTHERMALINFLOWBC_H
9 
10 // MOOSE includes
11 #include "NodalBC.h"
12 
13 // Forward Declarations
14 class NSInflowThermalBC;
16 
17 template <>
18 InputParameters validParams<NSInflowThermalBC>();
19 
24 class NSInflowThermalBC : public NodalBC
25 {
26 public:
27  NSInflowThermalBC(const InputParameters & parameters);
28 
29 protected:
30  // In general, the residual equation is u-u_d=0, where u_d
31  // is a Dirichlet value. Note that no computeQpJacobian()
32  // function can be specified in this class... it is assumed
33  // to simply have a 1 on the diagonal.
34  virtual Real computeQpResidual();
35 
36  // The specified density for this inflow boundary
37  const Real _specified_rho;
38 
39  // The specified temperature for this inflow boundary
41 
42  // The specified velocity magnitude for this inflow boundary
44 
45  // Fluid properties
47 };
48 
49 #endif // NSTHERMALINFLOWBC_H
const Real _specified_rho
const IdealGasFluidProperties & _fp
InputParameters validParams< NSInflowThermalBC >()
NSInflowThermalBC(const InputParameters &parameters)
This class is used on a boundary where the incoming flow values (rho, u, v, T) are all completely spe...
const Real _specified_velocity_magnitude
const Real _specified_temperature
Ideal gas fluid properties.
virtual Real computeQpResidual()