From 62ef62f404172c1a4d842bf10dbf4e77061ae2c2 Mon Sep 17 00:00:00 2001 From: andy Date: Wed, 18 Jun 2008 12:28:28 +0100 Subject: [PATCH] general update --- tutorials/engineFoam/kivaTest/Allrun | 2 +- tutorials/interDyMFoam/Allrun | 12 ++++++++++++ tutorials/interDyMFoam/damBreakWithObstacle/Allrun | 12 ------------ tutorials/mhdFoam/hartmann/system/sampleDict | 14 +++++++++----- 4 files changed, 22 insertions(+), 18 deletions(-) create mode 100755 tutorials/interDyMFoam/Allrun delete mode 100755 tutorials/interDyMFoam/damBreakWithObstacle/Allrun diff --git a/tutorials/engineFoam/kivaTest/Allrun b/tutorials/engineFoam/kivaTest/Allrun index e4a1559cba..395c85fed1 100755 --- a/tutorials/engineFoam/kivaTest/Allrun +++ b/tutorials/engineFoam/kivaTest/Allrun @@ -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 diff --git a/tutorials/interDyMFoam/Allrun b/tutorials/interDyMFoam/Allrun new file mode 100755 index 0000000000..efeef33893 --- /dev/null +++ b/tutorials/interDyMFoam/Allrun @@ -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) diff --git a/tutorials/interDyMFoam/damBreakWithObstacle/Allrun b/tutorials/interDyMFoam/damBreakWithObstacle/Allrun deleted file mode 100755 index c5b195322c..0000000000 --- a/tutorials/interDyMFoam/damBreakWithObstacle/Allrun +++ /dev/null @@ -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 diff --git a/tutorials/mhdFoam/hartmann/system/sampleDict b/tutorials/mhdFoam/hartmann/system/sampleDict index e1296250a4..8dfa34c44d 100644 --- a/tutorials/mhdFoam/hartmann/system/sampleDict +++ b/tutorials/mhdFoam/hartmann/system/sampleDict @@ -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)