53 lines
1.7 KiB
C++
Executable File
53 lines
1.7 KiB
C++
Executable File
/* -------------------------------*- C++ -*--------------------------------- *\
|
|
| phasicFlow File |
|
|
| copyright: www.cemf.ir |
|
|
\* ------------------------------------------------------------------------- */
|
|
objectName particleInsertion;
|
|
objectType dicrionary;
|
|
fileFormat ASCII;
|
|
/*---------------------------------------------------------------------------*/
|
|
active Yes; // is insertion active -> Yes or No
|
|
|
|
checkForCollision No; // is checked -> Yes or No
|
|
|
|
/*
|
|
five layers of particles are packed one-by-one using 5 insertion steps
|
|
*/
|
|
|
|
layer0
|
|
{
|
|
timeControl simulationTime;
|
|
|
|
regionType cylinder; // type of insertion region
|
|
|
|
rate 5000; // Particles Insertion Rate (particles/s)
|
|
|
|
startTime 0; // Start time of LightParticles insertion (s)
|
|
|
|
endTime 100; // End time of LightParticles insertion (s)
|
|
|
|
insertionInterval 0.03; // Time Interval of LightParticles insertion (s)
|
|
|
|
cylinderInfo
|
|
{
|
|
p1 (0.22 0.730 0.25); // Bottom of cylinderRegion(m,m,m)
|
|
|
|
p2 (0.22 0.742 0.25); // Top of cylinderRegion (m,m,m)
|
|
|
|
radius 0.09; // radius of cylinder (m)
|
|
}
|
|
|
|
setFields
|
|
{
|
|
velocity realx3 (0.0 -0.6 -0); // initial velocity of inserted particles
|
|
}
|
|
|
|
mixture
|
|
{
|
|
sphere1 1; // mixture composition of inserted particles
|
|
|
|
}
|
|
}
|
|
|
|
|