www.mooseframework.org
CNSFVRiemannInvariantBoundaryFlux.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 CNSFVRIEMANNINVARIANTBOUNDARYFLUX_H
9 #define CNSFVRIEMANNINVARIANTBOUNDARYFLUX_H
10 
11 #include "BoundaryFluxBase.h"
12 #include "BCUserObject.h"
14 
15 // Forward Declarations
17 
18 template <>
20 
25 {
26 public:
27  CNSFVRiemannInvariantBoundaryFlux(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:
45 };
46 
47 #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.
CNSFVRiemannInvariantBoundaryFlux(const InputParameters &parameters)
A base class for computing/caching fluxes at boundaries.
Common class for single phase fluid properties.
InputParameters validParams< CNSFVRiemannInvariantBoundaryFlux >()
A base class of user object for calculating the variable values in ghost element according to specifi...
Definition: BCUserObject.h:42
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.
A user objec that computes the Riemann-invariant boundary flux.