mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Function1: Rationalized construction to support the simpler sub-dictionary format
e.g.
ramp
{
type quadratic;
start 200;
duration 1.6;
}
but the old format is supported for backward compatibility:
ramp linear;
rampCoeffs
{
start 200;
duration 1.6;
}
This commit is contained in:
@ -133,7 +133,7 @@ int main(int argc, char *argv[])
|
||||
#include "createFields.H"
|
||||
|
||||
Info<< "Reading data file" << endl;
|
||||
Function1Types::CSV<scalar> pData("pressure", dict, "Data");
|
||||
Function1Types::CSV<scalar> pData("pressure", dict.subDict("pressureData"));
|
||||
|
||||
// time history data
|
||||
const scalarField t(pData.x());
|
||||
|
||||
Reference in New Issue
Block a user