www.mooseframework.org
CNSFVHLLCInternalSideFlux.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 CNSFVHLLCINTERNALSIDEFLUX_H
9 #define CNSFVHLLCINTERNALSIDEFLUX_H
10 
11 #include "InternalSideFluxBase.h"
13 
14 // Forward Declarations
16 
17 template <>
19 
30 {
31 public:
32  CNSFVHLLCInternalSideFlux(const InputParameters & parameters);
34 
35  virtual void calcFlux(unsigned int iside,
36  dof_id_type ielem,
37  dof_id_type ineig,
38  const std::vector<Real> & uvec1,
39  const std::vector<Real> & uvec2,
40  const RealVectorValue & dwave,
41  std::vector<Real> & flux) const;
42 
43  virtual void calcJacobian(unsigned int iside,
44  dof_id_type ielem,
45  dof_id_type ineig,
46  const std::vector<Real> & uvec1,
47  const std::vector<Real> & uvec2,
48  const RealVectorValue & dwave,
49  DenseMatrix<Real> & jac1,
50  DenseMatrix<Real> & jac2) const;
51 
52 protected:
54 };
55 
56 #endif
InputParameters validParams< CNSFVHLLCInternalSideFlux >()
CNSFVHLLCInternalSideFlux(const InputParameters &parameters)
const SinglePhaseFluidProperties & _fp
Common class for single phase fluid properties.
virtual void calcJacobian(unsigned int iside, dof_id_type ielem, dof_id_type ineig, const std::vector< Real > &uvec1, const std::vector< Real > &uvec2, const RealVectorValue &dwave, DenseMatrix< Real > &jac1, DenseMatrix< Real > &jac2) const
Compute the Jacobian matrix.
A base class for computing and caching internal side flux.
virtual void calcFlux(unsigned int iside, dof_id_type ielem, dof_id_type ineig, const std::vector< Real > &uvec1, const std::vector< Real > &uvec2, const RealVectorValue &dwave, std::vector< Real > &flux) const
Solve the Riemann problem.
A user object that computes internal side flux using the HLLC approximate Riemann solver...