prghUniformTotalPressureFvPatchScalarField: Added p_rgh variant of the time-varying uniform pressure BC

Patch contributed by Stanislau Stasheuski, Aalto University.
This commit is contained in:
Henry Weller
2023-12-22 12:20:46 +00:00
parent 73a3fbe446
commit 602347f6c1
2 changed files with 5 additions and 2 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2018-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2018-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -26,6 +26,7 @@ License
#include "PrghPressureFvPatchScalarField.H"
#include "pressureFvPatchScalarField.H"
#include "totalPressureFvPatchScalarField.H"
#include "uniformTotalPressureFvPatchScalarField.H"
#include "entrainmentPressureFvPatchScalarField.H"
#include "uniformDensityHydrostaticPressureFvPatchScalarField.H"
@ -37,6 +38,8 @@ namespace Foam
makePrghPatchScalarField(totalPressure, prghTotalPressure)
makePrghPatchScalarField(uniformTotalPressure, prghUniformTotalPressure)
makePrghPatchScalarField(entrainmentPressure, prghEntrainmentPressure)
makePrghPatchScalarField

View File

@ -44,7 +44,7 @@ Usage
<patchName>
{
type uniformTotalPressure;
p0 uniform 1e5;
p0 1e5;
}
\endverbatim