The parcelsPerSecond control can now be specified as a time-varying function. This provides additional control over the temporal distribution of injected parcels, which may be advantageous if, for example, the mass flow rate varies significantly. It also enables variable flow rates of particulates in cases which have a fixed number of particles per parcel.
174 lines
3.8 KiB
C++
174 lines
3.8 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
location "constant";
|
|
object cloudProperties;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
type reactingCloud;
|
|
|
|
solution
|
|
{
|
|
coupled true;
|
|
transient yes;
|
|
cellValueSourceCorrection on;
|
|
maxCo 0.3;
|
|
|
|
sourceTerms
|
|
{
|
|
schemes
|
|
{
|
|
rho explicit 1;
|
|
U explicit 1;
|
|
Yi explicit 1;
|
|
h explicit 1;
|
|
radiation explicit 1;
|
|
}
|
|
}
|
|
|
|
interpolationSchemes
|
|
{
|
|
rho cell;
|
|
U cellPoint;
|
|
mu cell;
|
|
T cell;
|
|
Cp cell;
|
|
kappa cell;
|
|
p cell;
|
|
}
|
|
|
|
integrationSchemes
|
|
{
|
|
U Euler;
|
|
T analytical;
|
|
}
|
|
}
|
|
|
|
|
|
constantProperties
|
|
{
|
|
rho0 1000;
|
|
T0 350;
|
|
Cp0 4100;
|
|
|
|
constantVolume false;
|
|
}
|
|
|
|
|
|
subModels
|
|
{
|
|
particleForces
|
|
{
|
|
sphereDrag;
|
|
gravity;
|
|
}
|
|
|
|
injectionModels
|
|
{
|
|
model1
|
|
{
|
|
type patchInjection;
|
|
SOI 0.01;
|
|
massFlowRate 16;
|
|
uniformParcelSize volume;
|
|
patchName inletCentral;
|
|
duration 10000;
|
|
parcelsPerSecond 1e5;
|
|
U0 (40 0 0);
|
|
flowRateProfile constant 1;
|
|
sizeDistribution
|
|
{
|
|
type tabulatedDensity;
|
|
Q 3;
|
|
distribution
|
|
(
|
|
(10e-06 0.0025)
|
|
(15e-06 0.0528)
|
|
(20e-06 0.2795)
|
|
(25e-06 1.0918)
|
|
(30e-06 2.3988)
|
|
(35e-06 4.4227)
|
|
(40e-06 6.3888)
|
|
(45e-06 8.6721)
|
|
(50e-06 10.3153)
|
|
(55e-06 11.6259)
|
|
(60e-06 12.0030)
|
|
(65e-06 10.4175)
|
|
(70e-06 10.8427)
|
|
(75e-06 8.0016)
|
|
(80e-06 6.1333)
|
|
(85e-06 3.8827)
|
|
(90e-06 3.4688)
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
dispersionModel stochasticDispersionRAS;
|
|
|
|
patchInteractionModel standardWallInteraction;
|
|
|
|
heatTransferModel RanzMarshall;
|
|
|
|
compositionModel singlePhaseMixture;
|
|
|
|
phaseChangeModel liquidEvaporation;
|
|
|
|
stochasticCollisionModel none;
|
|
|
|
surfaceFilmModel none;
|
|
|
|
radiation off;
|
|
|
|
standardWallInteractionCoeffs
|
|
{
|
|
type rebound;
|
|
}
|
|
|
|
RanzMarshallCoeffs
|
|
{
|
|
BirdCorrection off;
|
|
}
|
|
|
|
singlePhaseMixtureCoeffs
|
|
{
|
|
phases
|
|
(
|
|
liquid
|
|
{
|
|
H2O 1;
|
|
}
|
|
);
|
|
}
|
|
|
|
liquidEvaporationCoeffs
|
|
{
|
|
enthalpyTransfer enthalpyDifference;
|
|
|
|
activeLiquids ( H2O );
|
|
}
|
|
}
|
|
|
|
|
|
cloudFunctions
|
|
{
|
|
patchPostProcessing1
|
|
{
|
|
type patchPostProcessing;
|
|
maxStoredParcels 100;
|
|
patches ( outlet );
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|