mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Small changes on overBuoyantPimpleFoam tutorial
This commit is contained in:
@ -1,55 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
| ========= | |
|
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
||||||
| \\ / O peration | Version: v1806 |
|
|
||||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
||||||
| \\/ M anipulation | |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
version 2.0;
|
|
||||||
format ascii;
|
|
||||||
class volVectorField;
|
|
||||||
object U;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 1 -1 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform (0 0 0);
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
down
|
|
||||||
{
|
|
||||||
type symmetryPlane;
|
|
||||||
}
|
|
||||||
|
|
||||||
right
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
up
|
|
||||||
{
|
|
||||||
type symmetryPlane;
|
|
||||||
}
|
|
||||||
|
|
||||||
left
|
|
||||||
{
|
|
||||||
type uniformFixedValue;
|
|
||||||
uniformValue constant (1 0 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
cylinder
|
|
||||||
{
|
|
||||||
type symmetry;
|
|
||||||
}
|
|
||||||
|
|
||||||
defaultFaces
|
|
||||||
{
|
|
||||||
type empty;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -1,55 +0,0 @@
|
|||||||
/*--------------------------------*- C++ -*----------------------------------*\
|
|
||||||
| ========= | |
|
|
||||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
||||||
| \\ / O peration | Version: v1806 |
|
|
||||||
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
||||||
| \\/ M anipulation | |
|
|
||||||
\*---------------------------------------------------------------------------*/
|
|
||||||
FoamFile
|
|
||||||
{
|
|
||||||
version 2.0;
|
|
||||||
format ascii;
|
|
||||||
class volScalarField;
|
|
||||||
object p;
|
|
||||||
}
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
dimensions [0 2 -2 0 0 0 0];
|
|
||||||
|
|
||||||
internalField uniform 0;
|
|
||||||
|
|
||||||
boundaryField
|
|
||||||
{
|
|
||||||
down
|
|
||||||
{
|
|
||||||
type symmetryPlane;
|
|
||||||
}
|
|
||||||
|
|
||||||
right
|
|
||||||
{
|
|
||||||
type fixedValue;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
up
|
|
||||||
{
|
|
||||||
type symmetryPlane;
|
|
||||||
}
|
|
||||||
|
|
||||||
left
|
|
||||||
{
|
|
||||||
type zeroGradient;
|
|
||||||
}
|
|
||||||
|
|
||||||
cylinder
|
|
||||||
{
|
|
||||||
type symmetry;
|
|
||||||
}
|
|
||||||
|
|
||||||
defaultFaces
|
|
||||||
{
|
|
||||||
type empty;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -51,7 +51,9 @@ boundaryField
|
|||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type inletOutlet;
|
||||||
|
inletValue uniform 0;
|
||||||
|
value uniform 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
frontAndBack_pos
|
frontAndBack_pos
|
||||||
|
|||||||
@ -28,7 +28,9 @@ boundaryField
|
|||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type inletOutlet;
|
||||||
|
inletValue uniform 0;
|
||||||
|
value uniform 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
inletPilot
|
inletPilot
|
||||||
|
|||||||
@ -28,7 +28,9 @@ boundaryField
|
|||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type inletOutlet;
|
||||||
|
inletValue uniform 0;
|
||||||
|
value uniform 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
inletPilot
|
inletPilot
|
||||||
|
|||||||
@ -28,7 +28,9 @@ boundaryField
|
|||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type inletOutlet;
|
||||||
|
inletValue uniform 0;
|
||||||
|
value uniform 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
inletPilot
|
inletPilot
|
||||||
|
|||||||
@ -28,7 +28,9 @@ boundaryField
|
|||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type inletOutlet;
|
||||||
|
inletValue uniform 0;
|
||||||
|
value uniform 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
inletPilot
|
inletPilot
|
||||||
|
|||||||
@ -28,7 +28,9 @@ boundaryField
|
|||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type inletOutlet;
|
||||||
|
inletValue uniform 0;
|
||||||
|
value uniform 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
inletPilot
|
inletPilot
|
||||||
|
|||||||
@ -29,7 +29,9 @@ boundaryField
|
|||||||
|
|
||||||
wallOutside
|
wallOutside
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type inletOutlet;
|
||||||
|
inletValue uniform 0.77;
|
||||||
|
value uniform 0.77;
|
||||||
}
|
}
|
||||||
|
|
||||||
wallTube
|
wallTube
|
||||||
|
|||||||
@ -28,7 +28,9 @@ boundaryField
|
|||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type inletOutlet;
|
||||||
|
inletValue uniform 0;
|
||||||
|
value uniform 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
inletPilot
|
inletPilot
|
||||||
|
|||||||
@ -51,7 +51,9 @@ boundaryField
|
|||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type inletOutlet;
|
||||||
|
inletValue uniform 0.23;
|
||||||
|
value uniform 0.23;
|
||||||
}
|
}
|
||||||
|
|
||||||
frontAndBack_pos
|
frontAndBack_pos
|
||||||
|
|||||||
@ -28,7 +28,9 @@ boundaryField
|
|||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type inletOutlet;
|
||||||
|
inletValue uniform 0;
|
||||||
|
value uniform 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
inletPilot
|
inletPilot
|
||||||
|
|||||||
@ -51,7 +51,9 @@ boundaryField
|
|||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type inletOutlet;
|
||||||
|
inletValue uniform 300;
|
||||||
|
value uniform 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
frontAndBack_pos
|
frontAndBack_pos
|
||||||
|
|||||||
@ -28,7 +28,9 @@ boundaryField
|
|||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type inletOutlet;
|
||||||
|
inletValue uniform 0;
|
||||||
|
value uniform 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
inletPilot
|
inletPilot
|
||||||
|
|||||||
@ -32,7 +32,9 @@ boundaryField
|
|||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type inletOutlet;
|
||||||
|
inletValue uniform 30000;
|
||||||
|
value uniform 30000;
|
||||||
}
|
}
|
||||||
|
|
||||||
inletPilot
|
inletPilot
|
||||||
|
|||||||
@ -29,7 +29,9 @@ boundaryField
|
|||||||
|
|
||||||
outlet
|
outlet
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type inletOutlet;
|
||||||
|
inletValue uniform 30;
|
||||||
|
value uniform 30;
|
||||||
}
|
}
|
||||||
|
|
||||||
inletPilot
|
inletPilot
|
||||||
|
|||||||
@ -22,10 +22,8 @@ internalField uniform 300;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
overset1
|
#includeEtc "caseDicts/setConstraintTypes"
|
||||||
{
|
|
||||||
type overset;
|
|
||||||
}
|
|
||||||
walls
|
walls
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
@ -22,10 +22,8 @@ internalField uniform (0 0 0);
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
overset1
|
#includeEtc "caseDicts/setConstraintTypes"
|
||||||
{
|
|
||||||
type overset;
|
|
||||||
}
|
|
||||||
walls
|
walls
|
||||||
{
|
{
|
||||||
type uniformFixedValue;
|
type uniformFixedValue;
|
||||||
@ -22,11 +22,8 @@ internalField uniform 0;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
overset1
|
#includeEtc "caseDicts/setConstraintTypes"
|
||||||
{
|
|
||||||
type overset;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
walls
|
walls
|
||||||
{
|
{
|
||||||
type compressible::alphatWallFunction;
|
type compressible::alphatWallFunction;
|
||||||
@ -22,11 +22,7 @@ internalField uniform 0.1;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
overset1
|
#includeEtc "caseDicts/setConstraintTypes"
|
||||||
{
|
|
||||||
type overset;
|
|
||||||
value uniform 0.1;
|
|
||||||
}
|
|
||||||
walls
|
walls
|
||||||
{
|
{
|
||||||
type epsilonWallFunction;
|
type epsilonWallFunction;
|
||||||
@ -22,11 +22,7 @@ internalField uniform 0.01;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
overset1
|
#includeEtc "caseDicts/setConstraintTypes"
|
||||||
{
|
|
||||||
type overset;
|
|
||||||
value uniform 0.01;
|
|
||||||
}
|
|
||||||
walls
|
walls
|
||||||
{
|
{
|
||||||
type kqRWallFunction;
|
type kqRWallFunction;
|
||||||
@ -22,11 +22,8 @@ internalField uniform 0;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
overset1
|
#includeEtc "caseDicts/setConstraintTypes"
|
||||||
{
|
|
||||||
type overset;
|
|
||||||
value uniform 0;
|
|
||||||
}
|
|
||||||
walls
|
walls
|
||||||
{
|
{
|
||||||
type nutkWallFunction;
|
type nutkWallFunction;
|
||||||
@ -22,10 +22,8 @@ internalField uniform 100000;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
overset1
|
#includeEtc "caseDicts/setConstraintTypes"
|
||||||
{
|
|
||||||
type overset;
|
|
||||||
}
|
|
||||||
walls
|
walls
|
||||||
{
|
{
|
||||||
type calculated;
|
type calculated;
|
||||||
@ -22,11 +22,8 @@ internalField uniform 100000;
|
|||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
overset1
|
#includeEtc "caseDicts/setConstraintTypes"
|
||||||
{
|
|
||||||
type overset;
|
|
||||||
value uniform 100000;
|
|
||||||
}
|
|
||||||
walls
|
walls
|
||||||
{
|
{
|
||||||
type fixedFluxPressure;
|
type fixedFluxPressure;
|
||||||
@ -18,15 +18,12 @@ FoamFile
|
|||||||
dimensions [0 0 0 0 0 0 0];
|
dimensions [0 0 0 0 0 0 0];
|
||||||
|
|
||||||
|
|
||||||
internalField uniform 0;
|
internalField uniform 0;
|
||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
overset1
|
#includeEtc "caseDicts/setConstraintTypes"
|
||||||
{
|
|
||||||
type overset;
|
|
||||||
value uniform 1;
|
|
||||||
}
|
|
||||||
walls
|
walls
|
||||||
{
|
{
|
||||||
type zeroGradient;
|
type zeroGradient;
|
||||||
@ -14,6 +14,8 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs ("liboverset.so" "libfvMotionSolvers.so");
|
||||||
|
|
||||||
DebugSwitches
|
DebugSwitches
|
||||||
{
|
{
|
||||||
overset 0;
|
overset 0;
|
||||||
@ -35,7 +37,7 @@ deltaT 0.001;
|
|||||||
|
|
||||||
writeControl adjustableRunTime;
|
writeControl adjustableRunTime;
|
||||||
|
|
||||||
writeInterval 0.05;
|
writeInterval 0.02;
|
||||||
|
|
||||||
purgeWrite 0;
|
purgeWrite 0;
|
||||||
|
|
||||||
@ -51,8 +53,8 @@ timePrecision 6;
|
|||||||
|
|
||||||
runTimeModifiable true;
|
runTimeModifiable true;
|
||||||
|
|
||||||
adjustTimeStep no;
|
adjustTimeStep yes;
|
||||||
|
|
||||||
maxCo 1;
|
maxCo 0.5;
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
@ -56,11 +56,11 @@ snGradSchemes
|
|||||||
|
|
||||||
oversetInterpolation
|
oversetInterpolation
|
||||||
{
|
{
|
||||||
method cellVolumeWeight;
|
//method cellVolumeWeight;
|
||||||
//method inverseDistance;
|
method inverseDistance;
|
||||||
|
|
||||||
searchBox (-0.002 0 0)(0.107 0.5 0.01);
|
searchBox (-0.002 0 0)(0.107 0.05 0.01);
|
||||||
searchBoxDivisions (200 200 1);
|
searchBoxDivisions (300 200 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
fluxRequired
|
fluxRequired
|
||||||
Reference in New Issue
Block a user