mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: clean up multiphase tutorials
This commit is contained in:
@ -61,13 +61,12 @@ vertices
|
||||
|
||||
blocks
|
||||
(
|
||||
// hex (0 1 2 3 4 5 6 7) background (60 40 56) simpleGrading (1 1 1) // coarser mesh cell size 0.025 m
|
||||
hex (0 1 2 3 4 5 6 7) background (75 50 70) simpleGrading (1 1 1) // cell size 0.02 m
|
||||
|
||||
// hex (0 1 2 3 4 5 6 7) background (60 40 56)
|
||||
// simpleGrading (1 1 1) // coarser mesh cell size 0.025 m
|
||||
hex (0 1 2 3 4 5 6 7) background (75 50 70)
|
||||
simpleGrading (1 1 1) // cell size 0.02 m
|
||||
hex (8 9 10 11 12 13 14 15) hullBox (32 16 16) simpleGrading (1 1 1)
|
||||
|
||||
hex (16 17 18 19 20 21 22 23) propeller (10 20 20) simpleGrading (1 1 1)
|
||||
|
||||
hex (24 25 26 27 28 29 30 31) rudder (20 22 11) simpleGrading (1 1 1)
|
||||
);
|
||||
|
||||
@ -90,7 +89,6 @@ boundary
|
||||
(12 13 14 15)
|
||||
);
|
||||
}
|
||||
|
||||
overset2 //oversetPropeller
|
||||
{
|
||||
type overset;
|
||||
@ -104,7 +102,6 @@ boundary
|
||||
(19 18 17 16)
|
||||
);
|
||||
}
|
||||
|
||||
overset3 //oversetRudder
|
||||
{
|
||||
type overset;
|
||||
@ -118,26 +115,22 @@ boundary
|
||||
(24 25 29 28)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
// Populated by subsetMesh
|
||||
hullWall
|
||||
{
|
||||
type wall;
|
||||
faces ();
|
||||
}
|
||||
propellerWall
|
||||
{
|
||||
type wall;
|
||||
faces ();
|
||||
}
|
||||
rudderWall
|
||||
{
|
||||
type wall;
|
||||
faces ();
|
||||
}
|
||||
|
||||
|
||||
// Populated by subsetMesh
|
||||
hullWall
|
||||
{
|
||||
type wall;
|
||||
faces ();
|
||||
}
|
||||
propellerWall
|
||||
{
|
||||
type wall;
|
||||
faces ();
|
||||
}
|
||||
rudderWall
|
||||
{
|
||||
type wall;
|
||||
faces ();
|
||||
}
|
||||
atmosphere
|
||||
{
|
||||
type patch;
|
||||
@ -147,7 +140,6 @@ boundary
|
||||
// (1 5 4 0)
|
||||
);
|
||||
}
|
||||
|
||||
defaultFaces
|
||||
{
|
||||
type wall;
|
||||
|
||||
@ -14,7 +14,6 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
|
||||
libs
|
||||
(
|
||||
overset
|
||||
@ -54,13 +53,15 @@ runTimeModifiable true;
|
||||
|
||||
adjustTimeStep yes;
|
||||
|
||||
|
||||
maxCo 4.0;
|
||||
|
||||
maxAlphaCo 5.0;
|
||||
|
||||
maxDeltaT 1;
|
||||
|
||||
|
||||
functions
|
||||
{
|
||||
|
||||
minMax
|
||||
{
|
||||
type fieldMinMax;
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
note "mesh decomposition control dictionary";
|
||||
object decomposeParDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -22,8 +21,6 @@ method hierarchical;
|
||||
coeffs
|
||||
{
|
||||
n (2 2 2);
|
||||
// delta 0.001;
|
||||
// order xyz;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -26,7 +26,7 @@ gradSchemes
|
||||
|
||||
divSchemes
|
||||
{
|
||||
div(rhoPhi,U) Gauss upwind ;//limitedLinearV 1;
|
||||
div(rhoPhi,U) Gauss upwind;
|
||||
div(U) Gauss linear;
|
||||
div(phi,alpha) Gauss vanLeer;
|
||||
div(phirb,alpha) Gauss linear;
|
||||
@ -39,7 +39,7 @@ divSchemes
|
||||
|
||||
laplacianSchemes
|
||||
{
|
||||
default Gauss linear uncorrected;//uncorrected;
|
||||
default Gauss linear uncorrected;
|
||||
}
|
||||
|
||||
interpolationSchemes
|
||||
@ -49,7 +49,7 @@ interpolationSchemes
|
||||
|
||||
snGradSchemes
|
||||
{
|
||||
default uncorrected;//uncorrected;
|
||||
default uncorrected;
|
||||
}
|
||||
|
||||
oversetInterpolation
|
||||
|
||||
@ -16,12 +16,10 @@ FoamFile
|
||||
|
||||
solvers
|
||||
{
|
||||
|
||||
"cellDisplacement.*"
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
|
||||
tolerance 1e-06;
|
||||
relTol 0;
|
||||
maxIter 300;
|
||||
|
||||
@ -24,13 +24,19 @@ regions
|
||||
boxToCell
|
||||
{
|
||||
box ( -100 -100 -100 ) ( 100 0.0 100 );
|
||||
fieldValues ( volScalarFieldValue alpha.water 1 );
|
||||
fieldValues
|
||||
(
|
||||
volScalarFieldValue alpha.water 1
|
||||
);
|
||||
}
|
||||
|
||||
boxToFace
|
||||
{
|
||||
box ( -100 -100 -100 ) ( 100 0.0 100 );
|
||||
fieldValues ( volScalarFieldValue alpha.water 1 );
|
||||
fieldValues
|
||||
(
|
||||
volScalarFieldValue alpha.water 1
|
||||
);
|
||||
}
|
||||
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user