Merging Martin's tutorial fixes

This commit is contained in:
Hrvoje Jasak 2010-10-13 13:00:48 +01:00
commit 325350fbe5
10 changed files with 63 additions and 4 deletions

View file

@ -4,10 +4,10 @@
## # The following are required to uses Dart and the Cdash dashboard ## # The following are required to uses Dart and the Cdash dashboard
## ENABLE_TESTING() ## ENABLE_TESTING()
## INCLUDE(CTest) ## INCLUDE(CTest)
set(CTEST_PROJECT_NAME "OpenFOAM-1.6-ext") set(CTEST_PROJECT_NAME "OpenFOAM-1.6-ext_testing")
set(CTEST_NIGHTLY_START_TIME "00:00:00 EST") set(CTEST_NIGHTLY_START_TIME "00:00:00 EST")
set(CTEST_DROP_METHOD "http") set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "localhost") set(CTEST_DROP_SITE "openfoam-extend.sourceforge.net")
set(CTEST_DROP_LOCATION "/CDash/submit.php?project=OpenFOAM-1.6-ext") set(CTEST_DROP_LOCATION "/CDash/submit.php?project=OpenFOAM-1.6-ext_testing")
set(CTEST_DROP_SITE_CDASH TRUE) set(CTEST_DROP_SITE_CDASH TRUE)

View file

@ -54,6 +54,8 @@ functions
// Where to load it from (if not already in solver) // Where to load it from (if not already in solver)
functionObjectLibs ("libfieldFunctionObjects.so"); functionObjectLibs ("libfieldFunctionObjects.so");
outputControl outputTime;
// Fields to be averaged - runTime modifiable // Fields to be averaged - runTime modifiable
fields fields
( (

View file

@ -19,5 +19,6 @@ EXE_LIBS = \
-lreactionThermophysicalModels \ -lreactionThermophysicalModels \
-lspecie \ -lspecie \
-lradiation \ -lradiation \
-lcompressibleTurbulenceModel \
-lcompressibleRASModels \ -lcompressibleRASModels \
-lcompressibleLESModels -lcompressibleLESModels

View 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

View file

@ -0,0 +1,23 @@
#!/bin/bash
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Simple temporary bypass for Martin's laptop...
# Otherwise, this tutorial will generate junk for 10 whole minutes
# MB
# Oct 12, 2010
#
if [ `hostname` == "pollux.local" ]
then
echo "This tutorial is not working on my Macbook Pro laptop. Need to get back later to this one. Martin Beaudoin, Oct 12 2010"
exit -1;
fi
# Get application name
application=`getApplication`
#parentDir=`dirname $PWD`
#application=`basename $parentDir`
runApplication blockMesh
runApplication $application

View file

@ -60,6 +60,8 @@ functions
// Where to load it from (if not already in solver) // Where to load it from (if not already in solver)
functionObjectLibs ("libfieldFunctionObjects.so"); functionObjectLibs ("libfieldFunctionObjects.so");
outputControl outputTime;
// Fields to be averaged - runTime modifiable // Fields to be averaged - runTime modifiable
fields fields
( (

View file

@ -60,6 +60,8 @@ functions
// Where to load it from (if not already in solver) // Where to load it from (if not already in solver)
functionObjectLibs ("libfieldFunctionObjects.so"); functionObjectLibs ("libfieldFunctionObjects.so");
outputControl outputTime;
// Fields to be averaged - runTime modifiable // Fields to be averaged - runTime modifiable
fields fields
( (

View file

@ -60,6 +60,8 @@ functions
// Where to load it from (if not already in solver) // Where to load it from (if not already in solver)
functionObjectLibs ("libfieldFunctionObjects.so"); functionObjectLibs ("libfieldFunctionObjects.so");
outputControl outputTime;
// Fields to be averaged - runTime modifiable // Fields to be averaged - runTime modifiable
fields fields
( (

View file

@ -0,0 +1,15 @@
#!/bin/sh
(cd PTT-Exponential; ./Allclean)
(cd DCPP; ./Allclean)
(cd Giesekus; ./Allclean)
(cd FENE-CR; ./Allclean)
(cd FENE-P; ./Allclean)
(cd Feta-PTT; ./Allclean)
(cd Leonov; ./Allclean)
(cd Oldroyd-B; ./Allclean)
(cd S-MDCPP; ./Allclean)
(cd PTT-Linear; ./Allclean)
(cd WhiteMetzner/CarreauYasuda; ./Allclean)
(cd XPP_DE; ./Allclean)
(cd XPP_SE; ./Allclean)

View file

@ -35,7 +35,7 @@ rheology
{ {
type S-MDCPP; type S_MDCPP;
rho rho [1 -3 0 0 0 0 0] 850; rho rho [1 -3 0 0 0 0 0] 850;
etaS etaS [1 -1 -1 0 0 0 0] 0.002; etaS etaS [1 -1 -1 0 0 0 0] 0.002;
etaP etaP [1 -1 -1 0 0 0 0] 17192; etaP etaP [1 -1 -1 0 0 0 0] 17192;