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.
155 lines
3.2 KiB
C++
155 lines
3.2 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;
|
|
|
|
libs ("libfilmCloudTransfer.so");
|
|
|
|
solution
|
|
{
|
|
coupled no;
|
|
transient yes;
|
|
cellValueSourceCorrection no;
|
|
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 300;
|
|
Cp0 4187;
|
|
|
|
constantVolume false;
|
|
}
|
|
|
|
subModels
|
|
{
|
|
particleForces
|
|
{
|
|
sphereDrag;
|
|
gravity;
|
|
}
|
|
|
|
injectionModels
|
|
{
|
|
model1
|
|
{
|
|
type reactingLookupTableInjection;
|
|
uniformParcelSize volume;
|
|
SOI 0.01;
|
|
inputFile "parcelInjectionProperties";
|
|
duration 10.0;
|
|
parcelsPerSecond 1000;
|
|
randomise true;
|
|
}
|
|
}
|
|
|
|
dispersionModel none;
|
|
|
|
patchInteractionModel standardWallInteraction;
|
|
|
|
heatTransferModel none;
|
|
|
|
compositionModel singlePhaseMixture;
|
|
|
|
phaseChangeModel none;
|
|
|
|
stochasticCollisionModel none;
|
|
|
|
surfaceFilmModel cloudFilmTransfer;
|
|
|
|
radiation off;
|
|
|
|
standardWallInteractionCoeffs
|
|
{
|
|
type rebound;
|
|
}
|
|
|
|
singlePhaseMixtureCoeffs
|
|
{
|
|
phases
|
|
(
|
|
liquid
|
|
{
|
|
H2O 1;
|
|
}
|
|
);
|
|
}
|
|
|
|
cloudFilmTransferCoeffs
|
|
{
|
|
interactionType splashBai;
|
|
deltaWet 0.0005;
|
|
Adry 2630;
|
|
Awet 1320;
|
|
Cf 0.6;
|
|
}
|
|
}
|
|
|
|
|
|
cloudFunctions
|
|
{
|
|
particleCollector1
|
|
{
|
|
type particleCollector;
|
|
|
|
mode concentricCircle;
|
|
origin (0.05 0.025 0.005);
|
|
radius (0.01 0.025 0.05);
|
|
nSector 10;
|
|
refDir (1 0 0);
|
|
normal (0 0 1);
|
|
|
|
negateParcelsOppositeNormal no;
|
|
removeCollected no;
|
|
surfaceFormat vtk;
|
|
resetOnWrite no;
|
|
log yes;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|