ENH: Small changes on overBuoyantPimpleFoam tutorial

This commit is contained in:
sergio
2019-06-10 10:16:08 -07:00
committed by Andrew Heather
parent 5c58b07f5a
commit fa61775768
40 changed files with 68 additions and 174 deletions

View File

@ -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;
}
}
// ************************************************************************* //

View File

@ -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;
}
}
// ************************************************************************* //

View File

@ -51,7 +51,9 @@ boundaryField
outlet outlet
{ {
type zeroGradient; type inletOutlet;
inletValue uniform 0;
value uniform 0;
} }
frontAndBack_pos frontAndBack_pos

View File

@ -28,7 +28,9 @@ boundaryField
outlet outlet
{ {
type zeroGradient; type inletOutlet;
inletValue uniform 0;
value uniform 0;
} }
inletPilot inletPilot

View File

@ -28,7 +28,9 @@ boundaryField
outlet outlet
{ {
type zeroGradient; type inletOutlet;
inletValue uniform 0;
value uniform 0;
} }
inletPilot inletPilot

View File

@ -28,7 +28,9 @@ boundaryField
outlet outlet
{ {
type zeroGradient; type inletOutlet;
inletValue uniform 0;
value uniform 0;
} }
inletPilot inletPilot

View File

@ -28,7 +28,9 @@ boundaryField
outlet outlet
{ {
type zeroGradient; type inletOutlet;
inletValue uniform 0;
value uniform 0;
} }
inletPilot inletPilot

View File

@ -28,7 +28,9 @@ boundaryField
outlet outlet
{ {
type zeroGradient; type inletOutlet;
inletValue uniform 0;
value uniform 0;
} }
inletPilot inletPilot

View File

@ -29,7 +29,9 @@ boundaryField
wallOutside wallOutside
{ {
type zeroGradient; type inletOutlet;
inletValue uniform 0.77;
value uniform 0.77;
} }
wallTube wallTube

View File

@ -28,7 +28,9 @@ boundaryField
outlet outlet
{ {
type zeroGradient; type inletOutlet;
inletValue uniform 0;
value uniform 0;
} }
inletPilot inletPilot

View File

@ -51,7 +51,9 @@ boundaryField
outlet outlet
{ {
type zeroGradient; type inletOutlet;
inletValue uniform 0.23;
value uniform 0.23;
} }
frontAndBack_pos frontAndBack_pos

View File

@ -28,7 +28,9 @@ boundaryField
outlet outlet
{ {
type zeroGradient; type inletOutlet;
inletValue uniform 0;
value uniform 0;
} }
inletPilot inletPilot

View File

@ -51,7 +51,9 @@ boundaryField
outlet outlet
{ {
type zeroGradient; type inletOutlet;
inletValue uniform 300;
value uniform 300;
} }
frontAndBack_pos frontAndBack_pos

View File

@ -28,7 +28,9 @@ boundaryField
outlet outlet
{ {
type zeroGradient; type inletOutlet;
inletValue uniform 0;
value uniform 0;
} }
inletPilot inletPilot

View File

@ -32,7 +32,9 @@ boundaryField
outlet outlet
{ {
type zeroGradient; type inletOutlet;
inletValue uniform 30000;
value uniform 30000;
} }
inletPilot inletPilot

View File

@ -29,7 +29,9 @@ boundaryField
outlet outlet
{ {
type zeroGradient; type inletOutlet;
inletValue uniform 30;
value uniform 30;
} }
inletPilot inletPilot

View File

@ -22,10 +22,8 @@ internalField uniform 300;
boundaryField boundaryField
{ {
overset1 #includeEtc "caseDicts/setConstraintTypes"
{
type overset;
}
walls walls
{ {
type zeroGradient; type zeroGradient;

View File

@ -22,10 +22,8 @@ internalField uniform (0 0 0);
boundaryField boundaryField
{ {
overset1 #includeEtc "caseDicts/setConstraintTypes"
{
type overset;
}
walls walls
{ {
type uniformFixedValue; type uniformFixedValue;

View File

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

View File

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

View File

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

View File

@ -22,11 +22,8 @@ internalField uniform 0;
boundaryField boundaryField
{ {
overset1 #includeEtc "caseDicts/setConstraintTypes"
{
type overset;
value uniform 0;
}
walls walls
{ {
type nutkWallFunction; type nutkWallFunction;

View File

@ -22,10 +22,8 @@ internalField uniform 100000;
boundaryField boundaryField
{ {
overset1 #includeEtc "caseDicts/setConstraintTypes"
{
type overset;
}
walls walls
{ {
type calculated; type calculated;

View File

@ -22,11 +22,8 @@ internalField uniform 100000;
boundaryField boundaryField
{ {
overset1 #includeEtc "caseDicts/setConstraintTypes"
{
type overset;
value uniform 100000;
}
walls walls
{ {
type fixedFluxPressure; type fixedFluxPressure;

View File

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

View File

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

View File

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