ENH: fanPressure - use fanCurve entry if present

- only use implicit legacy handling if the "fanCurve" entry is missing
  and the "file" entry is present.
This commit is contained in:
Mark Olesen
2020-09-28 10:35:45 +02:00
parent 245ac07312
commit aca4f077ac
3 changed files with 37 additions and 25 deletions

View File

@ -24,14 +24,17 @@ boundaryField
inlet
{
type fanPressure;
outOfBounds clamp;
direction in;
readerType openFoam;
file "<constant>/FluxVsdP.dat";
fanCurve tableFile;
fanCurveCoeffs
{
file "<constant>/FluxVsdP.dat";
// readerType openFoam; // Default
// outOfBounds clamp; // Default
}
//nonDimensional true;
//rpm 300;
//dm 2e-2;
outOfBounds clamp;
p0 uniform 30;
}
outlet1