https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PCNSFVImplicitMomentumPressureBC.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
14
17{
20 "Specifies an implicit pressure at a boundary for the momentum equations.");
21 MooseEnum momentum_component("x=0 y=1 z=2");
23 "momentum_component",
24 momentum_component,
25 "The component of the momentum equation that this kernel applies to.");
26 return params;
27}
28
30 : FVFluxBC(params),
31 _pressure(getADMaterialProperty<Real>(NS::pressure)),
32 _eps(getMaterialProperty<Real>(NS::porosity)),
33 _index(getParam<MooseEnum>("momentum_component"))
34{
35}
36
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("NavierStokesApp", PCNSFVImplicitMomentumPressureBC)
ADRealVectorValue _normal
const unsigned int _qp
static InputParameters validParams()
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
Computes an implicit boundary flux for the term where denotes the conservation of momentum componen...
const ADMaterialProperty< Real > & _pressure
PCNSFVImplicitMomentumPressureBC(const InputParameters &params)