etc/caseDicts/postProcessing: Updated now that #includeFunc handles function arguments
This commit is contained in:
@ -32,7 +32,7 @@ Solution:
|
|||||||
sub-dictionary in the case controlDict file, e.g.
|
sub-dictionary in the case controlDict file, e.g.
|
||||||
functions
|
functions
|
||||||
{
|
{
|
||||||
#includeFunc flowRatePatch
|
#includeEtc "caseDicts/postProcessing/flowRate/flowRatePatch"
|
||||||
... other function objects here ...
|
... other function objects here ...
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#includeFunc faceSource.cfg
|
#includeEtc "caseDicts/postProcessing/faceSource/faceSource.cfg"
|
||||||
|
|
||||||
source faceZone;
|
source faceZone;
|
||||||
|
|
||||||
|
|||||||
@ -12,7 +12,7 @@ patchAverage
|
|||||||
fields (p);
|
fields (p);
|
||||||
|
|
||||||
operation average;
|
operation average;
|
||||||
#includeFunc patchSource.cfg;
|
#includeEtc "caseDicts/postProcessing/faceSource/patchSource.cfg;"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#includeFunc faceSource.cfg
|
#includeEtc "caseDicts/postProcessing/faceSource/faceSource.cfg"
|
||||||
|
|
||||||
source patch;
|
source patch;
|
||||||
sourceName $patch;
|
sourceName $patch;
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#includeFunc faceSource.cfg
|
#includeEtc "caseDicts/postProcessing/faceSource/faceSource.cfg"
|
||||||
|
|
||||||
source sampledSurface;
|
source sampledSurface;
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
randomise
|
randomise
|
||||||
{
|
{
|
||||||
#includeFunc "randomise.cfg"
|
#includeEtc "caseDicts/postProcessing/fields/randomise.cfg"
|
||||||
|
|
||||||
field <fieldName>;
|
field <fieldName>;
|
||||||
|
|
||||||
|
|||||||
@ -14,7 +14,7 @@ flowRatePatch
|
|||||||
{
|
{
|
||||||
patch <patchName>;
|
patch <patchName>;
|
||||||
|
|
||||||
#includeFunc flowRatePatch.cfg
|
#includeEtc "caseDicts/postProcessing/flowRate/flowRatePatch.cfg"
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#includeFunc patchSource.cfg
|
#includeEtc "caseDicts/postProcessing/flowRate/patchSource.cfg"
|
||||||
|
|
||||||
fields (phi);
|
fields (phi);
|
||||||
operation sum;
|
operation sum;
|
||||||
|
|||||||
@ -14,7 +14,7 @@ volFlowRateSurface
|
|||||||
{
|
{
|
||||||
triSurface <triSurfaceFile>;
|
triSurface <triSurfaceFile>;
|
||||||
|
|
||||||
#includeFunc volFlowRateSurface.cfg
|
#includeEtc "caseDicts/postProcessing/flowRate/volFlowRateSurface.cfg"
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#includeFunc surfaceSource.cfg
|
#includeEtc "caseDicts/postProcessing/flowRate/surfaceSource.cfg"
|
||||||
|
|
||||||
fields (U);
|
fields (U);
|
||||||
operation areaNormalIntegrate;
|
operation areaNormalIntegrate;
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#includeFunc forces.cfg
|
#includeEtc "caseDicts/postProcessing/forces/forces.cfg"
|
||||||
|
|
||||||
type forceCoeffs;
|
type forceCoeffs;
|
||||||
rhoInf 1; // Redundant for incompressible
|
rhoInf 1; // Redundant for incompressible
|
||||||
|
|||||||
@ -21,7 +21,7 @@ forceCoeffs
|
|||||||
CofR (0 0 0);
|
CofR (0 0 0);
|
||||||
pitchAxis (0 1 0);
|
pitchAxis (0 1 0);
|
||||||
|
|
||||||
#includeFunc forceCoeffsCompressible.cfg
|
#includeEtc "caseDicts/postProcessing/forces/forceCoeffsCompressible.cfg"
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -6,6 +6,6 @@
|
|||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#includeFunc forceCoeffs.cfg
|
#includeEtc "caseDicts/postProcessing/forces/forceCoeffs.cfg"
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -20,7 +20,7 @@ forceCoeffs
|
|||||||
CofR (0 0 0);
|
CofR (0 0 0);
|
||||||
pitchAxis (0 1 0);
|
pitchAxis (0 1 0);
|
||||||
|
|
||||||
#includeFunc forceCoeffs.cfg
|
#includeEtc "caseDicts/postProcessing/forces/forceCoeffs.cfg"
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -13,7 +13,7 @@ forces
|
|||||||
CofR (0 0 0);
|
CofR (0 0 0);
|
||||||
pitchAxis (0 1 0);
|
pitchAxis (0 1 0);
|
||||||
|
|
||||||
#includeFunc forcesCompressible.cfg
|
#includeEtc "caseDicts/postProcessing/forces/forcesCompressible.cfg"
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#includeFunc forces.cfg
|
#includeEtc "caseDicts/postProcessing/forces/forces.cfg"
|
||||||
|
|
||||||
rhoInf 1; // Redundant
|
rhoInf 1; // Redundant
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
forces
|
forces
|
||||||
{
|
{
|
||||||
#includeFunc forces.cfg
|
#includeEtc "caseDicts/postProcessing/forces/forces.cfg"
|
||||||
|
|
||||||
rhoInf 1.225; // Fluid density
|
rhoInf 1.225; // Fluid density
|
||||||
patches (patch1 patch2);
|
patches (patch1 patch2);
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#includeFunc sampleDict.cfg
|
#includeEtc "caseDicts/postProcessing/graphs/sampleDict.cfg"
|
||||||
|
|
||||||
sets
|
sets
|
||||||
(
|
(
|
||||||
|
|||||||
@ -12,10 +12,10 @@ graph
|
|||||||
end (1 1e-06 0);
|
end (1 1e-06 0);
|
||||||
fields (U p);
|
fields (U p);
|
||||||
|
|
||||||
#includeFunc sampleDict.cfg
|
#includeEtc "caseDicts/postProcessing/graphs/sampleDict.cfg"
|
||||||
|
|
||||||
// Must be last entry
|
// Must be last entry
|
||||||
#includeFunc graph.cfg
|
#includeEtc "caseDicts/postProcessing/graphs/graph.cfg"
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
cellMax
|
cellMax
|
||||||
{
|
{
|
||||||
#includeFunc cellMinMax.cfg
|
#includeEtc "caseDicts/postProcessing/minMax/cellMinMax.cfg"
|
||||||
|
|
||||||
fields (U p);
|
fields (U p);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
cellMin
|
cellMin
|
||||||
{
|
{
|
||||||
#includeFunc cellMin.cfg
|
#includeEtc "caseDicts/postProcessing/minMax/cellMin.cfg"
|
||||||
|
|
||||||
fields (U p);
|
fields (U p);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#includeFunc cellMinMax.cfg
|
#includeEtc "caseDicts/postProcessing/minMax/cellMinMax.cfg"
|
||||||
operation min;
|
operation min;
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
faceMax
|
faceMax
|
||||||
{
|
{
|
||||||
#includeFunc faceMinMax.cfg
|
#includeEtc "caseDicts/postProcessing/minMax/faceMinMax.cfg"
|
||||||
|
|
||||||
fields (U p);
|
fields (U p);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
faceMin
|
faceMin
|
||||||
{
|
{
|
||||||
#includeFunc faceMin.cfg
|
#includeEtc "caseDicts/postProcessing/minMax/faceMin.cfg"
|
||||||
|
|
||||||
fields (U p);
|
fields (U p);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#includeFunc faceMinMax.cfg
|
#includeEtc "caseDicts/postProcessing/minMax/faceMinMax.cfg"
|
||||||
operation min;
|
operation min;
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
minMaxComponents
|
minMaxComponents
|
||||||
{
|
{
|
||||||
#includeFunc minMaxComponents.cfg
|
#includeEtc "caseDicts/postProcessing/minMax/minMaxComponents.cfg"
|
||||||
|
|
||||||
mode components;
|
mode components;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#includeFunc fieldMinMax.cfg
|
#includeEtc "caseDicts/postProcessing/minMax/fieldMinMax.cfg"
|
||||||
mode components;
|
mode components;
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
minMaxMagnitude
|
minMaxMagnitude
|
||||||
{
|
{
|
||||||
#includeFunc fieldMinMax.cfg
|
#includeEtc "caseDicts/postProcessing/minMax/fieldMinMax.cfg"
|
||||||
|
|
||||||
fields (U p);
|
fields (U p);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
residuals
|
residuals
|
||||||
{
|
{
|
||||||
#includeFunc residuals.cfg
|
#includeEtc "caseDicts/postProcessing/numerical/residuals.cfg"
|
||||||
|
|
||||||
fields (p U);
|
fields (p U);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,13 +17,13 @@ log false;
|
|||||||
|
|
||||||
source1
|
source1
|
||||||
{
|
{
|
||||||
#includeFunc faceSource.cfg
|
#includeEtc "caseDicts/postProcessing/pressure/faceSource.cfg"
|
||||||
operation areaAverage;
|
operation areaAverage;
|
||||||
fields (p);
|
fields (p);
|
||||||
}
|
}
|
||||||
source2
|
source2
|
||||||
{
|
{
|
||||||
#includeFunc faceSource.cfg
|
#includeEtc "caseDicts/postProcessing/pressure/faceSource.cfg"
|
||||||
operation areaAverage;
|
operation areaAverage;
|
||||||
fields (p);
|
fields (p);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -11,7 +11,7 @@ pressureDifferencePatch
|
|||||||
patch1 <patch1>;
|
patch1 <patch1>;
|
||||||
patch2 <patch2>;
|
patch2 <patch2>;
|
||||||
|
|
||||||
#includeFunc pressureDifferencePatch.cfg
|
#includeEtc "caseDicts/postProcessing/pressure/pressureDifferencePatch.cfg"
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#includeFunc pressureDifference.cfg
|
#includeEtc "caseDicts/postProcessing/pressure/pressureDifference.cfg"
|
||||||
|
|
||||||
source1
|
source1
|
||||||
{
|
{
|
||||||
|
|||||||
@ -11,7 +11,7 @@ pressureDifferenceSurface
|
|||||||
triSurface1 <triSurface1>;
|
triSurface1 <triSurface1>;
|
||||||
triSurface2 <triSurface2>;
|
triSurface2 <triSurface2>;
|
||||||
|
|
||||||
#includeFunc pressureDifferenceSurface.cfg
|
#includeEtc "caseDicts/postProcessing/pressure/pressureDifferenceSurface.cfg"
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#includeFunc pressureDifference.cfg
|
#includeEtc "caseDicts/postProcessing/pressure/pressureDifference.cfg"
|
||||||
|
|
||||||
source1
|
source1
|
||||||
{
|
{
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
staticPressure
|
staticPressure
|
||||||
{
|
{
|
||||||
#includeFunc staticPressure.cfg
|
#includeEtc "caseDicts/postProcessing/pressure/staticPressure.cfg"
|
||||||
|
|
||||||
rhoInf 1.2; // Density to scale
|
rhoInf 1.2; // Density to scale
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#includeFunc pressure.cfg
|
#includeEtc "caseDicts/postProcessing/pressure/pressure.cfg"
|
||||||
|
|
||||||
calcTotal no;
|
calcTotal no;
|
||||||
calcCoeff no;
|
calcCoeff no;
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
totalPressure
|
totalPressure
|
||||||
{
|
{
|
||||||
#includeFunc totalPressureCompressible.cfg
|
#includeEtc "caseDicts/postProcessing/pressure/totalPressureCompressible.cfg"
|
||||||
|
|
||||||
pRef 0;
|
pRef 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#includeFunc pressure.cfg
|
#includeEtc "caseDicts/postProcessing/pressure/pressure.cfg"
|
||||||
|
|
||||||
calcTotal no;
|
calcTotal no;
|
||||||
calcCoeff no;
|
calcCoeff no;
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
totalPressure
|
totalPressure
|
||||||
{
|
{
|
||||||
#includeFunc totalPressureIncompressible.cfg
|
#includeEtc "caseDicts/postProcessing/pressure/totalPressureIncompressible.cfg"
|
||||||
|
|
||||||
pRef 0.0;
|
pRef 0.0;
|
||||||
rhoInf 1.2;
|
rhoInf 1.2;
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#includeFunc pressure.cfg
|
#includeEtc "caseDicts/postProcessing/pressure/pressure.cfg"
|
||||||
|
|
||||||
calcTotal yes;
|
calcTotal yes;
|
||||||
calcCoeff no;
|
calcCoeff no;
|
||||||
|
|||||||
@ -19,7 +19,7 @@ boundaryCloud
|
|||||||
|
|
||||||
patches (".*");
|
patches (".*");
|
||||||
|
|
||||||
#includeFunc boundaryCloud.cfg
|
#includeEtc "caseDicts/postProcessing/probes/boundaryCloud.cfg"
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#includeFunc cloud.cfg
|
#includeEtc "caseDicts/postProcessing/probes/cloud.cfg"
|
||||||
|
|
||||||
sets
|
sets
|
||||||
(
|
(
|
||||||
|
|||||||
@ -14,7 +14,7 @@ internalCloud
|
|||||||
(0 0 0)
|
(0 0 0)
|
||||||
);
|
);
|
||||||
|
|
||||||
#includeFunc internalCloud.cfg
|
#includeEtc "caseDicts/postProcessing/probes/internalCloud.cfg"
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
| \\/ M anipulation | |
|
| \\/ M anipulation | |
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#includeFunc cloud.cfg
|
#includeEtc "caseDicts/postProcessing/probes/cloud.cfg"
|
||||||
|
|
||||||
sets
|
sets
|
||||||
(
|
(
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
probes
|
probes
|
||||||
{
|
{
|
||||||
#includeFunc probes.cfg
|
#includeEtc "caseDicts/postProcessing/probes/probes.cfg"
|
||||||
|
|
||||||
fields (p U);
|
fields (p U);
|
||||||
probeLocations
|
probeLocations
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
T
|
T
|
||||||
{
|
{
|
||||||
#includeFunc scalarTransport.cfg
|
#includeEtc "caseDicts/postProcessing/scalarTransport/scalarTransport.cfg"
|
||||||
|
|
||||||
userDT true;
|
userDT true;
|
||||||
DT 1e-09;
|
DT 1e-09;
|
||||||
|
|||||||
@ -20,6 +20,6 @@ writeInterval 1e-2;
|
|||||||
// transportProperties settings
|
// transportProperties settings
|
||||||
DT DT [ 0 2 -1 0 0 0 0 ] 1e-9;
|
DT DT [ 0 2 -1 0 0 0 0 ] 1e-9;
|
||||||
|
|
||||||
#includeFunc scalarTransportDict.cfg
|
#includeEtc "caseDicts/postProcessing/scalarTransport/scalarTransportDict.cfg"
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -14,7 +14,7 @@ streamlines
|
|||||||
fields (U p);
|
fields (U p);
|
||||||
|
|
||||||
// Must be last entry
|
// Must be last entry
|
||||||
#includeFunc streamlines.cfg
|
#includeEtc "caseDicts/postProcessing/visualization/streamlines.cfg"
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
surfaces
|
surfaces
|
||||||
{
|
{
|
||||||
#includeFunc surfaces.cfg
|
#includeEtc "caseDicts/postProcessing/visualization/surfaces.cfg"
|
||||||
|
|
||||||
fields (p U);
|
fields (p U);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user