Adding alphaEqn.H with interpolation method.

Adding special alphaCourantNo for overlaping
Adding bounded term to UEq.H for overInterDyMFoam
Changing to NO_WRITE for the cellMask field
Changing twoSimpleRotors tutorial to open domain
This commit is contained in:
sergio
2017-06-19 11:10:19 -07:00
parent ad8dfd4ad8
commit 6ff341b5f5
10 changed files with 233 additions and 37 deletions

View File

@ -16,7 +16,7 @@ FoamFile
dimensions [0 1 -1 0 0 0 0];
internalField uniform (0 0 0);
internalField uniform (0.1 0 0);
boundaryField
{
@ -36,16 +36,16 @@ boundaryField
value uniform (0 0 0);
}
// left1
// {
// type pressureInletOutletVelocity;
// value uniform (0 0 0);
// }
// left1
// {
// type fixedValue;
// value $internalField;
// }
outlet
{
type pressureInletOutletVelocity;
value uniform (0 0 0);
}
inlet
{
type fixedValue;
value $internalField;
}
//
// right1
// {

View File

@ -28,26 +28,15 @@ boundaryField
type zeroGradient;
}
// left1
// {
// type uniformTotalPressure;
// pressure table
// (
// (0 10)
// (1 40)
// );
// p0 40; // only used for restarts
// U U;
// phi phi;
// rho none;
// psi none;
// gamma 1;
// value uniform 40;
// }
// left1
// {
// type zeroGradient;
// }
outlet
{
type fixedValue;
value uniform 0;
}
inlet
{
type zeroGradient;
}
//
// right1
// {

View File

@ -94,7 +94,23 @@ boundary
(
(3 7 6 2)
(1 5 4 0)
);
}
inlet
{
type patch;
faces
(
(0 4 7 3)
);
}
outlet
{
type patch;
faces
(
(2 6 5 1)
);
}

View File

@ -24,7 +24,7 @@ startTime 0;
stopAt endTime;
endTime 0.06;
endTime 0.6;
deltaT 0.00025;

View File

@ -20,7 +20,7 @@ libs ("liboverset.so");
application overInterDyMFoam ;
startFrom startTime;
startFrom latestTime;//startTime;
startTime 0.0;
@ -32,7 +32,7 @@ deltaT 0.001;
writeControl adjustableRunTime;
writeInterval 0.05;
writeInterval 0.1;
purgeWrite 0;

View File

@ -80,8 +80,8 @@ solvers
PIMPLE
{
momentumPredictor no;
nOuterCorrectors 3;
nCorrectors 1;
nOuterCorrectors 2;
nCorrectors 2;
nNonOrthogonalCorrectors 0;
ddtCorr yes;