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