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:
@ -39,14 +39,12 @@ edges
|
||||
|
||||
boundary
|
||||
(
|
||||
// Dummy patch to trigger overset interpolation before any other
|
||||
// bcs
|
||||
// Dummy patch to trigger overset interpolation before any other bcs
|
||||
oversetPatch
|
||||
{
|
||||
type overset;
|
||||
faces ();
|
||||
}
|
||||
|
||||
stationaryWalls
|
||||
{
|
||||
type wall;
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
libs (overset fvMotionSolvers);
|
||||
|
||||
application overInterDyMFoam ;
|
||||
application overInterDyMFoam;
|
||||
|
||||
startFrom latestTime;
|
||||
|
||||
@ -49,9 +49,12 @@ runTimeModifiable yes;
|
||||
adjustTimeStep yes;
|
||||
|
||||
maxCo 1.5;
|
||||
|
||||
maxAlphaCo 2.0;
|
||||
|
||||
maxDeltaT 1;
|
||||
|
||||
|
||||
functions
|
||||
{
|
||||
probes
|
||||
@ -76,7 +79,6 @@ functions
|
||||
(
|
||||
(0.00132 0.0009 0.005)
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
alphaVol
|
||||
@ -93,8 +95,8 @@ functions
|
||||
const volScalarField& alpha =
|
||||
mesh().lookupObject<volScalarField>("alpha.water");
|
||||
|
||||
Info<< "Alpha volume = " << alpha.weightedAverage(mesh().Vsc()) << endl;
|
||||
|
||||
Info<< "Alpha volume = " << alpha.weightedAverage(mesh().Vsc())
|
||||
<< endl;
|
||||
#};
|
||||
}
|
||||
}
|
||||
|
||||
@ -25,13 +25,19 @@ regions
|
||||
boxToCell
|
||||
{
|
||||
box ( -100 -100 -100 ) ( 100 100 0.5368 );
|
||||
fieldValues ( volScalarFieldValue alpha.water 1 );
|
||||
fieldValues
|
||||
(
|
||||
volScalarFieldValue alpha.water 1
|
||||
);
|
||||
}
|
||||
|
||||
boxToCell
|
||||
{
|
||||
box ( 0.9 0.9 -100 ) ( 100 100 0.75 );
|
||||
fieldValues ( volScalarFieldValue alpha.water 1 );
|
||||
fieldValues
|
||||
(
|
||||
volScalarFieldValue alpha.water 1
|
||||
);
|
||||
}
|
||||
|
||||
cellToCell
|
||||
|
||||
Reference in New Issue
Block a user