|
[Sponsors] |
MRF working with reactingTwoPhaseEulerFoam but not with reactingMultiphaseEulerFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 21, 2020, 08:42 |
MRF working with reactingTwoPhaseEulerFoam but not with reactingMultiphaseEulerFoam
|
#1 |
New Member
Mazen Draw
Join Date: Sep 2018
Posts: 21
Rep Power: 8 |
Dear Foamers,
I am trying to set up a case of three-phase turbulent flow in stirred tank using reactingEulerFoam. Now since I want to start simple and increase the complexity of the problem a step by step, I have made a test case with laminar flow using MRF approach with two phases, air and water. The problem appears when I activate the MRF in the rotating zone. After some long testing I have figured out that the same case works with reactingTwoPhaseEulerFoam solver but not with reactingMultiphaseEulerFoam solver. Same BCs, thermophysical properties and interfacial models applied in both cases. The only difference between the two cases is the solver. reactingTwoPhaseEulerFoam: runs the case and exits perfectly. reactingMultiphaseEulerFoam: starts solving but the courant number increases every time-step. Basically, everything starts getting messed up. Air volume fraction increases and water volume fraction decreases (which is not supposed to happen, because there is no mass transfer). Wrong pressure and high pressure residual..etc. I attached both cases below. If anyone with some expertise in these solvers can have a look and tell me if I am missing something, or if this is a bug in the rMEF solver, I would appreciate it a lot! |
|
June 4, 2020, 10:12 |
|
#2 |
Senior Member
Andrea
Join Date: Feb 2012
Location: Leeds, UK
Posts: 179
Rep Power: 16 |
Hi Mazen,
have you made any progress on this? I am also facing serious stability issues when using MRF together with reactingMultiphaseEulerFoam in OF 6.0. Which OF version are you using? Andrea |
|
June 4, 2020, 11:36 |
|
#3 |
New Member
Mazen Draw
Join Date: Sep 2018
Posts: 21
Rep Power: 8 |
Hello Andrea,
I'm glad to see other people interested in using MRF with rMEF solver! Actually, I haven't done any remarkable progress on this issue yet. However, there is clearly a bug when using MRF with rMEF deep in the code. The team I am working with have a strategy of finding out where the bug exactly is before reporting it. The issue becomes even worse when you turn on face momentum in fvSolution! I haven't been able until now to make a simulation run with MRF and face momentum in rMEF, whether the solution is conservative or not. Another research group have reported that they have less issues when using partial elimination in fvSolution. To answer your question, I have tested v6, v7, dev and even v1912 they all have the same issue. |
|
June 4, 2020, 11:44 |
|
#4 |
Senior Member
Andrea
Join Date: Feb 2012
Location: Leeds, UK
Posts: 179
Rep Power: 16 |
Thanks for the quick reply!
That destroys my hope that moving to 7 would have miraculously fixed the issue BTW I have also made some additional tests in OF-6 and the same case with the same settings works like a clockwork with reactingTwoPhase but fails miserably in reactingMultiphase. The behaviour I am observing in the latter is very similar to what you have described: the velocity within the MRF region keeps increasing with time to unphysical values and so, of course, does the Courant number. Please keep my posted if you make any progress on this, I'll do the same Andrea |
|
June 4, 2020, 11:59 |
|
#5 |
New Member
Mazen Draw
Join Date: Sep 2018
Posts: 21
Rep Power: 8 |
Out of curiosity, are you testing on 3D or 2D case? Because when you set g = 0, the solver seems to deliver conservative solution. However, I still have no way of solution validation.
Also are you using face or cell momentum? I will definitely keep you posted, thanks! |
|
June 4, 2020, 12:04 |
|
#6 |
Senior Member
Andrea
Join Date: Feb 2012
Location: Leeds, UK
Posts: 179
Rep Power: 16 |
My domain is 3D and includes gravity. I have also run a very basic test in 2D with reactingMultiphase and MRF and everything seems to work there.
I have tested both face and cell-centred formulations for the momentum equation, none of them are working and I did not notice any significant difference between the two. Will try and have a go with partial-elimination. Good luck! Andrea |
|
June 4, 2020, 12:18 |
|
#7 |
Senior Member
Andrea
Join Date: Feb 2012
Location: Leeds, UK
Posts: 179
Rep Power: 16 |
Just to add that partial elimination slows down the velocity divergence process, but does not fix it.
|
|
June 19, 2020, 06:18 |
|
#8 |
New Member
Mazen Draw
Join Date: Sep 2018
Posts: 21
Rep Power: 8 |
There were issues with the implementation of MRF in rMEF. A smart guy in our group worked on fixing these bugs. Until now the bug fixes look good, they work on 2D and 3D cases, and provide reasonable results.
If things go well, the bug fix will be communicated with OpenFOAM Foundation. If they accept it, you will be able to see it soon in the commits of OpenFoam-dev. You can then clone their repository, compile it and run your cases. Kind regards, |
|
June 19, 2020, 07:03 |
|
#9 |
Senior Member
Andrea
Join Date: Feb 2012
Location: Leeds, UK
Posts: 179
Rep Power: 16 |
Hi,
many thanks for the update and good job on finding the bug! Any chance you could share here what the bug was and ideally how your very smart colleague fixed it? Cheers, Andrea |
|
June 26, 2020, 06:24 |
|
#10 |
New Member
Mazen Draw
Join Date: Sep 2018
Posts: 21
Rep Power: 8 |
Hi Andrea,
you can see the changes made to the code in OpenFOAM dev release, as it's already been adopted. https://github.com/OpenFOAM/OpenFOAM...8676a78f7a8f20 Hope it can help you run your case! Kind regards, Mazen |
|
June 26, 2020, 06:58 |
|
#11 |
Senior Member
Andrea
Join Date: Feb 2012
Location: Leeds, UK
Posts: 179
Rep Power: 16 |
Great, thank you Mazen!
|
|
Tags |
mrf, multiphase, reactingeulerfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[chtMultiRegionSimpleFoam] Control MRF inside fluid region | hiuluom | OpenFOAM Pre-Processing | 38 | October 21, 2019 08:51 |
Incomplete ring MRF zones | Attesz | OpenFOAM Running, Solving & CFD | 1 | June 3, 2017 06:16 |
[Commercial meshers] MRF: imported mesh from ICEM not shown in ParaView and trying to merge with other | n0ukh3z007 | OpenFOAM Meshing & Mesh Conversion | 0 | September 20, 2015 16:04 |
Rigid body motion on transient fluent mrf | ghost82 | EnSight | 4 | September 6, 2014 12:24 |
DPM parallel is not working but serial is working | johnwinter | FLUENT | 1 | March 27, 2012 03:01 |