TUT: reduce the number of postProcessing files

This commit is contained in:
Kutalmis Bercin
2021-06-21 16:25:19 +01:00
committed by Sergio Ferraris
parent 57304aeaf6
commit 6eae29aa1d
62 changed files with 166 additions and 186 deletions

View File

@ -0,0 +1,9 @@
#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
#------------------------------------------------------------------------------
(cd steadyState && ./Allclean)
(cd transient && ./Allclean)
#------------------------------------------------------------------------------

View File

@ -1,6 +1,5 @@
#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
(cd steadyState && ./Allrun)

View File

@ -0,0 +1,8 @@
#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
#------------------------------------------------------------------------------
cleanCase0
#------------------------------------------------------------------------------

View File

@ -31,11 +31,10 @@ vertices
blocks
(
hex (0 1 2 3 4 5 6 7) (200 160 80) simpleGrading (1 ((0.5 0.5 100)(0.5 0.5 0.01)) 1)
hex (0 1 2 3 4 5 6 7) (200 160 80)
simpleGrading (1 ((0.5 0.5 100)(0.5 0.5 0.01)) 1)
);
edges #codeStream
{
codeInclude

View File

@ -105,12 +105,17 @@ functions
{
type sets;
libs (sampling);
writeControl writeTime;
timeStart 1500.5; // approx 2x flow-throughs
interpolationScheme cellPoint;
setFormat raw;
executeControl onEnd;
writeControl onEnd;
setFormat raw;
fields
(
U
columnAverage:columnAverage(UMean)
columnAverage:columnAverage(UPrime2Mean)
);
sets
(
@ -185,14 +190,6 @@ functions
end (0.224 1 0.063);
}
);
fields
(
U
columnAverage:columnAverage(UMean)
columnAverage:columnAverage(UPrime2Mean)
);
}
}

View File

@ -14,7 +14,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
libs (turbulenceModelSchemes);
libs (turbulenceModelSchemes);
application pimpleFoam;
@ -54,6 +54,7 @@ functions
libs (fieldFunctionObjects);
fields (U p);
}
DESField
{
// Mandatory entries

View File

@ -16,7 +16,7 @@ FoamFile
type sets;
libs (sampling);
writeControl writeTime;
writeControl onEnd;
interpolationScheme cellPoint;
setFormat raw;

View File

@ -80,8 +80,8 @@ functions
log true;
timeStart 100;
timeEnd 1000;
executeControl timeStep;
executeInterval 1;
executeControl runTime;
executeInterval 10;
}
curlePoint
@ -108,8 +108,8 @@ functions
log true;
timeStart 100;
timeEnd 1000;
executeControl timeStep;
executeInterval 1;
executeControl runTime;
executeInterval 10;
}
cuttingPlane

View File

@ -18,7 +18,7 @@ ensightWrite
overwrite true;
writeControl writeTime;
writeControl onEnd;
consecutive false;
}

View File

@ -11,7 +11,7 @@
// Timing
_visualization
{
writeControl writeTime;
writeControl onEnd;
// enabled true;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -69,7 +68,6 @@ functions
(0.1524 0.0253 0)
(0.1778 0.0253 0)
);
}
fieldAverage1
@ -101,7 +99,7 @@ functions
{
type surfaces;
libs (sampling);
writeControl writeTime;
writeControl onEnd;
interpolationScheme cellPoint;

View File

@ -99,7 +99,7 @@ functions
{
type surfaces;
libs (sampling);
writeControl writeTime;
writeControl onEnd;
interpolationScheme cellPoint;

View File

@ -1,7 +1,7 @@
type sets;
libs (sampling);
writeControl writeTime;
writeControl onEnd;
interpolationScheme cellPoint;