mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Updated tutorials
This commit is contained in:
@ -1,22 +0,0 @@
|
|||||||
"E(k)"
|
|
||||||
"k"
|
|
||||||
"E(k)"
|
|
||||||
(0 0 0)
|
|
||||||
(0 0 0)
|
|
||||||
1
|
|
||||||
(
|
|
||||||
|
|
||||||
"E(k)"
|
|
||||||
0
|
|
||||||
8
|
|
||||||
(
|
|
||||||
(5.86431 0.000436377 0)
|
|
||||||
(11.7286 3.48387e-06 0)
|
|
||||||
(17.5929 6.63884e-14 0)
|
|
||||||
(23.4572 4.68122e-28 0)
|
|
||||||
(29.3215 6.81256e-37 0)
|
|
||||||
(35.1858 4.37547e-35 0)
|
|
||||||
(41.0501 1.40555e-36 0)
|
|
||||||
(46.9145 1.95116e-34 0)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
1.02593 7.63421e-05
|
|
||||||
0.00204766 6.08238e-10
|
|
||||||
1.73423e-11 6.54427e-26
|
|
||||||
6.87852e-26 1.3727e-54
|
|
||||||
6.40659e-35 1.48851e-72
|
|
||||||
2.85745e-33 3.55332e-69
|
|
||||||
6.74385e-35 2.30909e-72
|
|
||||||
7.16752e-33 2.98095e-68
|
|
||||||
@ -1,51 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
| ========= | |
|
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
||||||
| \\ / O peration | Version: dev |
|
|
||||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
||||||
| \\/ M anipulation | |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
version 2.0;
|
|
||||||
format ascii;
|
|
||||||
class volVectorField;
|
|
||||||
location "1";
|
|
||||||
object U;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [ 0 1 -1 0 0 0 0 ];
|
|
||||||
|
|
||||||
internalField uniform ( 0 0 0 );
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
patch0_half0
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
patch1_half0
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
patch2_half0
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
patch2_half1
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
patch1_half1
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
patch0_half1
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,57 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
| ========= | |
|
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
||||||
| \\ / O peration | Version: dev |
|
|
||||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
||||||
| \\/ M anipulation | |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
version 2.0;
|
|
||||||
format ascii;
|
|
||||||
class volScalarField;
|
|
||||||
location "1";
|
|
||||||
object enstrophy;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [ 0 0 -2 0 0 0 0 ];
|
|
||||||
|
|
||||||
internalField uniform 0;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
patch0_half0
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
patch1_half0
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
patch2_half0
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
patch2_half1
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
patch1_half1
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
patch0_half1
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,51 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
| ========= | |
|
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
||||||
| \\ / O peration | Version: dev |
|
|
||||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
||||||
| \\/ M anipulation | |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
version 2.0;
|
|
||||||
format ascii;
|
|
||||||
class volScalarField;
|
|
||||||
location "1";
|
|
||||||
object p;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [ 0 2 -2 0 0 0 0 ];
|
|
||||||
|
|
||||||
internalField uniform 0;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
patch0_half0
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
patch1_half0
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
patch2_half0
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
patch2_half1
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
patch1_half1
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
patch0_half1
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,22 +0,0 @@
|
|||||||
"E(k)"
|
|
||||||
"k"
|
|
||||||
"E(k)"
|
|
||||||
(0 0 0)
|
|
||||||
(0 0 0)
|
|
||||||
1
|
|
||||||
(
|
|
||||||
|
|
||||||
"E(k)"
|
|
||||||
0
|
|
||||||
8
|
|
||||||
(
|
|
||||||
(5.86431 0.000436377 0)
|
|
||||||
(11.7286 3.48387e-06 0)
|
|
||||||
(17.5929 6.63884e-14 0)
|
|
||||||
(23.4572 4.68122e-28 0)
|
|
||||||
(29.3215 6.81256e-37 0)
|
|
||||||
(35.1858 4.37547e-35 0)
|
|
||||||
(41.0501 1.40555e-36 0)
|
|
||||||
(46.9145 1.95116e-34 0)
|
|
||||||
)
|
|
||||||
)
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
1.02593 7.63421e-05
|
|
||||||
0.00204766 6.08238e-10
|
|
||||||
1.73423e-11 6.54427e-26
|
|
||||||
6.87852e-26 1.3727e-54
|
|
||||||
6.40659e-35 1.48851e-72
|
|
||||||
2.85745e-33 3.55332e-69
|
|
||||||
6.74385e-35 2.30909e-72
|
|
||||||
7.16752e-33 2.98095e-68
|
|
||||||
File diff suppressed because it is too large
Load Diff
@ -1,57 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
| ========= | |
|
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
||||||
| \\ / O peration | Version: dev |
|
|
||||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
||||||
| \\/ M anipulation | |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
version 2.0;
|
|
||||||
format ascii;
|
|
||||||
class volScalarField;
|
|
||||||
location "1";
|
|
||||||
object enstrophy;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [ 0 0 -2 0 0 0 0 ];
|
|
||||||
|
|
||||||
internalField uniform 0;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
patch0_half0
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
patch1_half0
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
patch2_half0
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
patch2_half1
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
patch1_half1
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
patch0_half1
|
|
||||||
{
|
|
||||||
type cyclic;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -5,7 +5,6 @@ cd ${0%/*} || exit 1 # run from this directory
|
|||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
rm -rf 0
|
rm -f 0/enstrophy
|
||||||
cp -r 0.org 0
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------- end-of-file
|
# ----------------------------------------------------------------- end-of-file
|
||||||
|
|||||||
@ -102,10 +102,10 @@ PIMPLE
|
|||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
{
|
{
|
||||||
U 1;
|
"U.*" 1;
|
||||||
h 1;
|
"h.*" 1;
|
||||||
k 1;
|
"k.*" 1;
|
||||||
epsilon 1;
|
"epsilon.*" 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -77,8 +77,8 @@ PIMPLE
|
|||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
{
|
{
|
||||||
h 1;
|
"h.*" 1;
|
||||||
U 1;
|
"U.*" 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -79,8 +79,8 @@ PIMPLE
|
|||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
{
|
{
|
||||||
h 1;
|
"h.*" 1;
|
||||||
U 1;
|
"U.*" 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -77,8 +77,8 @@ PIMPLE
|
|||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
{
|
{
|
||||||
h 1;
|
"h.* 1;
|
||||||
U 1;
|
"U.*" 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -79,8 +79,8 @@ PIMPLE
|
|||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
{
|
{
|
||||||
h 1;
|
"h.*" 1;
|
||||||
U 1;
|
"U.*" 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -70,8 +70,8 @@ PIMPLE
|
|||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
{
|
{
|
||||||
h 1;
|
"h.*" 1;
|
||||||
U 1;
|
"U.*" 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -72,8 +72,8 @@ PIMPLE
|
|||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
{
|
{
|
||||||
h 1;
|
"h.*" 1;
|
||||||
U 1;
|
"U.*" 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -74,8 +74,7 @@ PIMPLE
|
|||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
{
|
{
|
||||||
U 1;
|
"U.*" 1;
|
||||||
UFinal 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -68,9 +68,9 @@ PIMPLE
|
|||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
{
|
{
|
||||||
U 1;
|
"U.*" 1;
|
||||||
k 1;
|
"k.*" 1;
|
||||||
epsilon 1;
|
"epsilon.*" 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -68,9 +68,9 @@ PIMPLE
|
|||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
{
|
{
|
||||||
U 1;
|
"U.*" 1;
|
||||||
k 1;
|
"k.*" 1;
|
||||||
epsilon 1;
|
"epsilon.*" 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -6,8 +6,10 @@ cd ${0%/*} || exit 1 # run from this directory
|
|||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication snappyHexMesh -overwrite
|
runApplication snappyHexMesh -overwrite
|
||||||
#runApplication transformPoints -scale '(2 1 1)'
|
if [ ! -e log.transformPoints ]
|
||||||
transformPoints -scale '(2 1 1)'
|
then
|
||||||
|
transformPoints -scale '(2 1 1)' > log.transformPoints 2>&1
|
||||||
|
fi
|
||||||
cp 0/alpha1.org 0/alpha1
|
cp 0/alpha1.org 0/alpha1
|
||||||
runApplication setFields
|
runApplication setFields
|
||||||
runApplication `getApplication`
|
runApplication `getApplication`
|
||||||
|
|||||||
@ -65,7 +65,7 @@ PIMPLE
|
|||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
{
|
{
|
||||||
U 1;
|
"U.*" 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -11,12 +11,15 @@ refineMeshByCellSet()
|
|||||||
{
|
{
|
||||||
while [ $# -ge 1 ]
|
while [ $# -ge 1 ]
|
||||||
do
|
do
|
||||||
echo "creating cell set for primary zone - $1"
|
if [ ! -e log.refineMesh.$1 ]
|
||||||
cp system/topoSetDict.$1 system/topoSetDict
|
then
|
||||||
topoSet > log.topoSet.$1 2>&1
|
echo "creating cell set for primary zone - $1"
|
||||||
|
cp system/topoSetDict.$1 system/topoSetDict
|
||||||
|
topoSet > log.topoSet.$1 2>&1
|
||||||
|
|
||||||
echo "refining primary zone - $1"
|
echo "refining primary zone - $1"
|
||||||
refineMesh -dict -overwrite > log.refineMesh.$1 2>&1
|
refineMesh -dict -overwrite > log.refineMesh.$1 2>&1
|
||||||
|
fi
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
FoamFile
|
FoamFile
|
||||||
{
|
{
|
||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format binary;
|
||||||
class polyBoundaryMesh;
|
class polyBoundaryMesh;
|
||||||
location "constant/polyMesh";
|
location "constant/polyMesh";
|
||||||
object boundary;
|
object boundary;
|
||||||
@ -21,25 +21,25 @@ FoamFile
|
|||||||
{
|
{
|
||||||
type patch;
|
type patch;
|
||||||
nFaces 51;
|
nFaces 51;
|
||||||
startFace 35380;
|
startFace 651284;
|
||||||
}
|
}
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type patch;
|
type patch;
|
||||||
nFaces 51;
|
nFaces 51;
|
||||||
startFace 35431;
|
startFace 651335;
|
||||||
}
|
}
|
||||||
walls
|
walls
|
||||||
{
|
{
|
||||||
type wall;
|
type wall;
|
||||||
nFaces 640;
|
nFaces 2216;
|
||||||
startFace 35482;
|
startFace 651386;
|
||||||
}
|
}
|
||||||
frontBack
|
frontBack
|
||||||
{
|
{
|
||||||
type empty;
|
type empty;
|
||||||
nFaces 35580;
|
nFaces 651180;
|
||||||
startFace 36122;
|
startFace 653602;
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -11,12 +11,15 @@ refineMeshByCellSet()
|
|||||||
{
|
{
|
||||||
while [ $# -ge 1 ]
|
while [ $# -ge 1 ]
|
||||||
do
|
do
|
||||||
echo "creating cell set for primary zone - $1"
|
if [ ! -e log.refineMesh.$1 ]
|
||||||
cp system/topoSetDict.$1 system/topoSetDict
|
then
|
||||||
topoSet > log.topoSet.$1 2>&1
|
echo "creating cell set for primary zone - $1"
|
||||||
|
cp system/topoSetDict.$1 system/topoSetDict
|
||||||
|
topoSet > log.topoSet.$1 2>&1
|
||||||
|
|
||||||
echo "refining primary zone - $1"
|
echo "refining primary zone - $1"
|
||||||
refineMesh -dict -overwrite > log.refineMesh.$1 2>&1
|
refineMesh -dict -overwrite > log.refineMesh.$1 2>&1
|
||||||
|
fi
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
@ -27,7 +30,7 @@ runApplication blockMesh
|
|||||||
refineMeshByCellSet 1 2 3
|
refineMeshByCellSet 1 2 3
|
||||||
|
|
||||||
echo "mapping fields from 2D throttle case"
|
echo "mapping fields from 2D throttle case"
|
||||||
mapFields ../throttle -sourceTime latestTime > log.mapFields 2>&1
|
runApplication mapFields ../throttle -sourceTime latestTime
|
||||||
|
|
||||||
runApplication decomposePar
|
runApplication decomposePar
|
||||||
runParallel $application 4
|
runParallel $application 4
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
FoamFile
|
FoamFile
|
||||||
{
|
{
|
||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format binary;
|
||||||
class polyBoundaryMesh;
|
class polyBoundaryMesh;
|
||||||
location "constant/polyMesh";
|
location "constant/polyMesh";
|
||||||
object boundary;
|
object boundary;
|
||||||
|
|||||||
@ -10,12 +10,15 @@ refineMeshByCellSet()
|
|||||||
{
|
{
|
||||||
while [ $# -ge 1 ]
|
while [ $# -ge 1 ]
|
||||||
do
|
do
|
||||||
echo "creating cell set for primary zone - $1"
|
if [ ! -e log.refineMesh.$1 ]
|
||||||
cp system/topoSetDict.$1 system/topoSetDict
|
then
|
||||||
topoSet > log.topoSet.$1 2>&1
|
echo "creating cell set for primary zone - $1"
|
||||||
|
cp system/topoSetDict.$1 system/topoSetDict
|
||||||
|
topoSet > log.topoSet.$1 2>&1
|
||||||
|
|
||||||
echo "refining primary zone - $1"
|
echo "refining primary zone - $1"
|
||||||
refineMesh -dict -overwrite > log.refineMesh.$1 2>&1
|
refineMesh -dict -overwrite > log.refineMesh.$1 2>&1
|
||||||
|
fi
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,25 +21,25 @@ FoamFile
|
|||||||
{
|
{
|
||||||
type patch;
|
type patch;
|
||||||
nFaces 51;
|
nFaces 51;
|
||||||
startFace 57362;
|
startFace 2061220;
|
||||||
}
|
}
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type patch;
|
type patch;
|
||||||
nFaces 51;
|
nFaces 51;
|
||||||
startFace 57413;
|
startFace 2061271;
|
||||||
}
|
}
|
||||||
walls
|
walls
|
||||||
{
|
{
|
||||||
type wall;
|
type wall;
|
||||||
nFaces 836;
|
nFaces 3788;
|
||||||
startFace 57464;
|
startFace 2061322;
|
||||||
}
|
}
|
||||||
frontBack
|
frontBack
|
||||||
{
|
{
|
||||||
type empty;
|
type empty;
|
||||||
nFaces 57540;
|
nFaces 2060940;
|
||||||
startFace 58300;
|
startFace 2065110;
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
foamCleanTutorials cases
|
foamCleanTutorials cases
|
||||||
rm -rf processor*
|
rm -rf processor*
|
||||||
rm -rf 0/p_rgh.gz 0/alpha1.gz
|
rm -rf 0/p_rgh 0/p_rgh.gz 0/alpha1 0/alpha1.gz
|
||||||
|
|||||||
@ -3,6 +3,6 @@ cd ${0%/*} || exit 1 # run from this directory
|
|||||||
|
|
||||||
foamCleanTutorials cases
|
foamCleanTutorials cases
|
||||||
rm -rf processor*
|
rm -rf processor*
|
||||||
rm -rf 0/p_rgh.gz 0/alpha1.gz
|
rm -rf 0/p_rgh 0/p_rgh.gz 0/alpha1 0/alpha1.gz
|
||||||
|
|
||||||
# ----------------------------------------------------------------- end-of-file
|
# ----------------------------------------------------------------- end-of-file
|
||||||
|
|||||||
@ -2,6 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
|
||||||
foamCleanTutorials cases
|
foamCleanTutorials cases
|
||||||
rm -rf 0/alpha1.gz probes wallPressure pRefProbe
|
rm -rf 0/alpha1 0/alpha1.gz probes wallPressure pRefProbe
|
||||||
|
|
||||||
# ----------------------------------------------------------------- end-of-file
|
# ----------------------------------------------------------------- end-of-file
|
||||||
|
|||||||
@ -105,7 +105,7 @@ PIMPLE
|
|||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
{
|
{
|
||||||
U 1;
|
"U.*" 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,6 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
|
||||||
foamCleanTutorials cases
|
foamCleanTutorials cases
|
||||||
rm -rf 0/alpha1.gz probes wallPressure pRefProbe
|
rm -rf 0/alpha1 0/alpha1.gz probes wallPressure pRefProbe
|
||||||
|
|
||||||
# ----------------------------------------------------------------- end-of-file
|
# ----------------------------------------------------------------- end-of-file
|
||||||
|
|||||||
@ -105,7 +105,7 @@ PIMPLE
|
|||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
{
|
{
|
||||||
U 1;
|
"U.*" 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,6 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
|
||||||
foamCleanTutorials cases
|
foamCleanTutorials cases
|
||||||
rm -rf 0/alpha1.gz probes wallPressure pRefProbe
|
rm -rf 0/alpha1 0/alpha1.gz probes wallPressure pRefProbe
|
||||||
|
|
||||||
# ----------------------------------------------------------------- end-of-file
|
# ----------------------------------------------------------------- end-of-file
|
||||||
|
|||||||
@ -25,7 +25,7 @@ stopAt endTime;
|
|||||||
|
|
||||||
endTime 40;
|
endTime 40;
|
||||||
|
|
||||||
deltaT 0.01;
|
deltaT 0.05;
|
||||||
|
|
||||||
writeControl adjustableRunTime;
|
writeControl adjustableRunTime;
|
||||||
|
|
||||||
|
|||||||
@ -105,7 +105,7 @@ PIMPLE
|
|||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
{
|
{
|
||||||
U 1;
|
"U.*" 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,6 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
|
||||||
foamCleanTutorials cases
|
foamCleanTutorials cases
|
||||||
rm -rf 0/alpha1.gz probes wallPressure pRefProbe
|
rm -rf 0/alpha1 0/alpha1.gz probes wallPressure pRefProbe
|
||||||
|
|
||||||
# ----------------------------------------------------------------- end-of-file
|
# ----------------------------------------------------------------- end-of-file
|
||||||
|
|||||||
@ -105,7 +105,7 @@ PIMPLE
|
|||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
{
|
{
|
||||||
U 1;
|
"U.*" 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,6 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
|
||||||
foamCleanTutorials cases
|
foamCleanTutorials cases
|
||||||
rm -rf 0/alpha1.gz probes wallPressure pRefProbe
|
rm -rf 0/alpha1 0/alpha1.gz probes wallPressure pRefProbe
|
||||||
|
|
||||||
# ----------------------------------------------------------------- end-of-file
|
# ----------------------------------------------------------------- end-of-file
|
||||||
|
|||||||
@ -105,7 +105,7 @@ PIMPLE
|
|||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
{
|
{
|
||||||
U 1;
|
"U.*" 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -105,7 +105,7 @@ PIMPLE
|
|||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
{
|
{
|
||||||
U 1;
|
"U.*" 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,6 +2,6 @@
|
|||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
|
|
||||||
foamCleanTutorials cases
|
foamCleanTutorials cases
|
||||||
rm -rf 0/alpha[1-3].gz
|
rm -rf 0/alpha[1-3] 0/alpha[1-3].gz
|
||||||
|
|
||||||
# ----------------------------------------------------------------- end-of-file
|
# ----------------------------------------------------------------- end-of-file
|
||||||
|
|||||||
@ -38,7 +38,7 @@ FoamFile
|
|||||||
bullet
|
bullet
|
||||||
{
|
{
|
||||||
type wall;
|
type wall;
|
||||||
nFaces 37896;
|
nFaces 37743;
|
||||||
startFace 1133431;
|
startFace 1133431;
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
@ -105,7 +105,7 @@ PIMPLE
|
|||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
{
|
{
|
||||||
U 1;
|
"U.*" 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -106,7 +106,7 @@ PIMPLE
|
|||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
{
|
{
|
||||||
U 1;
|
"U.*" 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -100,7 +100,7 @@ PIMPLE
|
|||||||
|
|
||||||
relaxationFactors
|
relaxationFactors
|
||||||
{
|
{
|
||||||
U 1;
|
"U.*" 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -27,7 +27,7 @@ endTime 6400;
|
|||||||
|
|
||||||
deltaT 0.1;
|
deltaT 0.1;
|
||||||
|
|
||||||
writeControl adjustableRunTime;
|
writeControl runTime;
|
||||||
|
|
||||||
writeInterval 20;
|
writeInterval 20;
|
||||||
|
|
||||||
@ -45,8 +45,4 @@ timePrecision 6;
|
|||||||
|
|
||||||
runTimeModifiable yes;
|
runTimeModifiable yes;
|
||||||
|
|
||||||
adjustTimeStep yes;
|
|
||||||
|
|
||||||
maxCo 1;
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -69,5 +69,12 @@ PIMPLE
|
|||||||
nNonOrthogonalCorrectors 0;
|
nNonOrthogonalCorrectors 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
relaxationFactors
|
||||||
|
{
|
||||||
|
"U.*" 1;
|
||||||
|
"k.*" 1;
|
||||||
|
"epsilon.*" 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -17,7 +17,7 @@ FoamFile
|
|||||||
|
|
||||||
application settlingFoam;
|
application settlingFoam;
|
||||||
|
|
||||||
startFrom latestTime;
|
startFrom startTime;
|
||||||
|
|
||||||
startTime 0;
|
startTime 0;
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ endTime 8000;
|
|||||||
|
|
||||||
deltaT 0.1;
|
deltaT 0.1;
|
||||||
|
|
||||||
writeControl adjustableRunTime;
|
writeControl runTime;
|
||||||
|
|
||||||
writeInterval 50;
|
writeInterval 50;
|
||||||
|
|
||||||
@ -45,10 +45,4 @@ timePrecision 6;
|
|||||||
|
|
||||||
runTimeModifiable yes;
|
runTimeModifiable yes;
|
||||||
|
|
||||||
adjustTimeStep yes;
|
|
||||||
|
|
||||||
maxCo 1;
|
|
||||||
|
|
||||||
maxDeltaT 1;
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -69,5 +69,12 @@ PIMPLE
|
|||||||
nNonOrthogonalCorrectors 0;
|
nNonOrthogonalCorrectors 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
relaxationFactors
|
||||||
|
{
|
||||||
|
"U.*" 1;
|
||||||
|
"k.*" 1;
|
||||||
|
"epsilon.*" 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
FoamFile
|
FoamFile
|
||||||
{
|
{
|
||||||
version 2.0;
|
version 2.0;
|
||||||
format ascii;
|
format binary;
|
||||||
class polyBoundaryMesh;
|
class polyBoundaryMesh;
|
||||||
location "constant/polyMesh";
|
location "constant/polyMesh";
|
||||||
object boundary;
|
object boundary;
|
||||||
|
|||||||
Reference in New Issue
Block a user