mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Renamed folder -> directory for consistency with POSIX and the rest of OpenFOAM
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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/
|
||||
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -38,7 +38,7 @@ boundaryField
|
||||
|
||||
outlet
|
||||
{
|
||||
type inletOutlet;
|
||||
type pressureInletOutletVelocity;
|
||||
inletValue uniform (0 0 0);
|
||||
value uniform (0 0 0);
|
||||
}
|
||||
|
||||
@ -31,7 +31,13 @@ boundaryField
|
||||
|
||||
outlet
|
||||
{
|
||||
type fixedValue;
|
||||
type totalPressure;
|
||||
p0 $internalField;
|
||||
U U;
|
||||
phi phi;
|
||||
rho rho;
|
||||
psi none;
|
||||
gamma 1;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
|
||||
@ -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/
|
||||
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user