185 lines
3.7 KiB
C++
185 lines
3.7 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "constant";
|
|
object particleProperties;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solution
|
|
{
|
|
active true;
|
|
coupled true;
|
|
transient yes;
|
|
cellValueSourceCorrection on;
|
|
|
|
maxCo 1.0;
|
|
|
|
interpolationSchemes
|
|
{
|
|
rho.air cell;
|
|
U.air cellPoint;
|
|
mu.air cell;
|
|
}
|
|
|
|
averagingMethod dual;
|
|
|
|
integrationSchemes
|
|
{
|
|
U Euler;
|
|
}
|
|
|
|
sourceTerms
|
|
{
|
|
schemes
|
|
{
|
|
U semiImplicit 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
constantProperties
|
|
{
|
|
rho0 1000;
|
|
alphaMax 0.9;
|
|
}
|
|
|
|
subModels
|
|
{
|
|
particleForces
|
|
{
|
|
ErgunWenYuDrag
|
|
{
|
|
alphac alpha.air;
|
|
}
|
|
gravity;
|
|
}
|
|
|
|
injectionModels
|
|
{
|
|
model1
|
|
{
|
|
type patchInjection;
|
|
parcelBasisType fixed;
|
|
patchName inlet;
|
|
U0 (-10 0 0);
|
|
nParticle 500000;
|
|
parcelsPerSecond 244462;
|
|
sizeDistribution
|
|
{
|
|
type normal;
|
|
normalDistribution
|
|
{
|
|
expectation 50e-6;
|
|
variance 20e-6;
|
|
minValue 10e-6;
|
|
maxValue 90e-6;
|
|
}
|
|
}
|
|
flowRateProfile constant 1;
|
|
massTotal 0;
|
|
SOI 1;
|
|
duration 4;
|
|
}
|
|
}
|
|
|
|
dispersionModel none;
|
|
|
|
patchInteractionModel localInteraction;
|
|
|
|
localInteractionCoeffs
|
|
{
|
|
patches
|
|
(
|
|
walls
|
|
{
|
|
type rebound;
|
|
e 0.97;
|
|
mu 0.09;
|
|
}
|
|
inlet
|
|
{
|
|
type rebound;
|
|
e 0.97;
|
|
mu 0.09;
|
|
}
|
|
outlet
|
|
{
|
|
type escape;
|
|
}
|
|
);
|
|
}
|
|
|
|
heatTransferModel none;
|
|
|
|
surfaceFilmModel none;
|
|
|
|
packingModel implicit;
|
|
|
|
explicitCoeffs
|
|
{
|
|
particleStressModel
|
|
{
|
|
type HarrisCrighton;
|
|
alphaPacked 0.6;
|
|
pSolid 10.0;
|
|
beta 2.0;
|
|
eps 1.0e-7;
|
|
}
|
|
correctionLimitingMethod
|
|
{
|
|
type absolute;
|
|
e 0.9;
|
|
}
|
|
}
|
|
|
|
implicitCoeffs
|
|
{
|
|
alphaMin 0.0001;
|
|
rhoMin 1.0;
|
|
applyGravity false;
|
|
particleStressModel
|
|
{
|
|
type HarrisCrighton;
|
|
alphaPacked 0.6;
|
|
pSolid 5.0;
|
|
beta 2.0;
|
|
eps 1.0e-2;
|
|
}
|
|
}
|
|
|
|
dampingModel none;
|
|
|
|
isotropyModel stochastic;
|
|
|
|
stochasticCoeffs
|
|
{
|
|
timeScaleModel
|
|
{
|
|
type isotropic;
|
|
alphaPacked 0.6;
|
|
e 0.9;
|
|
}
|
|
}
|
|
|
|
stochasticCollisionModel none;
|
|
|
|
radiation off;
|
|
}
|
|
|
|
|
|
cloudFunctions
|
|
{}
|
|
|
|
|
|
// ************************************************************************* //
|