ENH: adjustments for Function1/PatchFunction1

- additional debug information

- improve support for dictionary specification of constant, polynomial
  and table entries. These previously only worked properly for
  primitiveEntry, which causes confusion.

- extend table Function1 to include TableFile functionality.
  Simplifies switching and modifying content.
This commit is contained in:
Mark Olesen
2021-04-20 11:15:41 +02:00
parent 0252b4d58d
commit 399c21d76c
39 changed files with 437 additions and 223 deletions

View File

@ -24,10 +24,10 @@ boundaryField
inlet
{
type flowRateInletVelocity;
massFlowRate tableFile;
massFlowRateCoeffs
massFlowRate
{
file "<constant>/massLossRate";
type table;
file "<constant>/massLossRate";
}
value uniform (0 0 0);
}

View File

@ -25,11 +25,10 @@ boundaryField
{
type fanPressure;
direction in;
fanCurve tableFile;
fanCurveCoeffs
fanCurve
{
file "<constant>/FluxVsdP.dat";
// readerType openFoam; // Default
type table;
file "<constant>/FluxVsdP.dat";
// outOfBounds clamp; // Default
}
//nonDimensional true;

View File

@ -59,8 +59,11 @@ functions
type setTimeStep;
libs (utilityFunctionObjects);
enabled yes;
deltaT tableFile;
file "<system>/deltaTvalues";
deltaT
{
type table;
file "<system>/deltaTvalues";
}
}
minMaxp