mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Standardized the naming of functions which control the writing of fields etc.
to have the prefix 'write' rather than 'output' So outputTime() -> writeTime() but 'outputTime()' is still supported for backward-compatibility. Also removed the redundant secondary-writing functionality from Time which has been superseded by the 'writeRegisteredObject' functionObject.
This commit is contained in:
@ -11,7 +11,7 @@ cuttingPlane
|
||||
type surfaces;
|
||||
functionObjectLibs ("libsampling.so");
|
||||
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
|
||||
surfaceFormat vtk;
|
||||
fields ( p U );
|
||||
|
||||
@ -15,7 +15,7 @@ Q
|
||||
type Q;
|
||||
|
||||
// Output every
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ surfaces
|
||||
{
|
||||
type surfaces;
|
||||
functionObjectLibs ("libsampling.so");
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
|
||||
surfaceFormat vtk;
|
||||
fields (p U Q);
|
||||
|
||||
@ -62,7 +62,7 @@ functions
|
||||
name probes;
|
||||
|
||||
// Write at same frequency as fields
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
writeInterval 1;
|
||||
|
||||
// Fields to be probed
|
||||
|
||||
@ -62,7 +62,7 @@ functions
|
||||
name probes;
|
||||
|
||||
// Write at same frequency as fields
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
writeInterval 1;
|
||||
|
||||
// Fields to be probed
|
||||
|
||||
@ -52,7 +52,7 @@ functions
|
||||
type fieldAverage;
|
||||
functionObjectLibs ( "libfieldFunctionObjects.so" );
|
||||
enabled true;
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
|
||||
fields
|
||||
(
|
||||
|
||||
@ -52,7 +52,7 @@ functions
|
||||
streamLines
|
||||
{
|
||||
type streamLine;
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
setFormat vtk;
|
||||
UName U;
|
||||
trackForward true;
|
||||
@ -74,7 +74,7 @@ functions
|
||||
{
|
||||
type surfaces;
|
||||
functionObjectLibs ( "libsampling.so" );
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
surfaceFormat vtk;
|
||||
fields ( p U );
|
||||
interpolationScheme cellPoint;
|
||||
|
||||
@ -10,7 +10,7 @@ cuttingPlane
|
||||
{
|
||||
type surfaces;
|
||||
functionObjectLibs ("libsampling.so");
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
|
||||
surfaceFormat vtk;
|
||||
fields ( p U );
|
||||
|
||||
@ -11,7 +11,7 @@ streamLines
|
||||
type streamLine;
|
||||
|
||||
// Output every
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
// writeInterval 10;
|
||||
|
||||
setFormat vtk; //gnuplot; //xmgr; //raw; //jplot; //csv; //ensight;
|
||||
|
||||
@ -78,7 +78,7 @@ functions
|
||||
type fieldAverage;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
enabled true;
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
|
||||
fields
|
||||
(
|
||||
@ -107,7 +107,7 @@ functions
|
||||
// Where to load it from (if not already in solver)
|
||||
functionObjectLibs ("libsampling.so");
|
||||
enabled true;
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
|
||||
interpolationScheme cellPoint;
|
||||
|
||||
|
||||
@ -78,7 +78,7 @@ functions
|
||||
type fieldAverage;
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
enabled true;
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
|
||||
fields
|
||||
(
|
||||
@ -107,7 +107,7 @@ functions
|
||||
// Where to load it from (if not already in solver)
|
||||
functionObjectLibs ("libsampling.so");
|
||||
enabled true;
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
|
||||
interpolationScheme cellPoint;
|
||||
|
||||
|
||||
@ -32,13 +32,6 @@ writeInterval 100;
|
||||
|
||||
purgeWrite 0;
|
||||
|
||||
|
||||
//- Uncomment to have regular (every 2 hours of run time) restart files
|
||||
//secondaryWriteControl cpuTime; // runtime
|
||||
//secondaryWriteInterval 7200; // seconds
|
||||
//secondaryPurgeWrite 1; // keep all but last dump
|
||||
|
||||
|
||||
writeFormat binary;
|
||||
|
||||
writePrecision 6;
|
||||
|
||||
@ -10,7 +10,7 @@ cuttingPlane
|
||||
{
|
||||
type surfaces;
|
||||
functionObjectLibs ("libsampling.so");
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
|
||||
surfaceFormat vtk;
|
||||
fields ( p U );
|
||||
|
||||
@ -14,7 +14,7 @@ streamLines
|
||||
type streamLine;
|
||||
|
||||
// Output every
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
// writeInterval 10;
|
||||
|
||||
setFormat vtk; //gnuplot; //xmgr; //raw; //jplot; //csv; //ensight;
|
||||
|
||||
@ -15,7 +15,7 @@ near
|
||||
type nearWallFields;
|
||||
|
||||
// Output every
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
|
||||
// Fields to be sampled. Per field original name and mapped field to
|
||||
// create.
|
||||
@ -40,7 +40,7 @@ wallBoundedStreamLines
|
||||
type wallBoundedStreamLine;
|
||||
|
||||
// Output every
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
|
||||
setFormat vtk; //gnuplot; //xmgr; //raw; //jplot;
|
||||
|
||||
|
||||
@ -55,7 +55,7 @@ functions
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
|
||||
// Output every
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
// writeInterval 10;
|
||||
|
||||
setFormat vtk; //gnuplot;//xmgr;//raw;//jplot;//csv;//ensight;
|
||||
|
||||
@ -55,7 +55,7 @@ functions
|
||||
functionObjectLibs ("libfieldFunctionObjects.so");
|
||||
|
||||
// Output every
|
||||
writeControl outputTime;
|
||||
writeControl writeTime;
|
||||
// writeInterval 10;
|
||||
|
||||
setFormat vtk; //gnuplot;//xmgr;//raw;//jplot;//csv;//ensight;
|
||||
|
||||
Reference in New Issue
Block a user