TUT: clean up multiphase tutorials

This commit is contained in:
Kutalmis Bercin
2020-01-29 17:19:43 +00:00
parent 647e161511
commit 01514e4d43
1349 changed files with 5623 additions and 241919 deletions

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

View File

@ -31,7 +31,7 @@ writeControl adjustable;
writeInterval 50;
purgeWrite 10;
purgeWrite 0;
writeFormat binary;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volVectorField;
location "0";
object U;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -25,14 +24,17 @@ boundaryField
{
type noSlip;
}
stator
{
type noSlip;
}
front
{
type empty;
}
back
{
type empty;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object epsilon;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -29,6 +28,7 @@ boundaryField
kappa 0.41;
E 9.8;
}
stator
{
type epsilonWallFunction;
@ -37,10 +37,12 @@ boundaryField
kappa 0.41;
E 9.8;
}
front
{
type empty;
}
back
{
type empty;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object k;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -26,15 +25,18 @@ boundaryField
type kqRWallFunction;
value $internalField;
}
stator
{
type kqRWallFunction;
value $internalField;
}
front
{
type empty;
}
back
{
type empty;

View File

@ -10,7 +10,6 @@ FoamFile
version 2.0;
format ascii;
class volScalarField;
location "0";
object nut;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -29,6 +28,7 @@ boundaryField
E 9.8;
value uniform 0;
}
stator
{
type nutkWallFunction;
@ -37,10 +37,12 @@ boundaryField
E 9.8;
value uniform 0;
}
front
{
type empty;
}
back
{
type empty;

View File

@ -1,11 +1,10 @@
#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
#------------------------------------------------------------------------------
m4 system/blockMeshDict.m4 > system/blockMeshDict
blockMesh
cleanCase0
topoSet
setsToZones -noFlipMap
rm -f system/blockMeshDict
#------------------------------------------------------------------------------

View File

@ -3,7 +3,10 @@ cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
runApplication ./makeMesh
./Allrun.pre
restore0Dir
runApplication $(getApplication)
#------------------------------------------------------------------------------

View File

@ -0,0 +1,14 @@
#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
m4 system/blockMeshDict.m4 > system/blockMeshDict
runApplication blockMesh
runApplication topoSet
runApplication setsToZones -noFlipMap
#------------------------------------------------------------------------------

View File

@ -31,7 +31,7 @@ writeControl adjustable;
writeInterval 0.25;
purgeWrite 10;
purgeWrite 0;
writeFormat ascii;

View File

@ -51,67 +51,7 @@ boundaryField
type zeroGradient;
}
WALL6
{
type zeroGradient;
}
WALL8
{
type zeroGradient;
}
WALL61
{
type zeroGradient;
}
WALL62
{
type zeroGradient;
}
WALL63
{
type zeroGradient;
}
WALL64
{
type zeroGradient;
}
WALL65
{
type zeroGradient;
}
WALL66
{
type zeroGradient;
}
WALL67
{
type zeroGradient;
}
WALL68
{
type zeroGradient;
}
WALL69
{
type zeroGradient;
}
WALL7
{
type zeroGradient;
}
WALL70
"WALL.*"
{
type zeroGradient;
}

View File

@ -56,79 +56,7 @@ boundaryField
value uniform 0;
}
WALL6
{
type fixedFluxPressure;
value uniform 0;
}
WALL8
{
type fixedFluxPressure;
value uniform 0;
}
WALL61
{
type fixedFluxPressure;
value uniform 0;
}
WALL62
{
type fixedFluxPressure;
value uniform 0;
}
WALL63
{
type fixedFluxPressure;
value uniform 0;
}
WALL64
{
type fixedFluxPressure;
value uniform 0;
}
WALL65
{
type fixedFluxPressure;
value uniform 0;
}
WALL66
{
type fixedFluxPressure;
value uniform 0;
}
WALL67
{
type fixedFluxPressure;
value uniform 0;
}
WALL68
{
type fixedFluxPressure;
value uniform 0;
}
WALL69
{
type fixedFluxPressure;
value uniform 0;
}
WALL7
{
type fixedFluxPressure;
value uniform 0;
}
WALL70
"WALL.*"
{
type fixedFluxPressure;
value uniform 0;

View File

@ -1,8 +1,8 @@
#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
#------------------------------------------------------------------------------
# Clean time directories only
rm -rf *[1-9]*
rm -f log.*
cleanCase0
#------------------------------------------------------------------------------

View File

@ -3,6 +3,9 @@ cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
cp -rf constant/polyMesh.orig constant/polyMesh
restore0Dir
runApplication $(getApplication)
#------------------------------------------------------------------------------

View File

@ -1,160 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
(
SYMP3
{
type patch;
startFace 53708;
nFaces 3191;
}
INLE1
{
type patch;
startFace 56899;
nFaces 45;
}
OUTL9
{
type patch;
startFace 56944;
nFaces 11;
}
OUTL10
{
type patch;
startFace 56955;
nFaces 11;
}
OUTL11
{
type patch;
startFace 56966;
nFaces 11;
}
OUTL12
{
type patch;
startFace 56977;
nFaces 11;
}
WALL6
{
type wall;
startFace 56988;
nFaces 1474;
}
WALL8
{
type wall;
startFace 58462;
nFaces 1640;
}
WALL61
{
type wall;
startFace 60102;
nFaces 44;
}
WALL62
{
type wall;
startFace 60146;
nFaces 78;
}
WALL63
{
type wall;
startFace 60224;
nFaces 255;
}
WALL64
{
type wall;
startFace 60479;
nFaces 157;
}
WALL65
{
type wall;
startFace 60636;
nFaces 35;
}
WALL66
{
type wall;
startFace 60671;
nFaces 60;
}
WALL67
{
type wall;
startFace 60731;
nFaces 55;
}
WALL68
{
type wall;
startFace 60786;
nFaces 116;
}
WALL69
{
type wall;
startFace 60902;
nFaces 24;
}
WALL7
{
type wall;
startFace 60926;
nFaces 121;
}
WALL70
{
type wall;
startFace 61047;
nFaces 182;
}
OUTL15
{
type patch;
startFace 61229;
nFaces 14;
}
)
// ************************************************************************* //

View File

@ -31,7 +31,7 @@ writeControl runTime;
writeInterval 50;
purgeWrite 10;
purgeWrite 0;
writeFormat binary;