www.mooseframework.org
NSIntegratedBC.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 NSINTEGRATEDBC_H
8 #define NSINTEGRATEDBC_H
9 
10 #include "IntegratedBC.h"
11 
12 // Forward Declarations
13 class NSIntegratedBC;
15 
16 template <>
17 InputParameters validParams<NSIntegratedBC>();
18 
27 class NSIntegratedBC : public IntegratedBC
28 {
29 public:
30  NSIntegratedBC(const InputParameters & parameters);
31 
32 protected:
33  const VariableValue & _u_vel;
34  const VariableValue & _v_vel;
35  const VariableValue & _w_vel;
36 
37  const VariableValue & _rho;
38  const VariableValue & _rho_u;
39  const VariableValue & _rho_v;
40  const VariableValue & _rho_w;
41  const VariableValue & _rho_E;
42 
43  const VariableGradient & _grad_rho;
44  const VariableGradient & _grad_rho_u;
45  const VariableGradient & _grad_rho_v;
46  const VariableGradient & _grad_rho_w;
47  const VariableGradient & _grad_rho_E;
48 
49  unsigned _rho_var_number;
50  unsigned _rhou_var_number;
51  unsigned _rhov_var_number;
52  unsigned _rhow_var_number;
53  unsigned _rhoE_var_number;
54 
55  // Integrated BC can use Mat. properties...
56  const MaterialProperty<Real> & _dynamic_viscosity;
57  const MaterialProperty<RealTensorValue> & _viscous_stress_tensor; // Includes _dynamic_viscosity
58 
59  // Fluid properties
61 
62  // Helper functions for mapping Moose variable numberings into
63  // the "canonical" numbering for the compressible NS equations.
64  bool isNSVariable(unsigned var);
65  unsigned mapVarNumber(unsigned var);
66 };
67 
68 #endif // NSINTEGRATEDBC_H
unsigned _rhov_var_number
bool isNSVariable(unsigned var)
This class couples together all the variables for the compressible Navier-Stokes equations to allow t...
const VariableGradient & _grad_rho_w
const VariableValue & _rho_E
const VariableValue & _rho_w
const VariableValue & _w_vel
const VariableValue & _rho
unsigned _rhou_var_number
const VariableGradient & _grad_rho_u
NSIntegratedBC(const InputParameters &parameters)
const VariableGradient & _grad_rho_v
const MaterialProperty< RealTensorValue > & _viscous_stress_tensor
unsigned _rhow_var_number
unsigned _rho_var_number
unsigned _rhoE_var_number
const MaterialProperty< Real > & _dynamic_viscosity
const VariableGradient & _grad_rho_E
unsigned mapVarNumber(unsigned var)
InputParameters validParams< NSIntegratedBC >()
const VariableValue & _v_vel
const IdealGasFluidProperties & _fp
const VariableValue & _rho_u
const VariableGradient & _grad_rho
Ideal gas fluid properties.
const VariableValue & _u_vel
const VariableValue & _rho_v