www.mooseframework.org
CNSFVCharacteristicBCUserObject.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 CNSFVCHARACTERISTICBCUSEROBJECT_H
9 #define CNSFVCHARACTERISTICBCUSEROBJECT_H
10 
11 #include "BCUserObject.h"
13 
15 
16 template <>
18 
23 {
24 public:
25  CNSFVCharacteristicBCUserObject(const InputParameters & parameters);
26 
27  virtual std::vector<Real> getGhostCellValue(unsigned int iside,
28  dof_id_type ielem,
29  const std::vector<Real> & uvec1,
30  const RealVectorValue & dwave) const;
31 
32 protected:
34 
35  Real _inf_rho;
36  Real _inf_uadv;
37  Real _inf_vadv;
38  Real _inf_wadv;
39  Real _inf_pres;
40 };
41 
42 #endif
const SinglePhaseFluidProperties & _fp
InputParameters validParams< CNSFVCharacteristicBCUserObject >()
Common class for single phase fluid properties.
CNSFVCharacteristicBCUserObject(const InputParameters &parameters)
A user object that computes the ghost cell values based on the characteristic boundary condition...
A base class of user object for calculating the variable values in ghost element according to specifi...
Definition: BCUserObject.h:42
virtual std::vector< Real > getGhostCellValue(unsigned int iside, dof_id_type ielem, const std::vector< Real > &uvec1, const RealVectorValue &dwave) const
compute the ghost cell variable values