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

@ -38,16 +38,19 @@ boundaryField
type pressureInletOutletVelocity;
value uniform (0 0 0);
}
sidePatch
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}
atmosphere
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}
floatingObject
{
type movingWallVelocity;

View File

@ -39,12 +39,14 @@ boundaryField
upperBound 1;
value uniform 0;
}
atmosphere
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
floatingObject
{
// type variableHeightFlowRate;
@ -53,6 +55,7 @@ boundaryField
// value uniform 0;
type zeroGradient;
}
sidePatch
{
type variableHeightFlowRate;

View File

@ -28,24 +28,25 @@ boundaryField
inletValue uniform 0.1;
value uniform 0.1;
}
"(atmosphere|sidePatch)"
{
type inletOutlet;
inletValue uniform 0.1;
value uniform 0.1;
}
floatingObject
{
type epsilonWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0.1;
}
overset
{
type overset;
}
oversetPatch
{
type overset;

View File

@ -24,25 +24,29 @@ boundaryField
stationaryWalls
{
type inletOutlet;
type inletOutlet;
inletValue uniform 0.01;
value uniform 0.01;
}
"(atmosphere|sidePatch)"
{
type inletOutlet;
inletValue uniform 0.01;
value uniform 0.01;
}
floatingObject
{
type kqRWallFunction;
value uniform 0.01;
}
overset
{
type overset;
}
oversetPatch
{
type overset;

View File

@ -27,24 +27,25 @@ boundaryField
type calculated;
value uniform 0;
}
"(atmosphere|sidePatch)"
{
type calculated;
value uniform 0;
}
floatingObject
{
type nutkWallFunction;
Cmu 0.09;
kappa 0.41;
E 9.8;
value uniform 0;
}
overset
{
patchType overset;
type zeroGradient;
}
oversetPatch
{
type overset;

View File

@ -24,10 +24,12 @@ boundaryField
{
type overset;
}
"(stationaryWalls|sidePatch)"
{
type fixedFluxPressure;
}
atmosphere
{
type totalPressure;
@ -39,10 +41,12 @@ boundaryField
gamma 1;
value uniform 0;
}
floatingObject
{
type fixedFluxPressure;
}
overset
{
patchType overset;

View File

@ -27,21 +27,25 @@ boundaryField
type calculated;
value uniform (0 0 0);
}
"(atmosphere|sidePatch)"
{
type calculated;
value uniform (0 0 0);
}
floatingObject
{
type calculated;
value uniform (0 0 0);
}
oversetPatch
{
patchType overset;
type zeroGradient;
}
sides
{
patchType overset;

View File

@ -26,15 +26,18 @@ boundaryField
{
type zeroGradient;
}
atmosphere
{
type zeroGradient;
}
floatingObject
{
type zeroGradient;
}
oversetPatch
oversetPatch
{
patchType overset;
type zeroGradient;

View File

@ -19,17 +19,17 @@ phases (water air);
water
{
transportModel Newtonian;
nu nu [ 0 2 -1 0 0 0 0 ] 1e-06;
rho rho [ 1 -3 0 0 0 0 0 ] 998.2;
nu 1e-06;
rho 998.2;
}
air
{
transportModel Newtonian;
nu nu [ 0 2 -1 0 0 0 0 ] 1.48e-05;
rho rho [ 1 -3 0 0 0 0 0 ] 1;
nu 1.48e-05;
rho 1;
}
sigma sigma [ 1 0 -2 0 0 0 0 ] 0.007;
sigma 0.007;
// ************************************************************************* //

View File

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

View File

@ -55,11 +55,10 @@ runTimeModifiable yes;
adjustTimeStep yes;
maxCo 5.0;
maxAlphaCo 2.0;
maxDeltaT 0.1;
functions
{
}
// ************************************************************************* //

View File

@ -54,7 +54,7 @@ snGradSchemes
oversetInterpolation
{
method inverseDistance;//cellVolumeWeight
method inverseDistance; //cellVolumeWeight
}
oversetInterpolationSuppressed

View File

@ -16,7 +16,6 @@ FoamFile
solvers
{
"cellDisplacement.*"
{
solver PCG;

View File

@ -25,14 +25,21 @@ regions
boxToCell
{
box ( -100 -100 -100 ) ( 100 100 0.5368 );
fieldValues ( volScalarFieldValue alpha.water 1 );
fieldValues
(
volScalarFieldValue alpha.water 1
);
}
boxToFace
{
box ( -100 -100 -100 ) ( 100 100 0.5368 );
fieldValues ( volScalarFieldValue alpha.water 1 );
fieldValues
(
volScalarFieldValue alpha.water 1
);
}
/*
boxToCell
{
@ -50,6 +57,7 @@ regions
volScalarFieldValue zoneID 0
);
}
cellToCell
{
set c1;
@ -59,7 +67,6 @@ regions
volScalarFieldValue zoneID 1
);
}
);
// ************************************************************************* //