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:
@ -50,4 +50,9 @@ adjustTimeStep yes;
|
||||
|
||||
maxCo 5;
|
||||
|
||||
cacheTemporaryObjects
|
||||
(
|
||||
kEpsilon:G
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -48,4 +48,6 @@ probes
|
||||
#includeFunc patchFlowRate(patch=outlet2)
|
||||
#includeFunc faceZoneFlowRate(faceZone=fz2)
|
||||
|
||||
#includeFunc writeObjects(kEpsilon:G)
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
19
tutorials/incompressibleFluid/mixerSRF/system/functions
Normal file
19
tutorials/incompressibleFluid/mixerSRF/system/functions
Normal 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)
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -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
|
||||
|
||||
@ -13,11 +13,6 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
cacheTemporaryObjects
|
||||
(
|
||||
SpalartAllmarasDDES:LESRegion
|
||||
);
|
||||
|
||||
writeCachedObjects
|
||||
{
|
||||
type writeObjects;
|
||||
|
||||
@ -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)
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user