www.mooseframework.org
Functions
CNSFVBC.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< CNSFVBC > ()
 

Function Documentation

template<>
InputParameters validParams< CNSFVBC > ( )

Definition at line 12 of file CNSFVBC.C.

13 {
14  InputParameters params = validParams<IntegratedBC>();
15 
16  params.addClassDescription("A boundary condition object for the CNS equations.");
17 
18  MooseEnum component("mass x-momentum y-momentum z-momentum total-energy");
19 
20  params.addParam<MooseEnum>("component", component, "Choose one of the conservation equations");
21 
22  params.addRequiredCoupledVar("rho", "Conserved variable: rho");
23 
24  params.addRequiredCoupledVar("rhou", "Conserved variable: rhou");
25 
26  params.addCoupledVar("rhov", "Conserved variable: rhov");
27 
28  params.addCoupledVar("rhow", "Conserved variable: rhow");
29 
30  params.addRequiredCoupledVar("rhoe", "Conserved variable: rhoe");
31 
32  params.addRequiredParam<UserObjectName>("flux", "The name of boundary flux object to use");
33 
34  return params;
35 }
Real component(const SymmTensor &symm_tensor, unsigned int index)