mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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);
|
||||
}
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -59,8 +59,11 @@ functions
|
||||
type setTimeStep;
|
||||
libs (utilityFunctionObjects);
|
||||
enabled yes;
|
||||
deltaT tableFile;
|
||||
file "<system>/deltaTvalues";
|
||||
deltaT
|
||||
{
|
||||
type table;
|
||||
file "<system>/deltaTvalues";
|
||||
}
|
||||
}
|
||||
|
||||
minMaxp
|
||||
|
||||
Reference in New Issue
Block a user