tutorials: Fix cloneMesh paths and use foamRun instead of forwarding scripts

This commit is contained in:
Will Bainbridge
2023-06-29 20:21:58 +01:00
parent bbb4ee2248
commit a37b646e3d
9 changed files with 12 additions and 12 deletions

View File

@ -32,7 +32,7 @@ cloneCase moriyoshiHomogeneous moriyoshiHomogeneousHydrogen
runApplication -a foamDictionary system/controlDict -entry endTime -set 0.015 runApplication -a foamDictionary system/controlDict -entry endTime -set 0.015
runApplication -a foamDictionary system/controlDict -entry writeInterval -set 50 runApplication -a foamDictionary system/controlDict -entry writeInterval -set 50
runApplication -a XiFoam runApplication -a $(getApplication)
fi fi
) )

View File

@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/RunFunctions . $WM_PROJECT_DIR/bin/tools/RunFunctions
# Mesh if necessary # Mesh if necessary
if ! cloneMesh ../../../../multiphase/interFoam/RAS/propeller . if ! cloneMesh ../../incompressibleVoF/propeller .
then then
./Allmesh ./Allmesh
else else

View File

@ -13,7 +13,9 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application interFoam; application foamRun;
solver incompressibleVoF;
startFrom startTime; startFrom startTime;

View File

@ -14,7 +14,9 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application interFoam; application foamRun;
solver incompressibleVoF;
startFrom startTime; startFrom startTime;

View File

@ -14,7 +14,9 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application interFoam; application foamRun;
solver incompressibleVoF;
startFrom startTime; startFrom startTime;

View File

@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/RunFunctions . $WM_PROJECT_DIR/bin/tools/RunFunctions
# Mesh if necessary # Mesh if necessary
if ! cloneMesh ../../../../modules/incompressibleFluid/propeller . if ! cloneMesh ../../incompressibleFluid/propeller .
then then
./Allmesh ./Allmesh
else else

View File

@ -14,8 +14,6 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application potentialFoam;
startFrom latestTime; startFrom latestTime;
startTime 0; startTime 0;

View File

@ -14,8 +14,6 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application icoFoam;
startFrom startTime; startFrom startTime;
startTime 0; startTime 0;

View File

@ -14,8 +14,6 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
application interFoam;
startFrom latestTime; startFrom latestTime;
startTime 0; startTime 0;