general update
This commit is contained in:
parent
7183ac1276
commit
62ef62f404
@ -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
12
tutorials/interDyMFoam/Allrun
Executable 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)
|
@ -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
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user