Test for icoLagrangianFoam should work now
--HG-- branch : porousLagrangianBranch rename : tutorials/lagrangian/rhoPisoTwinParcelFoam/simplifiedSiwek/Allrun => tutorials/lagrangian/icoLagrangianFoam/channelParticles/Allrun
This commit is contained in:
parent
10124400a9
commit
a34e98ba90
4 changed files with 13 additions and 30 deletions
|
@ -1,15 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
currDir=`pwd`
|
|
||||||
application=`basename $currDir`
|
|
||||||
cases="channelParticles"
|
|
||||||
|
|
||||||
tutorialPath=`dirname $0`/..
|
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
|
||||||
|
|
||||||
for case in $cases
|
|
||||||
do
|
|
||||||
(cd $case; cleanCase)
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
currDir=`pwd`
|
|
||||||
application=`basename $currDir`
|
|
||||||
case="channelParticles"
|
|
||||||
|
|
||||||
tutorialPath=`dirname $0`/..
|
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
||||||
|
|
||||||
compileApplication icoLagrangianFoam
|
|
||||||
|
|
||||||
(cd $case; runApplication blockMesh)
|
|
||||||
(cd $case; runApplication $application)
|
|
||||||
|
|
12
tutorials/lagrangian/icoLagrangianFoam/channelParticles/Allrun
Executable file
12
tutorials/lagrangian/icoLagrangianFoam/channelParticles/Allrun
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# Source tutorial run functions
|
||||||
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
|
# Get application from system/controlDict
|
||||||
|
application=`getApplication`
|
||||||
|
|
||||||
|
# make sure the application is compiled
|
||||||
|
wmake ../$application
|
||||||
|
|
||||||
|
runApplication blockMesh
|
||||||
|
runApplication $application
|
|
@ -24,7 +24,7 @@ FoamFile
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
application icoFoam;
|
application icoLagrangianFoam;
|
||||||
|
|
||||||
startFrom firstTime;
|
startFrom firstTime;
|
||||||
|
|
||||||
|
|
Reference in a new issue