|
[Sponsors] |
Initial particle velocity U0 in injectionModels in DPMFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 18, 2022, 11:06 |
Initial particle velocity U0 in injectionModels in DPMFoam
|
#1 |
Member
Huan Zhang
Join Date: Nov 2020
Posts: 55
Rep Power: 5 |
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; } Last edited by Jasper Z; April 18, 2022 at 19:58. |
|
April 18, 2022, 20:50 |
|
#2 | |
Member
Huan Zhang
Join Date: Nov 2020
Posts: 55
Rep Power: 5 |
Quote:
|
||
April 19, 2022, 08:37 |
|
#3 | |
Senior Member
Josh Williams
Join Date: Feb 2021
Location: Scotland
Posts: 113
Rep Power: 5 |
Quote:
|
||
April 19, 2022, 08:59 |
|
#4 | |
Member
Huan Zhang
Join Date: Nov 2020
Posts: 55
Rep Power: 5 |
Quote:
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; } } } |
||
April 20, 2022, 11:09 |
|
#5 |
Senior Member
Josh Williams
Join Date: Feb 2021
Location: Scotland
Posts: 113
Rep Power: 5 |
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_; |
|
April 20, 2022, 21:31 |
|
#6 | |
Member
Huan Zhang
Join Date: Nov 2020
Posts: 55
Rep Power: 5 |
Quote:
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 |
||
|
|
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 |