www.mooseframework.org
CNSFVBC.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 
8 #ifndef CNSFVBC_H
9 #define CNSFVBC_H
10 
11 #include "IntegratedBC.h"
12 #include "BoundaryFluxBase.h"
13 
14 // Forward Declarations
15 class CNSFVBC;
16 
17 template <>
18 InputParameters validParams<CNSFVBC>();
19 
42 class CNSFVBC : public IntegratedBC
43 {
44 public:
45  CNSFVBC(const InputParameters & parameters);
46  virtual ~CNSFVBC() {}
47 
48 protected:
49  virtual Real computeQpResidual();
50  virtual Real computeQpJacobian();
51  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
52 
54  MooseEnum _component;
55 
58 
60  const VariableValue & _rhoc1;
61  const VariableValue & _rhouc1;
62  const VariableValue & _rhovc1;
63  const VariableValue & _rhowc1;
64  const VariableValue & _rhoec1;
65 
67  const MaterialProperty<Real> & _rho1;
68  const MaterialProperty<Real> & _rhou1;
69  const MaterialProperty<Real> & _rhov1;
70  const MaterialProperty<Real> & _rhow1;
71  const MaterialProperty<Real> & _rhoe1;
72 
75 
76  unsigned int _rho_var;
77  unsigned int _rhou_var;
78  unsigned int _rhov_var;
79  unsigned int _rhow_var;
80  unsigned int _rhoe_var;
81 
82  std::map<unsigned int, unsigned int> _jmap;
83 };
84 
85 #endif
const VariableValue & _rhowc1
Definition: CNSFVBC.h:63
A boundary condition object for the CNS equations.
Definition: CNSFVBC.h:42
const MaterialProperty< Real > & _rho1
extrapolated variable values at side center
Definition: CNSFVBC.h:67
unsigned int _rhoe_var
Definition: CNSFVBC.h:80
const MaterialProperty< Real > & _rhoe1
Definition: CNSFVBC.h:71
A base class for computing/caching fluxes at boundaries.
std::map< unsigned int, unsigned int > _jmap
Definition: CNSFVBC.h:82
const BoundaryFluxBase & _flux
fluid properties object
Definition: CNSFVBC.h:74
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
Definition: CNSFVBC.C:98
const MaterialProperty< Real > & _rhow1
Definition: CNSFVBC.h:70
const VariableValue & _rhoec1
Definition: CNSFVBC.h:64
const MaterialProperty< Real > & _rhov1
Definition: CNSFVBC.h:69
CNSFVBC(const InputParameters &parameters)
Definition: CNSFVBC.C:37
MooseEnum _component
choose an equation
Definition: CNSFVBC.h:54
virtual Real computeQpJacobian()
Definition: CNSFVBC.C:85
unsigned int _rhov_var
Definition: CNSFVBC.h:78
const VariableValue & _rhouc1
Definition: CNSFVBC.h:61
unsigned int _rhou_var
Definition: CNSFVBC.h:77
InputParameters validParams< CNSFVBC >()
Definition: CNSFVBC.C:12
unsigned int _rhow_var
Definition: CNSFVBC.h:79
unsigned int _rho_var
Definition: CNSFVBC.h:76
const MaterialProperty< Real > & _rhou1
Definition: CNSFVBC.h:68
virtual Real computeQpResidual()
Definition: CNSFVBC.C:65
virtual ~CNSFVBC()
Definition: CNSFVBC.h:46
const VariableValue & _rhoc1
"1" denotes the "host" state "2" denotes the "ghost" state
Definition: CNSFVBC.h:60
const VariableValue & _rhovc1
Definition: CNSFVBC.h:62