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.
139 lines
3.1 KiB
C++
139 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 false;
|
|
transient yes;
|
|
cellValueSourceCorrection off;
|
|
maxCo 0.3;
|
|
|
|
interpolationSchemes
|
|
{
|
|
rho cell;
|
|
U cellPoint;
|
|
mu cell;
|
|
}
|
|
|
|
integrationSchemes
|
|
{
|
|
U Euler;
|
|
}
|
|
}
|
|
|
|
constantProperties
|
|
{
|
|
rho0 964;
|
|
youngsModulus 6e8;
|
|
poissonsRatio 0.35;
|
|
}
|
|
|
|
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.006;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
dispersionModel none;
|
|
|
|
patchInteractionModel none;
|
|
|
|
surfaceFilmModel none;
|
|
|
|
stochasticCollisionModel none;
|
|
|
|
collisionModel pairCollision;
|
|
|
|
pairCollisionCoeffs
|
|
{
|
|
// Maximum possible particle diameter expected at any time
|
|
maxInteractionDistance 0.006;
|
|
|
|
writeReferredParticleCloud no;
|
|
|
|
pairModel pairSpringSliderDashpot;
|
|
|
|
pairSpringSliderDashpotCoeffs
|
|
{
|
|
useEquivalentSize no;
|
|
alpha 0.12;
|
|
b 1.5;
|
|
mu 0.52;
|
|
cohesionEnergyDensity 0;
|
|
collisionResolutionSteps 12;
|
|
};
|
|
|
|
wallModel wallLocalSpringSliderDashpot;
|
|
|
|
wallLocalSpringSliderDashpotCoeffs
|
|
{
|
|
useEquivalentSize no;
|
|
collisionResolutionSteps 12;
|
|
walls
|
|
{
|
|
youngsModulus 1e10;
|
|
poissonsRatio 0.23;
|
|
alpha 0.12;
|
|
b 1.5;
|
|
mu 0.43;
|
|
cohesionEnergyDensity 0;
|
|
}
|
|
frontAndBack
|
|
{
|
|
youngsModulus 1e10;
|
|
poissonsRatio 0.23;
|
|
alpha 0.12;
|
|
b 1.5;
|
|
mu 0.1;
|
|
cohesionEnergyDensity 0;
|
|
}
|
|
};
|
|
}
|
|
}
|
|
|
|
|
|
cloudFunctions
|
|
{}
|
|
|
|
|
|
// ************************************************************************* //
|