tutorials: Fix cloneMesh paths and use foamRun instead of forwarding scripts
This commit is contained in:
@ -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
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -13,7 +13,9 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
application interFoam;
|
application foamRun;
|
||||||
|
|
||||||
|
solver incompressibleVoF;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
||||||
|
|||||||
@ -14,7 +14,9 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
application interFoam;
|
application foamRun;
|
||||||
|
|
||||||
|
solver incompressibleVoF;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
||||||
|
|||||||
@ -14,7 +14,9 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
application interFoam;
|
application foamRun;
|
||||||
|
|
||||||
|
solver incompressibleVoF;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -14,8 +14,6 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
application potentialFoam;
|
|
||||||
|
|
||||||
startFrom latestTime;
|
startFrom latestTime;
|
||||||
|
|
||||||
startTime 0;
|
startTime 0;
|
||||||
|
|||||||
@ -14,8 +14,6 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
application icoFoam;
|
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
||||||
startTime 0;
|
startTime 0;
|
||||||
|
|||||||
@ -14,8 +14,6 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
application interFoam;
|
|
||||||
|
|
||||||
startFrom latestTime;
|
startFrom latestTime;
|
||||||
|
|
||||||
startTime 0;
|
startTime 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user