CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

inject different sized particles

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ris

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 26, 2013, 17:47
Smile inject different sized particles
  #1
Member
 
Rexxar
Join Date: May 2012
Location: Bethlehem, PA
Posts: 36
Rep Power: 13
czhao86 is on a distinguished road
Hi Foamers,

I do not have any idea about injection type, except the doc I find in the tutorials. Now I can only inject one sized particles.

Code:
        sizeDistribution
        {
            type        fixedValue;
            fixedValueDistribution
            {
                value   0.2;
            }
        }
How can I inject two sized particles, like 0.1 and 0.2 at the same time?
__________________
Best,

Rexxar
czhao86 is offline   Reply With Quote

Old   February 27, 2013, 02:45
Default
  #2
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29
niklas will become famous soon enoughniklas will become famous soon enough
If its important that the size is either 0.1 or 0.2, I would use 2 injectors
niklas is offline   Reply With Quote

Old   February 27, 2013, 10:16
Default
  #3
Member
 
Rexxar
Join Date: May 2012
Location: Bethlehem, PA
Posts: 36
Rep Power: 13
czhao86 is on a distinguished road
Quote:
Originally Posted by niklas View Post
If its important that the size is either 0.1 or 0.2, I would use 2 injectors
Thank you for your reply.

So should I use two 'CloudProperties' files or two injection in the same 'CloudProperties' file?
__________________
Best,

Rexxar
czhao86 is offline   Reply With Quote

Old   March 6, 2013, 14:25
Default
  #4
Member
 
Rexxar
Join Date: May 2012
Location: Bethlehem, PA
Posts: 36
Rep Power: 13
czhao86 is on a distinguished road
does anyone have some ideas?
__________________
Best,

Rexxar
czhao86 is offline   Reply With Quote

Old   March 6, 2013, 15:57
Default
  #5
ris
Member
 
ri
Join Date: Oct 2012
Posts: 34
Rep Power: 13
ris is on a distinguished road
Hello czhao86,

I just saw this and it might be useful to you http://www.openfoam.org/version2.2.0...-modelling.php
You could specifiy two injectors of the same model having different size distributions.
Also you only need one sprayCloudProperties file.

regards,

ris.
czhao86 likes this.
ris is offline   Reply With Quote

Old   March 6, 2013, 17:08
Default
  #6
Member
 
Rexxar
Join Date: May 2012
Location: Bethlehem, PA
Posts: 36
Rep Power: 13
czhao86 is on a distinguished road
Thank you for your reply, ris.

I am using icoUncoupledKinematicParcelFoam, whose injection is like the following

Code:
solution
{
    active          true;
    coupled         false;
    transient       yes;
    cellValueSourceCorrection off;

    interpolationSchemes
    {
        rho             cell;
        U               cellPoint;
        mu              cell;
    }

    integrationSchemes
    {
        U               Euler;
    }

    sourceTerms
    {
        schemes
        {
        // Scheme and under-relaxation factor
          U               semiImplicit 0.5;
//        U               explicit 1.0;
        }
    }

}

constantProperties
{
    parcelTypeId    1;

    rhoMin          1e-16;
    minParticleMass 1.0e-15;

    rho0            1;
    youngsModulus   6e8;
    poissonsRatio   0.35;

    constantVolume  false;
}

subModels
{
    particleForces
    {
        sphereDrag;
        gravity;
    }

    injectionModel manualInjection;

    dispersionModel none;

    patchInteractionModel standardWallInteraction;

    heatTransferModel none;

    surfaceFilmModel none;

    collisionModel pairCollision;

    radiation off;

    manualInjectionCoeffs
    {
        massTotal       0;
        parcelBasisType fixed;
        nParticle       1;
        SOI             0;
        positionsFile   "kinematicCloud0Positions";
        U0              (0 0 0);
        sizeDistribution
        {
            type        fixedValue;
            fixedValueDistribution
            {
                value   0.1;
            }
        }
    }

pairCollisionCoeffs
    {
        // Maximum possible particle diameter expected at any time
        maxInteractionDistance  0.1;

        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;
            }
        };
    }

    standardWallInteractionCoeffs
    {
        //type            stick;
        type            rebound;
    }
}


cloudFunctions
{

}
I am not sure where to add the second injection, as the format is a little different, but certainly thank you for your reply.
__________________
Best,

Rexxar
czhao86 is offline   Reply With Quote

Old   March 7, 2013, 16:20
Default
  #7
Member
 
Rexxar
Join Date: May 2012
Location: Bethlehem, PA
Posts: 36
Rep Power: 13
czhao86 is on a distinguished road
Quote:
Originally Posted by ris View Post
Hello czhao86,

I just saw this and it might be useful to you http://www.openfoam.org/version2.2.0...-modelling.php
You could specifiy two injectors of the same model having different size distributions.
Also you only need one sprayCloudProperties file.

regards,

ris.
I figured out openfoam 2.2.0 has a different format of 'injectionModels' even in the tutorials, compared to 2.1.1.

I saw this webpage but did not realize its importance.

Thank you for giving me a hint.
__________________
Best,

Rexxar
czhao86 is offline   Reply With Quote

Old   June 16, 2015, 05:15
Default Diifferent numbers of particle injection?
  #8
New Member
 
Mamadou Camara
Join Date: Mar 2015
Posts: 12
Rep Power: 11
camzis is on a distinguished road
Dear Foamers,
I'm currently working with the solver iconUncoupledKinematicParcelFoam (lagrangian).
I need to inject a different number of particles at each time step.
I'm currently using the model "patchInjection" in the file kinematicCloudProperties.
The problem is, I dont know how to make the number of particels vary.
Is there a way to force the number of particles to vary by wether providing a table (for number of particles vs. time) or as a function?
Any suggestions, ideas are very welcome.
Please, my master thesis depends on this.
Regards!
Mamadou.
camzis is offline   Reply With Quote

Old   July 8, 2015, 20:06
Default Normal Distribution
  #9
New Member
 
Zonghao Li
Join Date: Jul 2015
Posts: 2
Rep Power: 0
Dust is on a distinguished road
Quote:
Originally Posted by czhao86 View Post
does anyone have some ideas?
I think you can define the size of particles to be normal distributed. For instance:

sizeDistribution
{
type normal;
normalDistribution
{
expectation 0.0001;
variance 2.16e-10;
minValue 0.00005;
maxValue 0.00015;
}
}

Hope it helps

Zonghao
Dust is offline   Reply With Quote

Reply

Tags
particle injection


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to determine the number of particles injected. welch FLUENT 2 January 18, 2024 04:08
how to inject many particles in fluent? elah599 FLUENT 16 April 21, 2017 05:18
trying to simulate two-phase jet flow with particles in surface injection ajkratos FLUENT 5 March 3, 2015 21:33
particles model ati_ros61 FLOW-3D 3 December 6, 2009 16:03
Function to inject particles only once? KK CFX 0 March 4, 2008 15:45


All times are GMT -4. The time now is 11:31.