pitzDailySteady: Simplification

Some functions have been removed from this tutorial in order to simplify
the setup and permit its usage as a minimal example. The functions have
been moved to similar incompressibleFluid tutorials in order to ensure
that the test loop continues to confirm that the functions execute
successfully.
This commit is contained in:
Will Bainbridge
2024-06-25 12:59:58 +01:00
parent 81a3c90646
commit 4162fe070d
7 changed files with 27 additions and 15 deletions

View File

@ -50,4 +50,9 @@ adjustTimeStep yes;
maxCo 5;
cacheTemporaryObjects
(
kEpsilon:G
);
// ************************************************************************* //

View File

@ -48,4 +48,6 @@ probes
#includeFunc patchFlowRate(patch=outlet2)
#includeFunc faceZoneFlowRate(faceZone=fz2)
#includeFunc writeObjects(kEpsilon:G)
// ************************************************************************* //

View File

@ -0,0 +1,19 @@
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
format ascii;
class dictionary;
location "system";
object functions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#includeFunc strainRate(writeControl=writeTime)
// ************************************************************************* //

View File

@ -4,7 +4,7 @@
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Set-up the LES case
cp ../lesFiles/fvS* ../lesFiles/controlDict system/
cp ../lesFiles/fvS* ../lesFiles/controlDict ../lesFiles/functions system/
cp ../lesFiles/momentumTransport constant/
ls -d processor* | xargs -I {} rm -rf ./{}/0

View File

@ -13,11 +13,6 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
cacheTemporaryObjects
(
SpalartAllmarasDDES:LESRegion
);
writeCachedObjects
{
type writeObjects;

View File

@ -14,11 +14,6 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
cacheTemporaryObjects
(
kEpsilon:G
);
#includeFunc streamlinesLine
(
name=streamlines,
@ -28,8 +23,4 @@ cacheTemporaryObjects
fields=(p k U)
)
#includeFunc writeObjects(kEpsilon:G)
#includeFunc strainRate(writeControl=writeTime)
// ************************************************************************* //