mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
Updated Piso/ErgunTestMPI_cgs tutorial.
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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;
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
|
||||||
@ -67,7 +67,7 @@ momCoupleModels
|
|||||||
implicitCouple
|
implicitCouple
|
||||||
);
|
);
|
||||||
|
|
||||||
turbulenceModelType "RASProperties";//"LESProperties";//
|
turbulenceModelType "turbulenceProperties";
|
||||||
|
|
||||||
//===========================================================================//
|
//===========================================================================//
|
||||||
// sub-model properties
|
// sub-model properties
|
||||||
|
|||||||
@ -15,7 +15,7 @@ FoamFile
|
|||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
simulationType RASModel;
|
simulationType laminar;
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -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;
|
|
||||||
}*/
|
|
||||||
);
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
Reference in New Issue
Block a user