55 lines
1.2 KiB
C++
55 lines
1.2 KiB
C++
/* -------------------------------*- C++ -*--------------------------------- *\
|
|
| phasicFlow File |
|
|
| copyright: www.cemf.ir |
|
|
\* ------------------------------------------------------------------------- */
|
|
objectName particleInsertion;
|
|
objectType dicrionary;
|
|
fileFormat ASCII;
|
|
/*---------------------------------------------------------------------------*/
|
|
|
|
// is insertion active?
|
|
active yes;
|
|
|
|
// not implemented for yes
|
|
collisionCheck No;
|
|
|
|
/*
|
|
one region is considered for inserting particles.
|
|
*/
|
|
topRegion
|
|
{
|
|
|
|
// type of insertion region
|
|
type boxRegion;
|
|
|
|
// insertion rate (particles/s)
|
|
rate 4000;
|
|
|
|
// Start time of Particles insertion (s)
|
|
startTime 0;
|
|
|
|
// End time of Particles insertion (s)
|
|
endTime 7;
|
|
|
|
// Time Interval between each insertion (s)
|
|
interval 0.025;
|
|
|
|
// Coordinates of BoxRegion (m,m,m)
|
|
boxRegionInfo
|
|
{
|
|
min ( 0.48 0.58 0.01 ); // (m,m,m)
|
|
max ( 0.64 0.59 0.05 ); // (m,m,m)
|
|
}
|
|
|
|
setFields
|
|
{
|
|
// initial velocity of inserted particles
|
|
velocity realx3 (0.0 -0.6 0.0);
|
|
}
|
|
|
|
mixture
|
|
{
|
|
sphere 1;
|
|
}
|
|
}
|