/* -------------------------------*- C++ -*--------------------------------- *\ 
|  phasicFlow File                                                            | 
|  copyright: www.cemf.ir                                                     | 
\* ------------------------------------------------------------------------- */ 
objectName particleInsertion;
objectType dicrionary;
fileFormat  ASCII;
/*---------------------------------------------------------------------------*/

active     Yes;                         // is insertion active -> Yes or No

/*
      Two layers of particles are packed one-by-one using 1 insertion steps 
*/

right_region                                 
{
    timeControl           simulationTime;

    regionType            cylinder;     // type of insertion region
 
    rate                  12500;        // Right Region Particles Insertion Rate (particles/s)

    startTime             0;            // Start time of insertion (s)
    
    endTime               1;            // End time of insertion (s) 

    insertionInterval     0.025;        // Time Interval of particles insertion (s)

    cylinderInfo 
    {
        p2         (-0.15 0.25 0.05);   // Top of cylinderRegion (m,m,m)

        p1         (-0.15 0.24 0.05);   // Bottom of cylinderRegion (m,m,m)

        radius     0.035;               // radius of cylinder (m)
    }
   
    setFields
    {
        velocity   realx3 (0.0 -0.6 0.0); // initial velocity of inserted particles
    }
   
    mixture
    {
        smallSphere     1;              // mixture composition of inserted particles
    }
}

left_region                                  
{
    timeControl           simulationTime;

    regionType            cylinder;      // type of insertion region

    rate                  7500;          // Left Region Particles Insertion Rate (particles/s)

    startTime             0;             // Start time of  insertion (s)
  
    endTime               1;             // End time of  insertion (s)

    insertionInterval     0.025;         // Time Interval of  insertion (s)

    cylinderInfo 
    {
        p2         (-0.23 0.25 0.05);    // Top of cylinderRegion (m,m,m)

        p1         (-0.23 0.24 0.05);    // Bottom of cylinderRegion (m,m,m)
   
        radius     0.035;                // radius of cylinder (m)   
    }
   
    setFields
    {
        velocity    realx3 (0.0 -0.6 0.0);  // initial velocity of inserted particles
    }
   
    mixture
    {
        largeSphere     1;              // only heavySphere
    }
}

