https://mooseframework.inl.gov
INSADVaporRecoilPressureMomentumFluxBC.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 
13 
16 {
18  params.addClassDescription("Vapor recoil pressure momentum flux");
19  params.addParam<MaterialPropertyName>("rc_pressure_name", "rc_pressure", "The recoil pressure");
20  return params;
21 }
22 
24  const InputParameters & parameters)
25  : ADVectorIntegratedBC(parameters), _rc_pressure(getADMaterialProperty<Real>("rc_pressure_name"))
26 {
27 }
28 
29 ADReal
31 {
32  return _test[_i][_qp] * _normals[_qp] * _rc_pressure[_qp];
33 }
INSADVaporRecoilPressureMomentumFluxBC(const InputParameters &parameters)
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
registerMooseObject("NavierStokesApp", INSADVaporRecoilPressureMomentumFluxBC)
DualNumber< Real, DNDerivativeType, true > ADReal
static InputParameters validParams()
unsigned int _qp
const ADMaterialProperty< Real > & _rc_pressure
The recoil pressure.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const ADTemplateVariableTestValue< T > & _test
A class that imparts a surface recoil force on the momentum equation due to liquid phase evaporation...
void addClassDescription(const std::string &doc_string)
const MooseArray< ADPoint > & _normals