limitPressure, limitTemperature: added example fvConstraints

This commit is contained in:
Chris Greenshields
2021-08-24 15:19:40 +01:00
parent a33a4d73b1
commit b8fbdd7523
3 changed files with 53 additions and 2 deletions

View File

@ -0,0 +1,29 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class dictionary;
object limitPressure;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
limitp
{
type limitPressure;
// limits can be specified absolute
// min 200;
// max 500;
// ... or as multipliers on initial min/max values
minFactor 0.1;
maxFactor 1.5;
}
//************************************************************************** //

View File

@ -0,0 +1,24 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class dictionary;
object limitTemperature;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
limitT
{
type limitTemperature;
min 200;
max 6000;
selectionMode all;
}
//************************************************************************** //

View File

@ -42,8 +42,6 @@ SIMPLE
}
nNonOrthogonalCorrectors 0;
pMinFactor 0.1;
pMaxFactor 1.5;
}
relaxationFactors