Renamed folder -> directory for consistency with POSIX and the rest of OpenFOAM

This commit is contained in:
Henry
2014-01-30 13:01:04 +00:00
parent c080ca7e86
commit ee4e19ef85
59 changed files with 95 additions and 86 deletions

View File

@ -39,7 +39,7 @@ usage()
usage: ${0##*/} [OPTION]
options:
-root <dir> specify root folder to run tests from
-root <dir> specify root directory to run tests from
-default sets up a default scheme on all schemes
-help print the usage

View File

@ -5,7 +5,7 @@ h2 : H2 combustion, 10 species, 27 reactions
nc7h16 : n-Heptane combustion, 544 species, 2446 reactions
ic8h18 : iso-Octane combustion, 874 species, 3796 reactions
Results interpreted in 'validation' sub-folder, where OpenFOAM results
Results interpreted in 'validation' sub-directory, where OpenFOAM results
are compared against those predicted by CHEMKIN II.
Overall the best performing ODE solver is seulex followed closely by rodas23.

View File

@ -87,7 +87,7 @@ SETSDIR="../postProcessing/sets"
if [ ! -d $SETSDIR ]
then
echo "createGraphs: results sets not available in folder $SETSDIR"
echo "createGraphs: results sets not available in directory $SETSDIR"
exit 0
fi

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# copy propeller surface from resources folder
# copy propeller surface from resources directory
cp $FOAM_TUTORIALS/resources/geometry/propellerTip.obj.gz constant/triSurface/

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# copy motorbike surface from resources folder
# copy motorbike surface from resources directory
cp $FOAM_TUTORIALS/resources/geometry/motorBike.obj.gz constant/triSurface/
# Make dummy 0 directory

View File

@ -1,4 +1,4 @@
Folder to house tri-surfaces
Directory to house tri-surfaces
The Allrun script copies the surface from the $FOAM_TUTORIALS/resources/geometry
folder
directory

View File

@ -1,7 +1,7 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
# Clean time folders only
# Clean time directories only
rm -rf *[1-9]*
rm -f log.* 2>/dev/null

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# copy motorbike surface from resources folder
# copy motorbike surface from resources directory
cp $FOAM_TUTORIALS/resources/geometry/motorBike.obj.gz constant/triSurface/
runApplication surfaceFeatureExtract

View File

@ -1,4 +1,4 @@
Folder to house tri-surfaces
Directory to house tri-surfaces
The Allrun script copies the surface from the $FOAM_TUTORIALS/resources/geometry
folder
directory

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# remove old time and post-processing folders
# remove old time and post-processing directories
rm -rf 0 *[1-9]* processor* postProcessing

View File

@ -1,4 +1,4 @@
Folder to house tri-surfaces
Directory to house tri-surfaces
The Allrun script copies the surface from the $FOAM_TUTORIALS/resources/geometry
folder
directory

View File

@ -9,7 +9,7 @@ cleanCase
# remove 0 directory
rm -rf 0
# remove post-processing folder
# remove post-processing directory
rm -rf postProcessing
# copy 0.org to 0

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# remove old time and post-processing folders
# remove old time and post-processing directories
rm -rf 0 *[1-9]* processor* postProcessing
cleanCase

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# remove old time and post-processing folders
# remove old time and post-processing directories
rm -rf 0 *[1-9]* processor* postProcessing
# copy 0.org to 0

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# copy flange surface from resources folder
# copy flange surface from resources directory
cp $FOAM_TUTORIALS/resources/geometry/blob.stl.gz constant/triSurface/
runApplication foamyHexMesh

View File

@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # run from this directory
# Get the number of processors to run on from system/decomposeParDict
nProc=$(getNumberOfProcessors)
# copy flange surface from resources folder
# copy flange surface from resources directory
cp $FOAM_TUTORIALS/resources/geometry/blob.stl.gz constant/triSurface/
runApplication blockMesh -region backgroundMeshDecomposition

View File

@ -1,4 +1,4 @@
Folder to house tri-surfaces
Directory to house tri-surfaces
The Allrun script copies the surface from the $FOAM_TUTORIALS/resources/geometry
folder
directory

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# copy flange surface from resources folder
# copy flange surface from resources directory
cp $FOAM_TUTORIALS/resources/geometry/flange.stl.gz constant/triSurface/
runApplication foamyHexMesh

View File

@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # run from this directory
# Get the number of processors to run on from system/decomposeParDict
nProc=$(getNumberOfProcessors)
# copy flange surface from resources folder
# copy flange surface from resources directory
cp $FOAM_TUTORIALS/resources/geometry/flange.stl.gz constant/triSurface/
# Create tight-fitting background mesh

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# copy flange surface from resources folder
# copy flange surface from resources directory
cp $FOAM_TUTORIALS/resources/geometry/flange.stl.gz constant/triSurface/
cp system/controlDict system/controlDict.org

View File

@ -1,4 +1,4 @@
Folder to house tri-surfaces
Directory to house tri-surfaces
The Allrun script copies the surface from the $FOAM_TUTORIALS/resources/geometry
folder
directory

View File

@ -2,7 +2,7 @@
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# copy flange surface from resources folder
# copy flange surface from resources directory
cp $FOAM_TUTORIALS/resources/geometry/flange.stl.gz constant/triSurface/
runApplication blockMesh

View File

@ -1,4 +1,4 @@
Folder to house tri-surfaces
Directory to house tri-surfaces
The Allrun script copies the surface from the $FOAM_TUTORIALS/resources/geometry
folder
directory

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# copy wigley surface from resources folder
# copy wigley surface from resources directory
cp $FOAM_TUTORIALS/resources/geometry/wigley-scaled-oriented.stl.gz constant/triSurface/
runApplication blockMesh

View File

@ -1,4 +1,4 @@
Folder to house tri-surfaces
Directory to house tri-surfaces
The Allrun script copies the surface from the $FOAM_TUTORIALS/resources/geometry
folder
directory

View File

@ -38,7 +38,7 @@ boundaryField
outlet
{
type inletOutlet;
type pressureInletOutletVelocity;
inletValue uniform (0 0 0);
value uniform (0 0 0);
}

View File

@ -31,7 +31,13 @@ boundaryField
outlet
{
type fixedValue;
type totalPressure;
p0 $internalField;
U U;
phi phi;
rho rho;
psi none;
gamma 1;
value $internalField;
}

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# copy propeller surface from resources folder
# copy propeller surface from resources directory
cp $FOAM_TUTORIALS/resources/geometry/propellerTip.obj.gz constant/triSurface/

View File

@ -23,7 +23,7 @@ libs
application interPhaseChangeDyMFoam;
startFrom latestTime;
startFrom startTime;
startTime 0;
@ -54,6 +54,6 @@ runTimeModifiable true;
adjustTimeStep yes;
maxCo 2;
maxAlphaCo 2;
maxAlphaCo 1;
// ************************************************************************* //

View File

@ -30,6 +30,7 @@ solvers
tolerance 1e-8;
relTol 0;
maxIter 10;
minIter 1;
};
"pcorr.*"
@ -65,12 +66,12 @@ solvers
smoother symGaussSeidel;
tolerance 1e-6;
relTol 0.1;
minIter 1;
}
"(U|k|epsilon)Final"
{
$U;
tolerance 1e-6;
relTol 0;
}
}
@ -78,8 +79,8 @@ solvers
PIMPLE
{
correctPhi yes;
nOuterCorrectors 1;
nCorrectors 3;
nOuterCorrectors 3;
nCorrectors 1;
nNonOrthogonalCorrectors 0;
}

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# copy bullet surface from resources folder
# copy bullet surface from resources directory
cp $FOAM_TUTORIALS/resources/geometry/bullet.stl.gz constant/triSurface/
# Generate the base block mesh

View File

@ -1,4 +1,4 @@
Folder to house tri-surfaces
Directory to house tri-surfaces
The Allrun script copies the surface from the $FOAM_TUTORIALS/resources/geometry
folder
directory

View File

@ -1,7 +1,7 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
# Clean time folders only
# Clean time directories only
rm -rf *[1-9]*
rm -f log.* 2>/dev/null