https://mooseframework.inl.gov
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 
28 void
30 {
32 
33  // rho and vel implicit -> 1 + n_dim numerical bcs
36 
42 }
const FaceInfo * _face_info
static InputParameters validParams()
Definition: CNSFVHLLCBC.C:16
const Point & faceCentroid() const
void preComputeWaveSpeed() override
this function is a call back for setting quantities for computing wave speed before calling the wave ...
ADReal _pressure_boundary
const ADMaterialProperty< RealVectorValue > & _vel_elem
const ADMaterialProperty< Real > & _rho_elem
const unsigned int _qp
Real & _t
ADRealVectorValue _normal
ADReal _normal_speed_boundary
these quantities must be computed in preComputeWaveSpeed
CNSFVHLLCSpecifiedPressureBC(const InputParameters &parameters)
Base clase for HLLC boundary condition for Euler equation.
Definition: CNSFVHLLCBC.h:20
static const std::string pressure
Definition: NS.h:56
ADReal _specific_internal_energy_boundary
virtual Real value(Real t, const Point &p) const
ADRealVectorValue _vel_boundary
const SinglePhaseFluidProperties & _fluid
fluid properties