|
[Sponsors] |
particle-laden flow simulation using DPMFoam: turbulent dispersion is not heppening |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 17, 2020, 10:12 |
particle-laden flow simulation using DPMFoam: turbulent dispersion is not heppening
|
#1 |
Senior Member
Join Date: Jun 2020
Posts: 100
Rep Power: 6 |
Hello All,
I am trying to simulate patricle-laden backward facing step (BFS) case using DPMFoam solver in version OpenFoam-v1912. The particles are injected at inlet with speed of 10.5 m/s along with fluid (air). Fluid field has turbulent flow condition (turbulent flow profile with max. velocity 10.5 m/s, average velocity 9.39 m/s). The solver runs successfully and particle seems to move with the fluid. I am using RANS model with KomegaSST model for solving CFD domain considering flow to be turbulent. To incorporate the turbulent effects on particles, both the gradientDispersionRAS and stochasticDispersionRAS model are tried. But the problem is that...I cannot see much particles in span-wise direction (y-axis) i.e. particle dispersion is not occurring inspite of using gradientDispersionRAS/stochasticDispersionRAS dispersion model. I am wondering, what could be the probable reason for that? I am also not sure about the boundary conditions provided at inlet for U.air, p, nut.air, k.air and Omega.air. I am using mappedField BC (for U.air, k.air and Omega.air) to represent turbulent flow at inlet. PS: for the reference, I am attaching the screenshot of simulation results showing almost no particle dispersion in span-wise direction (y-axis). Also the compressed case files are provided. Hope to get some help. Kind Regards Atul |
|
September 3, 2020, 05:21 |
|
#2 |
Member
Join Date: Sep 2010
Location: Leipzig, Germany
Posts: 96
Rep Power: 16 |
Did you compare your case to the same case without dispersion activated? Is there no difference or is there little difference? If there is only little difference, maybe your TKE is just too small to be relevant. Did you have a look at this?
|
|
September 3, 2020, 10:13 |
|
#3 | |
Senior Member
Join Date: Jun 2020
Posts: 100
Rep Power: 6 |
Quote:
Hello Oswald, Thanks for your reply! Yes, I did simulated the case with and without dispersion model.I cannot see major difference in particle motion and its dispersion along span (y-axis). However, very small number of particles are found near to lower wall towards outlet, when dispersion model (gradientDispersionRAS) model is used. I am attaching the screenshots of simulations (a) without any dispersion model (b) with dispersion model (graddientDispersionRAS). Regarding turbulent kinetic energy (TKE), I assumed initial turbulence energy as 5% of max velocity (10.5 m/s). Which means I have provided in 0/k directory k==0.331 m2/s2 as an initial guess. Correct me if I am wrong, this iniial value of turbulence kinetic energy provided in 0/k directory is just an initial guess and actual value of it gets modelled depending upon which turbulence model (I am using komegaSST) you use. So value of this initial guess is not really important, right? I am also attaching the screenshot of k.air at the end of simulation along with k.air directory. Please let me know if you find something wrong or any way to get better results. Code:
0/k.air dimensions [0 2 -2 0 0 0 0]; internalField uniform 0.331; boundaryField { inlet { /* type zeroGradient;*/ type mapped; value uniform 2e-05; interpolationScheme cell; setAverage true; average 2e-05; } outlet { type zeroGradient; } walls { type kqRWallFunction; value uniform 0.331; } sides { type empty; } } Atul Jaiswal |
||
September 3, 2020, 10:56 |
|
#4 |
Member
Join Date: Sep 2010
Location: Leipzig, Germany
Posts: 96
Rep Power: 16 |
Thanks for providing the additional information.
I think the dispersion model works just as it is intended. GradientDispersionRAS.H states that "The velocity is perturbed in the direction of -grad(k)". This means that particles are pushed more in direction of low values of k. In your case, this seems to in general the region where the particles are without dispersion. So they tend to stay there. I would assume that using the stochastic model would result in some more particles going downwards? Regarding your k-BCs: At the moment you are using a mapped BC, meaning that the actual value is mapped from somewhere inside the domain. But you prescribe an average of 2e-5, so only the distribution might be altered by scaling the values at the offset plane to reach the desired average. Your picture suggests that the inflow is not fully developed. Maybe you could change to not prescribing the average? You could also try to approximate your k-Value with these hints: https://www.cfd-online.com/Wiki/Turbulence_intensity One thing more to consider: The velocity in x-direction is approximately 10m/s, the average k-Values seem to be in the order of 1 m²/s². This would result in turbulent velocity fluctuations with a variance of approx. 0.8 m/s. Even when seeing this velocity all the time (in ~68% of the time it should be less), the particles would only get once from top to bottom while flying through the domain. |
|
September 4, 2020, 08:08 |
|
#5 | |||
Senior Member
Join Date: Jun 2020
Posts: 100
Rep Power: 6 |
Thank you so much for your answers. It is really helping me.
Quote:
Quote:
-I am using mapped bc to get fully developed turbulent flow and my offset location is 0.067m downstream from inlet. Regarding scaling the k and omega, This time I turned the averaging off and run the simulation (the boundary conditions files are attached for reference) with stochastic dispersion model. I believe that this time I get fully developed flow at inlet (as per my knowledge: fully developed flow profile doesn't change w.r.t. space). I am attaching the fluid flow profiles at x=-0.1335 (inlet), -0.13, -0.1 and 0 (step location). From the profiles, you can see that they don't change as we move in x-direction. However, I am getting max. velocity of 10.41 m/s which should be 10.5 m/s (don't know why?). The no-slip condition is not satisfied at x=-0.1335 (inlet) but by x=-0.13 we can see the velocity at walls equal to zero (no-slip condition satisfied). Do you think that my understanding of fully developed turbulent flow is correct and the profiles I am getting is fully developed? blockMeshDict (only inlet is shown) Code:
inlet { type mappedPatch; sampleMode nearestCell; sampleRegion region0; samplePatch none; offsetMode uniform; offset (0.067 0 0); /* type patch; */ faces ( (4 7 3 0) ); } Code:
dimensions [0 2 -2 0 0 0 0]; internalField uniform 0.331; boundaryField { inlet { /* type zeroGradient;*/ type mapped; value uniform 2e-05; interpolationScheme cell; setAverage false; average 2e-05; } outlet { type zeroGradient; } walls { type kqRWallFunction; value uniform 0.331; } sides { type empty; } } Code:
dimensions [0 0 -1 0 0 0 0]; internalField uniform 129.448; boundaryField { inlet { /*type zeroGradient;*/ type mapped; value uniform 2e-05; interpolationScheme cell; setAverage false; average 2e-05; } outlet { type zeroGradient; } walls { type omegaWallFunction; value uniform 129.448; } sides { type empty; } } nut.air Code:
dimensions [0 2 -1 0 0 0 0]; internalField uniform 0; boundaryField { inlet { type zeroGradient; } outlet { type zeroGradient; } walls { type nutkWallFunction; value uniform 0; } sides { type empty; } } Code:
dimensions [0 2 -2 0 0 0 0]; internalField uniform 0; boundaryField { inlet { type zeroGradient; } outlet { type fixedValue; value uniform 0; } walls { type zeroGradient; } sides { type empty; } } Code:
dimensions [0 1 -1 0 0 0 0]; internalField uniform (0 0 0); boundaryField { inlet { type mapped; value uniform (9.39 0 0); interpolationScheme cell; setAverage true; average (9.39 0 0); } outlet { type zeroGradient; } walls { type noSlip; } sides { type empty; } } Quote:
|
||||
September 4, 2020, 08:13 |
|
#6 |
Senior Member
Join Date: Jun 2020
Posts: 100
Rep Power: 6 |
Dear Oswald,
I am not able to attach the profile plots (don't know why??). may bes ome server problem or something. If you need to see them let me know..I will try to attach them here or will send you by some other means. Best Regards Atul Jaiswal |
|
September 4, 2020, 08:24 |
|
#7 | |||
Member
Join Date: Sep 2010
Location: Leipzig, Germany
Posts: 96
Rep Power: 16 |
Quote:
Code:
// In 2D calculations the -grad(k) is always // away from the axis of symmetry // This creates a 'hole' in the spray and to // prevent this we let fac be both negative/positive if (this->owner().mesh().nSolutionD() == 2) { fac = rnd.scalarNormal(); } else { fac = mag(rnd.scalarNormal()); } Quote:
Quote:
A last thing for now: You should first calculate the flow until it is steady and then inject the parcels. Maybe you can double the calculation time to 1s and change the SOI in the injection model to 0.5. |
||||
September 8, 2020, 06:05 |
|
#8 | ||||
Senior Member
Join Date: Jun 2020
Posts: 100
Rep Power: 6 |
Thank you so much for your answers.
Quote:
-yes the case is 2-D case. As you said the particle should move in both direction of grad(k), but I can not see my particles dispersing in span-wise direction (y-axis). If the dispersion model works fine then why not many particles are dispersed? Turbulent fluctuations are not big enough (~1m/s). Quote:
-Thanks for confirming. At least I have now fully developed flow in the domain and I am sure about it. Quote:
-Yes, it seems the turbulent fluctuation are not enough big. I am attaching screenshot (at the end of simulation) of the particle velocity (U) and turbulent fluctuation added to particle velocity (Uturb). From the screenshot it is also clear that most of the particles in the domain have UTurb ~1m/s. I don't know how can I get higher values of UTurb, so that significant dispersion occurs. Quote:
-The screenshots I attached are of the case where SOI = 0.5 and Simulation duration =1 sec. No improvement in particle dispersion is observed as you can see it from attached screenshot. -One more thing: Meanwhile I also checked the convergence of my fluid field. As the case is transient, I was not sure how can I check the convergence of solution. I found this thread (Convergence in OpenFoam) and as suggested in thread, I plotted the initial residuals. From the attached residual plot you can see that initial residuals for U.air(x), U.air(y), k.air, omega.air falls below 10^-3. but the p has relatively higher value of residuals (`0.05). Is my solution converged? If not, how can I achieve the convergence? -I am wondering if my kinematicCloudProperies dictionary has something wrong, which is causing this problem. I am attaching my kinematicCloudProperies dictionary here. Let me know if there is anything wrong or chance of improvement. I am consider two-way coupling and particle-particle interaction is neglected. kinematicCloudProperties Code:
solution { active true; coupled true; transient yes; cellValueSourceCorrection off; maxCo 0.3; interpolationSchemes { rho.air cell; U.air cellPoint; mu.air cell; } integrationSchemes { U Euler; } sourceTerms { schemes { U semiImplicit 1; } } } constantProperties { rho0 8800; youngsModulus 1.3e5; poissonsRatio 0.35; constantVolume false; alphaMax 0.99; } subModels { particleForces { sphereDrag; gravity; } injectionModels { model1 { type patchInjection; patch inlet; duration 0.5; parcelsPerSecond 33261; massTotal 0; parcelBasisType fixed; flowRateProfile constant 1; nParticle 1; SOI 0.5; U0 (10.5 0 0); sizeDistribution { type fixedValue; fixedValueDistribution { value 0.00007; } } } } dispersionModel stochasticDispersionRAS; patchInteractionModel standardWallInteraction; standardWallInteractionCoeffs { type rebound; e 0.97; mu 0.09; } surfaceFilmModel none; stochasticCollisionModel none; collisionModel none; pairCollisionCoeffs { maxInteractionDistance 0.00007; writeReferredParticleCloud no; pairModel pairSpringSliderDashpot; pairSpringSliderDashpotCoeffs { useEquivalentSize no; alpha 0.12; b 1.5; mu 0.52; cohesionEnergyDensity 0; collisionResolutionSteps 12; }; wallModel wallSpringSliderDashpot; wallSpringSliderDashpotCoeffs { useEquivalentSize no; collisionResolutionSteps 12; youngsModulus 1e10; poissonsRatio 0.23; alpha 0.12; b 1.5; mu 0.43; cohesionEnergyDensity 0; }; U U.air; } } cloudFunctions { voidFraction1 { type voidFraction; } } |
|||||
September 9, 2020, 03:31 |
|
#9 |
Member
Join Date: Sep 2010
Location: Leipzig, Germany
Posts: 96
Rep Power: 16 |
I don't think that there are major issues with your case setup. Why do you think that your results are not right?
The rise in p's initial residuals might come from the 2-way-coupling with the particle phase. Do you think the coupling is necessary? |
|
September 9, 2020, 08:05 |
|
#10 | ||
Senior Member
Join Date: Jun 2020
Posts: 100
Rep Power: 6 |
Quote:
-My case setup looks fine. Flow is fully developed and flow seems to be converged as initial residuals of all fluid parameters are below the 1*e-3 expect pressure. I do believe that my fluid flow field are absolutely correct. I compared the fluid flow profiles at several locations along the flow with measured velocity profiles and I am getting good match. -But when I compare the particle velocity profiles at several locations along the flow (x/H=2,5,7,9,12) at the end of simulation. I am getting strange results. The simulated particle velocity and profiles are strange and almost no particle is found below the step (y/H=1). That's why, I suspect that turbulent dispersion is not happening properly. I am attaching the particle velocity profiles which I compared with literature (blue line is the simulated particle velocity). Quote:
-As particle mass flow rate is 10% of fluid mass flow rate (dispersed case), the coupling and no- coupling will not have any major effect on particle dispersion. because of less number of particles in the domain, particle-particle interaction is really not important and I haven't considered this (4-way coupling). I simulated the case with or without the coupling, still I cant find enough particles below the step. I also took particle at other time steps but every-time very less number of article are below the step. -p is related to fluid phase and i don;t think coupling may have any impact on residuals of p. As my fluid velocity profiles are giving good match with measurement, I think the residuals are acceptable and my fluid-phase results are correct. -I am getting strange results only for particle velocity profiles and really can't find the reason of discrepancy between simulated and measured particle velocity profiles. Best Regards Atul |
|||
January 5, 2021, 12:35 |
|
#11 |
New Member
Shuo Mi
Join Date: Nov 2020
Location: London
Posts: 19
Rep Power: 6 |
Hello,
Have you tried to run it in 3D? Because sometimes the 2D condition will make the problem unphysical when I simulate some cases with OpenFOAM. |
|
January 6, 2021, 06:26 |
|
#12 |
Senior Member
Join Date: Jun 2020
Posts: 100
Rep Power: 6 |
Hello
Code:
Have you tried to run it in 3D? Because sometimes the 2D condition will make the problem unphysical when I simulate some cases with OpenFOAM Yes , I tried with 3-D cases using symmetry bc in z-direction. Particle dispersion seems to be same as that of 2-D cases, no particle dispersion below the step at measurement locations. Which bc you use to make 3-D cases. Using of symmetry bc to make 3-D case is correct? Best Regards Atul Jaiswal |
|
January 6, 2021, 07:40 |
|
#13 |
New Member
Shuo Mi
Join Date: Nov 2020
Location: London
Posts: 19
Rep Power: 6 |
Hello,
I am doing it. I found your thread and some papers today. Because I also need to use the backward case as a validation of Openfoam's DEM method. I will show my results to you in recent days and discuss my results with you. |
|
January 6, 2021, 07:41 |
|
#14 | |
New Member
Shuo Mi
Join Date: Nov 2020
Location: London
Posts: 19
Rep Power: 6 |
Quote:
I am doing it. I found your thread and some papers today. Because I also need to use the backward case as a validation of Openfoam's DEM method. I will show my results to you in recent days and discuss my results with you. |
||
January 6, 2021, 09:04 |
|
#15 | |
New Member
Shuo Mi
Join Date: Nov 2020
Location: London
Posts: 19
Rep Power: 6 |
Quote:
|
||
January 6, 2021, 09:09 |
|
#16 | |
New Member
Shuo Mi
Join Date: Nov 2020
Location: London
Posts: 19
Rep Power: 6 |
Quote:
Also, I can not generate the mesh correctly using your BlockMeshDict, it seems you lost a face in the boundary. I just see that your g=9.8 is in the x-direction. I didn't check it in detail, is it right? Or you should set g in the y-direction. |
||
January 7, 2021, 10:36 |
|
#17 |
New Member
Shuo Mi
Join Date: Nov 2020
Location: London
Posts: 19
Rep Power: 6 |
Hi,
Please see the attachment. I got it right. The particles fell down. In fact, it is just a small problem. The gravity is in y-direction which is -9.81, but you set it in x-direction. I read the paper (Fessler et al), the paper did make me misunderstand the experiment set up. But after I tried it, I am sure now it is right to set gravity in y-direction Regards, Shuo |
|
January 7, 2021, 11:36 |
|
#18 | |
Senior Member
Join Date: Jun 2020
Posts: 100
Rep Power: 6 |
Hello
Quote:
Here is the paper of Fessler & Eaton, read the numerical setup carefully and let me know your thoughts: https://citeseerx.ist.psu.edu/viewdo...=rep1&type=pdf One more thing: Even if you set g=-9.81, I cant see, the particles well dispersed below the step @ measurement locations. The particles seems to be dispersed towards the outlet not at measurement locations. Best Regards Atul |
||
January 7, 2021, 11:55 |
|
#19 | |
New Member
Shuo Mi
Join Date: Nov 2020
Location: London
Posts: 19
Rep Power: 6 |
Hello,
Quote:
Also, I found the tutorial about the case based on Openfoam (German OpenFOAM User meeting 2017 (GOFUN 2017) Particle Simulation with OpenFOAM), you could see in the slides, it set gravity in y-direction. Anyway, I will compare my results with the exp data to see if the comparision is well. Regards, Shuo |
||
January 7, 2021, 12:52 |
|
#20 | |||
Senior Member
Join Date: Jun 2020
Posts: 100
Rep Power: 6 |
Hello
Quote:
Quote:
Quote:
Best Regards Atul Jaiswal |
||||
Tags |
dpmfoam, komegasst, particle-laden flow, rans model |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Will the results of steady state solver and transient solver be same? | carye | OpenFOAM Running, Solving & CFD | 9 | December 28, 2019 06:21 |
Multiphase flow - incorrect velocity on inlet | Mike_Tom | CFX | 6 | September 29, 2016 02:27 |
Turbulent dispersion in Lagrangian particle tracking | cvh | CFX | 0 | October 29, 2015 13:19 |
Beginner level doubts with turbulent flow simulation setup | Sagun | OpenFOAM | 1 | October 22, 2012 10:56 |
Turbulent Dispersion in Particle Tracking | ariel | CFX | 2 | April 22, 2008 23:02 |