|
[Sponsors] |
September 7, 2014, 11:05 |
2 phase mixture into a room
|
#1 |
New Member
anonymous
Join Date: Apr 2011
Posts: 7
Rep Power: 15 |
I am trying to simulate an air and steam mixture being blown into a room with CFX 14.5.7. The steam has water droplets in it. So it's a 2 phase and multi component problem. The room has 2 outlets. The mixture is coming in at 125 ft/s. The room is 50ft x 10 ft. The ultimate goal is to look at the relative humdity on some cabinet surfaces in the room. I have one domain. I have used the setup from tutorial 31 (steam jet) whereby you create 2 subdomains to capture the liquid to gas and gas to liquid. I tried a run where the mesh count was 12M and the run died on the 2nd iteration with no message. My time step was 1e-5. I have tried 1e-6 and e-7 timesteps and they die on the 1st iteration. I then made the mesh finer (24M) and I can get it to run with 1e-5 but then when I try to change it to 1e-4 it dies. Not sure why the mesh size was imapcting it so much. I did another case with a real coarse mesh (100K) and it ran with a timestep of 1e-5.
|
|
September 7, 2014, 18:32 |
|
#2 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
It looks like your simulation is highly numerically unstable, so convergence is sensitive to some things it should not normally be sensitive to. I would recommend, in order of importance:
1) You check that the physics is correct. No point continuing if you are specifying something which missed an important piece of physics 2) Mesh quality - everything is easier with a better mesh. If you have a rectangular room you can hopefully make a mesh which is very high quality hexs. 3) Double precision 4) Small time steps 5) Use a better initial condition |
|
September 7, 2014, 19:21 |
|
#3 |
New Member
anonymous
Join Date: Apr 2011
Posts: 7
Rep Power: 15 |
Thanks. I appreciate the response.
|
|
September 7, 2014, 19:32 |
|
#4 |
New Member
anonymous
Join Date: Apr 2011
Posts: 7
Rep Power: 15 |
Also as a follow up - do you have any recommendations about the size of the mesh elements? I tried a run with 12.9M elements with no success and then a run with 29M elements with partial success. It's not clear to me yet if I really need the smaller element size to capture all that I have here namely 2 phase, 2 component and buoynacy. Would you agree that there could be a threshold of element size whereby a smaller mesh would be needed to capture all this? What kind of size are we talking about?
|
|
September 7, 2014, 19:43 |
|
#5 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143 |
Finer meshes are less numerically stable than coarse ones. So I would expect you will get divergence problems as you refine the mesh. So I would do all the development on coarse meshes, and once that is working reliably you refine the mesh and do a mesh sensitivity study to determine the mesh you need.
There are some cases when a coarse mesh cannot resolve a fundamental flow feature so you either get divergence or a totally unrealistic result - you will have to use your judgement to determine whether this is the case. But this is rare, most of the time a coarse mesh will converge easily and have a result which is generally correct but the actual quantitative values could have significant error. Final: please do not PM me to tell me you have a question on the forum. If it is on the CFX forum I will see it. Please leave PM for messages which are actually private. |
|
September 9, 2014, 17:11 |
Bad partition was the reason
|
#6 |
New Member
anonymous
Join Date: Apr 2011
Posts: 7
Rep Power: 15 |
In the end it ended up being a bad partition. I was trying to run on 8 cpus. I made a change and ran it on 5 cpus by which you get a different partition. it ran fine. this was the only change. So the previous partition must have been in a bad/sensitive location.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Volume fraction of dispersed phase to determine DPM, VOF, Mixture model | Mohsin | FLUENT | 5 | March 5, 2018 07:47 |
alphaEqn.H in twoPhaseEulerFoam | cheng1988sjtu | OpenFOAM Bugs | 15 | May 1, 2016 16:12 |
Two phase mixture model | me12p1006 | Main CFD Forum | 1 | April 9, 2015 05:54 |
Mixture model with one compressible fluid phase | oden | FLUENT | 0 | September 26, 2006 09:11 |
compressible two phase flow in CFX4.4 | youngan | CFX | 0 | July 1, 2003 23:32 |