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:
@ -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