https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ADNumericalFlux3EqnCentered.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
14
20{
21public:
23
24 virtual void calcFlux(const std::vector<ADReal> & U1,
25 const std::vector<ADReal> & U2,
26 const RealVectorValue & nLR,
27 const RealVectorValue & t1,
28 const RealVectorValue & t2,
29 std::vector<ADReal> & FL,
30 std::vector<ADReal> & FR) const override;
31
32 virtual unsigned int getNumberOfRegions() const override { return 1; }
33
34protected:
35 std::vector<ADReal> computeFlux(const std::vector<ADReal> & U,
36 const RealVectorValue & n,
37 const RealVectorValue & t1,
38 const RealVectorValue & t2) const;
39
42
43public:
45};
Base class for computing numerical fluxes for FlowModelSinglePhase.
Computes internal side flux for the 1-D, 1-phase, variable-area Euler equations using a centered aver...
virtual void calcFlux(const std::vector< ADReal > &U1, const std::vector< ADReal > &U2, const RealVectorValue &nLR, const RealVectorValue &t1, const RealVectorValue &t2, std::vector< ADReal > &FL, std::vector< ADReal > &FR) const override
Calculates the 3D flux vectors given "left" and "right" states.
virtual unsigned int getNumberOfRegions() const override
Returns the total possible number of regions.
std::vector< ADReal > computeFlux(const std::vector< ADReal > &U, const RealVectorValue &n, const RealVectorValue &t1, const RealVectorValue &t2) const
const SinglePhaseFluidProperties & _fp
fluid properties user object
const InputParameters & parameters() const
Common class for single phase fluid properties.