The FOAM file format has not changed from version 2.0 in many years and so there is no longer a need for the 'version' entry in the FoamFile header to be required and to reduce unnecessary clutter it is now optional, defaulting to the current file format 2.0.
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 cloud;
|
|
|
|
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
|
|
{}
|
|
|
|
|
|
// ************************************************************************* //
|