Updated Piso/ErgunTestMPI_cgs tutorial.

This commit is contained in:
Thomas Lichtenegger
2016-08-01 15:48:27 +02:00
parent 4ce5838238
commit ec60bf8eee
5 changed files with 4 additions and 76 deletions

View File

@ -23,34 +23,11 @@ boundaryField
wall wall
{ {
//type fixedValue;
//value uniform (0 0 0);
type slip; type slip;
} }
inlet inlet
{ {
/*type flowRateInletVelocity;
flowRate 0.001;
value uniform (0 0 0);*/
/*type fixedValue;
value uniform (0 0 0.0001);*/
//type zeroGradient;
/*type groovyBC;
variables "Uend=vector(0,0,2);tEnd=0.1;";
valueExpression "((time() < tEnd) ? Uend/tEnd*time():Uend)";
value uniform (0 0 0);*/
/*// 2.0.x, 1.6,ext
type timeVaryingUniformFixedValue;
fileName "steps_0p1s";
outOfBounds clamp;
value uniform (0 0 0);*/
// 2.1.x
type uniformFixedValue; type uniformFixedValue;
uniformValue table uniformValue table
( (
@ -79,9 +56,6 @@ boundaryField
outlet outlet
{ {
/*type fluxCorrectedVelocity; //inletOutlet;
value uniform (0 0 0);
inletValue uniform (0 0 0);*/
type zeroGradient; type zeroGradient;
} }
} }

View File

@ -1,25 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object RASProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
RASModel laminar;
turbulence off;
printCoeffs on;
// ************************************************************************* //

View File

@ -67,7 +67,7 @@ momCoupleModels
implicitCouple implicitCouple
); );
turbulenceModelType "RASProperties";//"LESProperties";// turbulenceModelType "turbulenceProperties";
//===========================================================================// //===========================================================================//
// sub-model properties // sub-model properties

View File

@ -15,7 +15,7 @@ FoamFile
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
simulationType RASModel; simulationType laminar;
// ************************************************************************* // // ************************************************************************* //

View File

@ -149,8 +149,7 @@ DimensionedConstants
} }
functions functions
( {
probes probes
{ {
type probes; type probes;
@ -190,25 +189,5 @@ functions
outputControl timeStep;//outputTime; outputControl timeStep;//outputTime;
outputInterval 1; outputInterval 1;
} }
};
/*pressureDrop
{
type patchAverage;
functionObjectLibs
(
"libsimpleFunctionObjects.so"
);
verbose true;
patches
(
inlet
outlet
);
fields
(
p
);
factor 1;
}*/
);
// ************************************************************************* // // ************************************************************************* //