general update

This commit is contained in:
andy 2008-06-18 12:28:28 +01:00 committed by graham
parent 7183ac1276
commit 62ef62f404
4 changed files with 22 additions and 18 deletions

View File

@ -25,7 +25,7 @@ restartApplication ()
fi
}
runKivaToFoam . $case/otape17
runKivaToFoam . otape17
cp system/controlDict.1st system/controlDict
runApplication $application
cp system/controlDict.2nd system/controlDict

12
tutorials/interDyMFoam/Allrun Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application=`basename $PWD`
(cd damBreakWithObstacle && runApplication blockMesh)
(cd damBreakWithObstacle && runApplication setSet -batch createObstacle.setSet)
(cd damBreakWithObstacle && runApplication subsetMesh c0 -patch walls)
(cd damBreakWithObstacle && runApplication setFields -latestTime)
(cd damBreakWithObstacle && runApplication $application)

View File

@ -1,12 +0,0 @@
#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name from directory
application=`basename $PWD`
runApplication blockMesh
runApplication setSet -batch createObstacle.setSet
runApplication subsetMesh c0 -patch walls
runApplication setFields -latestTime
runApplication $application

View File

@ -25,20 +25,24 @@ FoamFile
interpolationScheme cellPoint;
writeFormat raw;
setFormat raw;
sampleSets
sets
(
uniform
line_centreProfile
{
name centreProfile;
axis y;
type uniform;
axis distance;
start (10.001 -1 0.01);
end (10.001 1 0.01);
nPoints 100;
}
);
surfaces
();
fields
(
U.component(0)