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

Initial particle velocity U0 in injectionModels in DPMFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 18, 2022, 11:06
Default Initial particle velocity U0 in injectionModels in DPMFoam
  #1
Member
 
Huan Zhang
Join Date: Nov 2020
Posts: 55
Rep Power: 5
Jasper Z is on a distinguished road
Dear all,

I am wondering how should we specify U0 in injectionModels? I am simulating the Diaz bubble column using DPMFoam. I have varied U0 from 0 to 100 m/s with other parameters unchanged, but it seems that this doesn't affect the results much. My code is as follows:
Code:
injectionModels
    {
        model1
        {
            type            patchInjection;//manualInjection;
	    parcelsPerInjector	1;
	    patch	    INLET;
            massTotal       0;
            parcelBasisType fixed;
            nParticle       1;
            SOI             0;
	    parcelsPerSecond	293.354;//0.0024*0.04*0.2/(4/3*PI*0.002^3)
            U0              (0 100 0);
            sizeDistribution
            {
                type        fixedValue;
                fixedValueDistribution
                {
		    	value	0.005;
                }
            }
 	    flowRateProfile	constant 1.92e-5;
	    duration	200;
        }
Can anyone give a hint on what does U0 do and how to specify U0?

Last edited by Jasper Z; April 18, 2022 at 19:58.
Jasper Z is offline   Reply With Quote

Old   April 18, 2022, 20:50
Default
  #2
Member
 
Huan Zhang
Join Date: Nov 2020
Posts: 55
Rep Power: 5
Jasper Z is on a distinguished road
Quote:
Originally Posted by Jasper Z View Post
Dear all,

I am wondering how should we specify U0 in injectionModels? I am simulating the Diaz bubble column using DPMFoam. I have varied U0 from 0 to 100 m/s with other parameters unchanged, but it seems that this doesn't affect the results much. My code is as follows:
Code:
injectionModels
    {
        model1
        {
            type            patchInjection;//manualInjection;
	    parcelsPerInjector	1;
	    patch	    INLET;
            massTotal       0;
            parcelBasisType fixed;
            nParticle       1;
            SOI             0;
	    parcelsPerSecond	293.354;//0.0024*0.04*0.2/(4/3*PI*0.002^3)
            U0              (0 100 0);
            sizeDistribution
            {
                type        fixedValue;
                fixedValueDistribution
                {
		    	value	0.005;
                }
            }
 	    flowRateProfile	constant 1.92e-5;
	    duration	200;
        }
Can anyone give a hint on what does U0 do and how to specify U0?
The water velocity results for U0=1m/s and 100m/s are shown in the attachment, and the results are pretty similar.
Attached Images
File Type: png 1.png (88.7 KB, 16 views)
File Type: png 100.png (89.0 KB, 13 views)
Jasper Z is offline   Reply With Quote

Old   April 19, 2022, 08:37
Default
  #3
Senior Member
 
Josh Williams
Join Date: Feb 2021
Location: Scotland
Posts: 113
Rep Power: 5
joshwilliams is on a distinguished road
Quote:
Originally Posted by Jasper Z View Post
Dear all,

I am wondering how should we specify U0 in injectionModels? I am simulating the Diaz bubble column using DPMFoam. I have varied U0 from 0 to 100 m/s with other parameters unchanged, but it seems that this doesn't affect the results much. My code is as follows:
Code:
injectionModels
    {
        model1
        {
            type            patchInjection;//manualInjection;
        parcelsPerInjector    1;
        patch        INLET;
            massTotal       0;
            parcelBasisType fixed;
            nParticle       1;
            SOI             0;
        parcelsPerSecond    293.354;//0.0024*0.04*0.2/(4/3*PI*0.002^3)
            U0              (0 100 0);
            sizeDistribution
            {
                type        fixedValue;
                fixedValueDistribution
                {
                value    0.005;
                }
            }
         flowRateProfile    constant 1.92e-5;
        duration    200;
         }
Can anyone give a hint on what does U0 do and how to specify U0?
The way you are defining it appears correct. I would guess that the issue is elsewhere, perhaps in the forces you define. For example, what drag model do you use? What is particle stokes number? Maybe the particles quickly relax to the local fluid velocity (stokes number<<1). In one case for my own work, I have set inlet velocity to 30 m/s in the same way you did. The particles generally quickly adapted to the fluid velocity within a few steps so it did not really influence simulation results either.
joshwilliams is offline   Reply With Quote

Old   April 19, 2022, 08:59
Default
  #4
Member
 
Huan Zhang
Join Date: Nov 2020
Posts: 55
Rep Power: 5
Jasper Z is on a distinguished road
Quote:
Originally Posted by joshwilliams View Post
The way you are defining it appears correct. I would guess that the issue is elsewhere, perhaps in the forces you define. For example, what drag model do you use? What is particle stokes number? Maybe the particles quickly relax to the local fluid velocity (stokes number<<1). In one case for my own work, I have set inlet velocity to 30 m/s in the same way you did. The particles generally quickly adapted to the fluid velocity within a few steps so it did not really influence simulation results either.
Dear Josh,

Yes you are right, the reason maybe from the drag force exerted on the bubbles. I am right now trying to use patchFlowRateInjection, but I am not sure about the definition of parcelConcentration. Is it the injected particle number in one second?

Much thanks!
Jasper
Code:
 injectionModels
    {
        model1
        {
           type             patchFlowRateInjection;
            phi alphaPhi.water;
            patch            INLET;
            duration         1;
            SOI              0;
        parcelBasisType  fixed;
            massTotal        0;
            nParticle        1;
            concentration 1;
            parcelConcentration 1800000;
            
            sizeDistribution
            {
                type        fixedValue;
                fixedValueDistribution
                {
                    value   0.0003;
                }
            }

        }
Jasper Z is offline   Reply With Quote

Old   April 20, 2022, 11:09
Default
  #5
Senior Member
 
Josh Williams
Join Date: Feb 2021
Location: Scotland
Posts: 113
Rep Power: 5
joshwilliams is on a distinguished road
Hi Jasper,


From looking at PatchFlowRateInjection.H, the variable is the parcel per unit volume flow rate. So it should be number of particles-seconds per metre cubed (?, they say it has units n/m3 so I am unsure)

Code:
        //- Parcels to introduce per unit volume flow rate m3 [n/m3]
        const scalar parcelConcentration_;
joshwilliams is offline   Reply With Quote

Old   April 20, 2022, 21:31
Default
  #6
Member
 
Huan Zhang
Join Date: Nov 2020
Posts: 55
Rep Power: 5
Jasper Z is on a distinguished road
Quote:
Originally Posted by joshwilliams View Post
Hi Jasper,


From looking at PatchFlowRateInjection.H, the variable is the parcel per unit volume flow rate. So it should be number of particles-seconds per metre cubed (?, they say it has units n/m3 so I am unsure)

Code:
        //- Parcels to introduce per unit volume flow rate m3 [n/m3]
        const scalar parcelConcentration_;
Hi Josh,

I also looked at the PatchFlowRateInjection.H. If my understanding is correct, does that mean if I have a flow rate of 0.001m3/s, and the parcel number is 10 per second under this flow rate; then the parcelConcentration should be 10*1000=10000?

Kind regards,
Jasper
Jasper Z is offline   Reply With Quote

Reply


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
Compressible flows with larger Courant numbers Tobi OpenFOAM Running, Solving & CFD 5 February 26, 2021 15:20
laplacianFoam with source term Herwig OpenFOAM Running, Solving & CFD 17 November 19, 2019 13:47
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 02:50
Cannot run the code properly: very large time step continuity error crst15 OpenFOAM Running, Solving & CFD 9 December 14, 2014 18:17
Unstabil Simulation with chtMultiRegionFoam mbay101 OpenFOAM Running, Solving & CFD 13 December 28, 2013 13:12


All times are GMT -4. The time now is 02:17.