https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PCNSFVHLLCSpecifiedPressureBC.C
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
11#include "NS.h"
12#include "Function.h"
14
17{
18 auto params = PCNSFVHLLCBC::validParams();
19 params.addRequiredParam<FunctionName>(NS::pressure, "A function for the pressure");
20 return params;
21}
22
24 : PCNSFVHLLCBC(parameters), _pressure_boundary_function(getFunction(NS::pressure))
25{
26}
27
28void
const FaceInfo * _face_info
ADRealVectorValue _normal
const unsigned int _qp
const Point & faceCentroid() const
virtual Real value(Real t, const Point &p) const
Base clase for HLLC boundary conditions for the Euler equation.
static InputParameters validParams()
const ADMaterialProperty< RealVectorValue > & _vel_elem
ADReal _rho_et_boundary
ADReal _normal_speed_boundary
these quantities must be computed in preComputeWaveSpeed
ADReal _rho_boundary
ADReal _specific_internal_energy_boundary
ADRealVectorValue _vel_boundary
const SinglePhaseFluidProperties & _fluid
fluid properties
const ADMaterialProperty< Real > & _rho_elem
const MaterialProperty< Real > & _eps_elem
ADReal _et_boundary
ADReal _pressure_boundary
ADReal _ht_boundary
PCNSFVHLLCSpecifiedPressureBC(const InputParameters &parameters)
void preComputeWaveSpeed() override
this function is a call back for setting quantities for computing wave speed before calling the wave ...
Real & _t
static const std::string pressure
Definition NS.h:57