https://mooseframework.inl.gov
navier_stokes
src
linearfvbcs
LinearFVExtrapolatedPressureBC.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
10
#include "
LinearFVExtrapolatedPressureBC.h
"
11
12
registerMooseObject
(
"NavierStokesApp"
,
LinearFVExtrapolatedPressureBC
);
13
14
InputParameters
15
LinearFVExtrapolatedPressureBC::validParams
()
16
{
17
InputParameters
params =
LinearFVAdvectionDiffusionExtrapolatedBC::validParams
();
18
params.
addClassDescription
(
19
"Adds a boundary condition which can be used to extrapolate pressure values to the boundary "
20
"using either a two-term or a one-term expansion."
);
21
return
params;
22
}
23
24
LinearFVExtrapolatedPressureBC::LinearFVExtrapolatedPressureBC
(
const
InputParameters
& parameters)
25
:
LinearFVAdvectionDiffusionExtrapolatedBC
(parameters)
26
{
27
}
28
29
Real
30
LinearFVExtrapolatedPressureBC::computeBoundaryGradientMatrixContribution
()
const
31
{
32
return
0;
33
}
34
35
Real
36
LinearFVExtrapolatedPressureBC::computeBoundaryGradientRHSContribution
()
const
37
{
38
return
0;
39
}
LinearFVExtrapolatedPressureBC
Class implementing an extrapolated boundary condition for linear finite volume pressure variables...
Definition:
LinearFVExtrapolatedPressureBC.h:24
LinearFVAdvectionDiffusionExtrapolatedBC::validParams
static InputParameters validParams()
LinearFVExtrapolatedPressureBC::LinearFVExtrapolatedPressureBC
LinearFVExtrapolatedPressureBC(const InputParameters ¶meters)
Class constructor.
Definition:
LinearFVExtrapolatedPressureBC.C:24
InputParameters
LinearFVExtrapolatedPressureBC.h
LinearFVExtrapolatedPressureBC::computeBoundaryGradientMatrixContribution
virtual Real computeBoundaryGradientMatrixContribution() const override
These will ensure that the linear system will see one-term expansion only.
Definition:
LinearFVExtrapolatedPressureBC.C:30
Real
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
LinearFVExtrapolatedPressureBC::validParams
static InputParameters validParams()
Definition:
LinearFVExtrapolatedPressureBC.C:15
registerMooseObject
registerMooseObject("NavierStokesApp", LinearFVExtrapolatedPressureBC)
LinearFVAdvectionDiffusionExtrapolatedBC
InputParameters::addClassDescription
void addClassDescription(const std::string &doc_string)
LinearFVExtrapolatedPressureBC::computeBoundaryGradientRHSContribution
virtual Real computeBoundaryGradientRHSContribution() const override
Definition:
LinearFVExtrapolatedPressureBC.C:36
Generated on Thu Jul 17 2025 01:44:05 for https://mooseframework.inl.gov by
1.8.14