www.mooseframework.org
CNSFVHLLCInflowOutflowBoundaryFlux.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 CNSFVHLLCINFLOWOUTFLOWBOUNDARYFLUX_H
9 #define CNSFVHLLCINFLOWOUTFLOWBOUNDARYFLUX_H
10 
11 #include "BoundaryFluxBase.h"
13 
14 // Forward Declarations
16 
17 template <>
19 
25 {
26 public:
27  CNSFVHLLCInflowOutflowBoundaryFlux(const InputParameters & parameters);
29 
30  virtual void calcFlux(unsigned int iside,
31  dof_id_type ielem,
32  const std::vector<Real> & uvec1,
33  const RealVectorValue & dwave,
34  std::vector<Real> & flux) const;
35 
36  virtual void calcJacobian(unsigned int iside,
37  dof_id_type ielem,
38  const std::vector<Real> & uvec1,
39  const RealVectorValue & dwave,
40  DenseMatrix<Real> & jac1) const;
41 
42 protected:
44 
45  Real _inf_rho;
46  Real _inf_uadv;
47  Real _inf_vadv;
48  Real _inf_wadv;
49  Real _inf_pres;
50 };
51 
52 #endif
virtual void calcFlux(unsigned int iside, dof_id_type ielem, const std::vector< Real > &uvec1, const RealVectorValue &dwave, std::vector< Real > &flux) const
Solve the Riemann problem on the boundary face.
A base class for computing/caching fluxes at boundaries.
A user object that computes inflow/outflow boundary flux using the HLLC approximate Riemann solver...
virtual void calcJacobian(unsigned int iside, dof_id_type ielem, const std::vector< Real > &uvec1, const RealVectorValue &dwave, DenseMatrix< Real > &jac1) const
Compute the Jacobian matrix on the boundary face.
Common class for single phase fluid properties.
InputParameters validParams< CNSFVHLLCInflowOutflowBoundaryFlux >()
CNSFVHLLCInflowOutflowBoundaryFlux(const InputParameters &parameters)