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

LPT of multiple clouds

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 30, 2022, 14:26
Default LPT of multiple clouds
  #1
New Member
 
Join Date: Apr 2022
Posts: 6
Rep Power: 4
ffran is on a distinguished road
Hi,
I have a relatively simple case to run: I have a simple periodic channel flow and I want to seed it with three clouds of Lagrangian particles (same material, different sizes) with one way coupling. However, I have seen that most of the solvers can only track one single kinematic cloud. Do you have any suggestions on how to go on, apart from running three different simulations?

Regards,
Francesco
ffran is offline   Reply With Quote

Old   May 2, 2022, 11:06
Default
  #2
Senior Member
 
Julio Pieri
Join Date: Sep 2017
Posts: 109
Rep Power: 9
JulioPieri is on a distinguished road
Hi Francesco, I had a similar problem recently and I managed to word around using swak4Foam. I was able to create multiple clouds by adding multiple 'injectionModels' to the kinematicCloudProperties file in constant folder.

Here is an example:

Code:
injectionModels
    {
        D1mm
        {
            type            patchInjection;
            massTotal       0;
            parcelBasisType fixed;
            patch       outlet;
            nParticle       1;
            SOI             5.7;
            duration        0.1;
            U0              ( 0 0 -0.01 );
            parcelsPerSecond  400;
            sizeDistribution
            {
                type        fixedValue;
                fixedValueDistribution
                {
                    value   0.001;
                }
            }

            flowRateProfile constant 0.1;
        }
        D2mm
        {
            type            patchInjection;
            massTotal       0;
            parcelBasisType fixed;
            patch       outlet;
            nParticle       1;
            SOI             5.6;
            duration        0.1;
            U0              ( 0 0 -0.01 );
            parcelsPerSecond  400;
            sizeDistribution
            {
                type        fixedValue;
                fixedValueDistribution
                {
                    value   0.002;
                }
            }

            flowRateProfile constant 0.1;
        }
        D3mm
        {
            type            patchInjection;
            massTotal       0;
            parcelBasisType fixed;
            patch       outlet;
            nParticle       1;
            SOI             5.5;
            duration        0.1;
            U0              ( 0 0 -0.01 );
            parcelsPerSecond  400;
            sizeDistribution
            {
                type        fixedValue;
                fixedValueDistribution
                {
                    value   0.003;
                }
            }

            flowRateProfile constant 0.1;
        }
}
I haven't tried this in native OF solvers, but I believe it might work as well.
JulioPieri is offline   Reply With Quote

Old   May 2, 2022, 11:43
Default
  #3
New Member
 
Join Date: Apr 2022
Posts: 6
Rep Power: 4
ffran is on a distinguished road
Quote:
Originally Posted by JulioPieri View Post
Hi Francesco, I had a similar problem recently and I managed to word around using swak4Foam. I was able to create multiple clouds by adding multiple 'injectionModels' to the kinematicCloudProperties file in constant folder.

Here is an example:

Code:
injectionModels
    {
        D1mm
        {
            type            patchInjection;
            massTotal       0;
            parcelBasisType fixed;
            patch       outlet;
            nParticle       1;
            SOI             5.7;
            duration        0.1;
            U0              ( 0 0 -0.01 );
            parcelsPerSecond  400;
            sizeDistribution
            {
                type        fixedValue;
                fixedValueDistribution
                {
                    value   0.001;
                }
            }

            flowRateProfile constant 0.1;
        }
        D2mm
        {
            type            patchInjection;
            massTotal       0;
            parcelBasisType fixed;
            patch       outlet;
            nParticle       1;
            SOI             5.6;
            duration        0.1;
            U0              ( 0 0 -0.01 );
            parcelsPerSecond  400;
            sizeDistribution
            {
                type        fixedValue;
                fixedValueDistribution
                {
                    value   0.002;
                }
            }

            flowRateProfile constant 0.1;
        }
        D3mm
        {
            type            patchInjection;
            massTotal       0;
            parcelBasisType fixed;
            patch       outlet;
            nParticle       1;
            SOI             5.5;
            duration        0.1;
            U0              ( 0 0 -0.01 );
            parcelsPerSecond  400;
            sizeDistribution
            {
                type        fixedValue;
                fixedValueDistribution
                {
                    value   0.003;
                }
            }

            flowRateProfile constant 0.1;
        }
}
I haven't tried this in native OF solvers, but I believe it might work as well.
Wow, sounds like a good idea, I will try!
How did you distinguish the different clouds in postprocessing? They have the same particle ID, right? Did you make the solver print the injectionModel in the outputs?

Francesco
ffran is offline   Reply With Quote

Old   May 2, 2022, 11:49
Default
  #4
Senior Member
 
Julio Pieri
Join Date: Sep 2017
Posts: 109
Rep Power: 9
JulioPieri is on a distinguished road
For my purpose, thresholding the diameter was enough. And yes, they had the same ID
JulioPieri is offline   Reply With Quote

Old   May 2, 2022, 13:54
Default
  #5
New Member
 
Join Date: Apr 2022
Posts: 6
Rep Power: 4
ffran is on a distinguished road
I understand. Thank you very much for your help!

Francesco
ffran is offline   Reply With Quote

Reply

Tags
lpt, multiple, one way, openfoam


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 set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 07:09
How to include multiple lagrangian particle clouds? lf.lopez18 OpenFOAM Pre-Processing 1 September 3, 2020 05:39
[snappyHexMesh] Creating multiple multiple cell zones with snappyHexMesh - a newbie in deep water! divergence OpenFOAM Meshing & Mesh Conversion 0 January 23, 2019 05:17
[OpenFOAM.org] Install openFOAM 3.0.1 in Ubuntu 16.04 LTS from Deb packs Pier84 OpenFOAM Installation 4 June 18, 2016 17:22
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 13:21


All times are GMT -4. The time now is 16:07.