particleFoam has been superseded and replaced by the more general functions
solver module executed by the foamRun application:
foamRun -solver functions
The incompressibleFluid solver specified by either the subSolver or if not
present the solver entry in the controlDict is instantiated to provide the
physical fields needed by fvModel functionObject in which the clouds fvModel is
selected to evolve the Lagrangian particles. See:
tutorials/modules/incompressibleFluid/hopperParticles
tutorials/modules/incompressibleFluid/mixerVessel2DParticles
rhoParticleFoam has been superseded and replaced by the more general functions
solver module executed by the foamRun application:
foamRun -solver functions
The isothermalFluid solver specified by either the subSolver or if not present
the solver entry in the controlDict is instantiated to provide the physical
fields needed by fvModel functionObject in which the clouds fvModel is selected
to evolve the Lagrangian particles.
155 lines
3.1 KiB
C++
155 lines
3.1 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 collidingCloud;
|
|
|
|
solution
|
|
{
|
|
coupled true;
|
|
transient yes;
|
|
cellValueSourceCorrection off;
|
|
|
|
interpolationSchemes
|
|
{
|
|
rho cell;
|
|
U cellPoint;
|
|
mu cell;
|
|
}
|
|
|
|
integrationSchemes
|
|
{
|
|
U Euler;
|
|
}
|
|
|
|
sourceTerms
|
|
{
|
|
schemes
|
|
{
|
|
U semiImplicit 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
constantProperties
|
|
{
|
|
parcelTypeId 1;
|
|
|
|
rhoMin 1e-15;
|
|
minParcelMass 1e-15;
|
|
|
|
rho0 2526;
|
|
youngsModulus 1e8;
|
|
poissonsRatio 0.35;
|
|
|
|
constantVolume false;
|
|
|
|
alphaMax 0.99;
|
|
}
|
|
|
|
subModels
|
|
{
|
|
particleForces
|
|
{
|
|
sphereDrag;
|
|
gravity;
|
|
}
|
|
|
|
injectionModels
|
|
{
|
|
model1
|
|
{
|
|
type manualInjection;
|
|
massTotal 0;
|
|
parcelBasisType fixed;
|
|
nParticle 1;
|
|
SOI 0;
|
|
positionsFile "cloudPositions";
|
|
U0 (0 0 0);
|
|
sizeDistribution
|
|
{
|
|
type fixedValue;
|
|
fixedValueDistribution
|
|
{
|
|
value 0.0025;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
dispersionModel none;
|
|
|
|
patchInteractionModel standardWallInteraction;
|
|
|
|
standardWallInteractionCoeffs
|
|
{
|
|
type rebound;
|
|
e 0.97;
|
|
mu 0.09;
|
|
}
|
|
|
|
heatTransferModel none;
|
|
|
|
surfaceFilmModel none;
|
|
|
|
collisionModel pairCollision;
|
|
|
|
pairCollisionCoeffs
|
|
{
|
|
maxInteractionDistance 0.0025;
|
|
|
|
writeReferredParticleCloud no;
|
|
|
|
pairModel pairSpringSliderDashpot;
|
|
|
|
pairSpringSliderDashpotCoeffs
|
|
{
|
|
useEquivalentSize no;
|
|
alpha 0.02;
|
|
b 1.5;
|
|
mu 0.10;
|
|
cohesionEnergyDensity 0;
|
|
collisionResolutionSteps 12;
|
|
};
|
|
|
|
wallModel wallSpringSliderDashpot;
|
|
|
|
wallSpringSliderDashpotCoeffs
|
|
{
|
|
useEquivalentSize no;
|
|
collisionResolutionSteps 12;
|
|
youngsModulus 1e8;
|
|
poissonsRatio 0.23;
|
|
alpha 0.01;
|
|
b 1.5;
|
|
mu 0.09;
|
|
cohesionEnergyDensity 0;
|
|
};
|
|
|
|
U U;
|
|
}
|
|
|
|
stochasticCollisionModel none;
|
|
|
|
radiation off;
|
|
}
|
|
|
|
|
|
cloudFunctions
|
|
{}
|
|
|
|
|
|
// ************************************************************************* //
|