Skip to content

Commit

Permalink
prghUniformTotalPressureFvPatchScalarField: Added p_rgh variant of th…
Browse files Browse the repository at this point in the history
…e time-varying uniform pressure BC

Patch contributed by Stanislau Stasheuski, Aalto University.
  • Loading branch information
Henry Weller committed Dec 22, 2023
1 parent 73a3fbe commit 602347f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -26,6 +26,7 @@ License
#include "PrghPressureFvPatchScalarField.H"
#include "pressureFvPatchScalarField.H"
#include "totalPressureFvPatchScalarField.H"
#include "uniformTotalPressureFvPatchScalarField.H"
#include "entrainmentPressureFvPatchScalarField.H"
#include "uniformDensityHydrostaticPressureFvPatchScalarField.H"

Expand All @@ -37,6 +38,8 @@ namespace Foam

makePrghPatchScalarField(totalPressure, prghTotalPressure)

makePrghPatchScalarField(uniformTotalPressure, prghUniformTotalPressure)

makePrghPatchScalarField(entrainmentPressure, prghEntrainmentPressure)

makePrghPatchScalarField
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Usage
<patchName>
{
type uniformTotalPressure;
p0 uniform 1e5;
p0 1e5;
}
\endverbatim
Expand Down

0 comments on commit 602347f

Please sign in to comment.