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