ENH: Changing non-interpolation field in versetFvPatchField

for correct run time reading.
Setting up twoSimpleRotors tutorial for smooth pressure
fluctuations
This commit is contained in:
sergio
2018-10-01 17:11:39 -07:00
parent ebdb227863
commit d0c39b0e27
9 changed files with 49 additions and 20 deletions

View File

@ -14,7 +14,7 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType RAS;
simulationType laminar;
RAS
{

View File

@ -37,7 +37,7 @@ vertices
( 0.85 0.65 1)
( 0.15 0.65 1)
// movingZone2
// // movingZone2
( 0.75 0.15 0)
( 1.05 0.15 0)
( 1.05 0.85 0)
@ -46,6 +46,15 @@ vertices
( 1.05 0.15 1)
( 1.05 0.85 1)
( 0.75 0.85 1)
// ( 0.95 0.15 0)
// ( 1.25 0.15 0)
// ( 1.25 0.85 0)
// ( 0.95 0.85 0)
// ( 0.95 0.15 1)
// ( 1.25 0.15 1)
// ( 1.25 0.85 1)
// ( 0.95 0.85 1)
);
blocks

View File

@ -20,23 +20,24 @@ DebugSwitches
{
overset 0;
dynamicOversetFvMesh 0;
cellVolumeWeight 0;
}
application overPimpleDyMFoam;
startFrom startTime;
startFrom latestTime;
startTime 0;
stopAt endTime;
endTime 0.08;
endTime 0.8;
deltaT 2e-5;
writeControl adjustableRunTime;
writeControl timeStep;
writeInterval 0.005;
writeInterval 30;
purgeWrite 0;
@ -52,10 +53,9 @@ timePrecision 6;
runTimeModifiable true;
adjustTimeStep no;
maxCo 1;
adjustTimeStep true;
maxCo 1;
functions
{
@ -80,7 +80,7 @@ functions
probeLocations
(
(0.015 0.005 0.005) // at inlet
(0.015 0.005 0.005)
);
}

View File

@ -29,8 +29,8 @@ divSchemes
default none;
div(phi,U) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss limitedLinear 1;
div(phi,k) Gauss limitedLinear 1;
div((nuEff*dev2(T(grad(U))))) Gauss linear;
}

View File

@ -30,7 +30,7 @@ solvers
{
solver PBiCGStab;
preconditioner DILU;
tolerance 1e-9;
tolerance 1e-11;
relTol 0.01;
}
@ -71,10 +71,10 @@ solvers
PIMPLE
{
momentumPredictor true;
momentumPredictor false;
correctPhi no;
nOuterCorrectors 1;
nCorrectors 5;
nCorrectors 3;
nNonOrthogonalCorrectors 0;
ddtCorr true;

View File

@ -100,8 +100,9 @@ actions
{
boxes
(
(0.0025 0.0045 -100)(0.0075 0.0055 100)
(0.0085 0.0025 -100)(0.0095 0.0075 100)
(0.0025 0.0045 -100)(0.0075 0.0055 100)
(0.0085 0.0025 -100)(0.0095 0.0075 100)
// (0.0104 0.0025 -100)(0.0115 0.0075 100)
);
}
}