https://mooseframework.inl.gov
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 
28 void
30 {
33 
34  // rho and vel implicit -> 1 + n_dim numerical bcs
37 
43 }
const FaceInfo * _face_info
const SinglePhaseFluidProperties & _fluid
fluid properties
Definition: PCNSFVHLLCBC.h:51
const Point & faceCentroid() const
ADReal _rho_boundary
Definition: PCNSFVHLLCBC.h:75
Real _eps_boundary
Definition: PCNSFVHLLCBC.h:82
void preComputeWaveSpeed() override
this function is a call back for setting quantities for computing wave speed before calling the wave ...
Base clase for HLLC boundary conditions for the Euler equation.
Definition: PCNSFVHLLCBC.h:19
const ADMaterialProperty< RealVectorValue > & _vel_elem
Definition: PCNSFVHLLCBC.h:55
static InputParameters validParams()
Definition: PCNSFVHLLCBC.C:16
const unsigned int _qp
ADRealVectorValue _vel_boundary
Definition: PCNSFVHLLCBC.h:76
ADReal _specific_internal_energy_boundary
Definition: PCNSFVHLLCBC.h:77
ADReal _rho_et_boundary
Definition: PCNSFVHLLCBC.h:81
Real & _t
ADRealVectorValue _normal
ADReal _et_boundary
Definition: PCNSFVHLLCBC.h:80
ADReal _normal_speed_boundary
these quantities must be computed in preComputeWaveSpeed
Definition: PCNSFVHLLCBC.h:74
PCNSFVHLLCSpecifiedPressureBC(const InputParameters &parameters)
const ADMaterialProperty< Real > & _rho_elem
Definition: PCNSFVHLLCBC.h:57
static const std::string pressure
Definition: NS.h:56
ADReal _pressure_boundary
Definition: PCNSFVHLLCBC.h:78
virtual Real value(Real t, const Point &p) const
ADReal _ht_boundary
Definition: PCNSFVHLLCBC.h:79
const MaterialProperty< Real > & _eps_elem
Definition: PCNSFVHLLCBC.h:61