68 lines
1.5 KiB
C++
Executable File
68 lines
1.5 KiB
C++
Executable File
/* -------------------------------*- C++ -*--------------------------------- *\
|
|
| phasicFlow File |
|
|
| copyright: www.cemf.ir |
|
|
\* ------------------------------------------------------------------------- */
|
|
|
|
objectName particleInsertion;
|
|
objectType dicrionary;
|
|
|
|
|
|
active yes; // is insertion active?
|
|
|
|
collisionCheck No; // not implemented for yes
|
|
|
|
|
|
|
|
particleInlet1
|
|
{
|
|
type boxRegion; // type of insertion region
|
|
rate 1000000; // insertion rate (particles/s)
|
|
startTime 0; // (s)
|
|
endTime 2.0; // (s)
|
|
interval 0.05; //s
|
|
|
|
boxRegionInfo
|
|
{
|
|
min ( -0.17 0.23 0.46); // (m,m,m)
|
|
max ( 0.17 0.24 0.88); // (m,m,m)
|
|
}
|
|
|
|
setFields
|
|
{
|
|
velocity realx3 (0.0 -0.3 0.0); // initial velocity of inserted particles
|
|
}
|
|
|
|
mixture
|
|
{
|
|
smallParticle 1; // mixture composition of inserted particles
|
|
|
|
}
|
|
}
|
|
|
|
particleInlet2
|
|
{
|
|
type boxRegion; // type of insertion region
|
|
rate 1000000; // insertion rate (particles/s)
|
|
startTime 0; // (s)
|
|
endTime 2.0; // (s)
|
|
interval 0.05; //s
|
|
|
|
boxRegionInfo
|
|
{
|
|
min ( -0.17 0.23 0.02); // (m,m,m)
|
|
max ( 0.17 0.24 0.44); // (m,m,m)
|
|
}
|
|
|
|
setFields
|
|
{
|
|
velocity realx3 (0.0 -0.3 0.0); // initial velocity of inserted particles
|
|
}
|
|
|
|
mixture
|
|
{
|
|
largeParticle 1; // mixture composition of inserted particles
|
|
|
|
}
|
|
}
|
|
|