|
[Sponsors] |
When I simulate the gas-liquid flow with VOF model, it always divergence,is the mesh |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 8, 2023, 22:39 |
When I simulate the gas-liquid flow with VOF model, it always divergence,is the mesh
|
#1 |
Senior Member
Join Date: Dec 2017
Posts: 384
Rep Power: 9 |
When I simulate the gas-liquid flow with VOF model, it always divergence,is the mesh problem ? Do I need dense the mesh in the gas-liquid interface? I try to use mesh adaption, but it does not work, it make the case divergence more quickly. How can I solve the problems?
|
|
October 9, 2023, 19:30 |
|
#2 |
Senior Member
Kareem
Join Date: Nov 2022
Location: New York
Posts: 118
Rep Power: 3 |
Divergence with the VOF model is *almost* always caused by too large of a time step. Make sure the CFL number is not going above 1 for the interface. Courant = velocity(time step/mesh length) for VOF.
__________________
Please like the answer if it helped! Video Tutorials and Tips: https://www.youtube.com/@cfdkareem/featured |
|
October 10, 2023, 03:46 |
Hi,but for the coupled scheme, the default CFL is 200, should I set it 1?
|
#3 |
Senior Member
Join Date: Dec 2017
Posts: 384
Rep Power: 9 |
Hi,but for the coupled scheme, the default CFL is 200, should I set it 1?
|
|
October 10, 2023, 10:35 |
|
#4 |
Senior Member
Kareem
Join Date: Nov 2022
Location: New York
Posts: 118
Rep Power: 3 |
Are you running a transient simulation?
__________________
Please like the answer if it helped! Video Tutorials and Tips: https://www.youtube.com/@cfdkareem/featured |
|
October 10, 2023, 21:46 |
Yes,that is right.
|
#5 |
Senior Member
Join Date: Dec 2017
Posts: 384
Rep Power: 9 |
||
October 10, 2023, 21:58 |
|
#6 |
Senior Member
Kareem
Join Date: Nov 2022
Location: New York
Posts: 118
Rep Power: 3 |
Ok, then the Courant number you want is dependent on your time step and mesh size. The Courant number under the coupled scheme is different, and you can disregard it for now. You can approximate the multiphase Courant number by hand, or use adaptive time stepping. If you use adaptive, you can set the global Courant number to 1 and fluent will adjust the time step automatically to achieve the set value.
The Courant number, for multiphase, can be thought of as how fast the interface between the two fluids moves across the mesh. Ideally, the interface will only move <1 mesh elements per timestep. For more complex simulations the number can be relaxed to 3-5, but usually at the cost of accuracy.
__________________
Please like the answer if it helped! Video Tutorials and Tips: https://www.youtube.com/@cfdkareem/featured |
|
October 10, 2023, 22:25 |
Thank you so much,but I have three questions for you: 1)so you mean the Courant num
|
#7 | |
Senior Member
Join Date: Dec 2017
Posts: 384
Rep Power: 9 |
Quote:
1)so you mean the Courant number under the coupled scheme does not have any function, it real Courant number only depends on the time step and mesh size, is that right . 2)In addition, you provide me a useful method to use the adaptive time stepping, but that have a problem.Because I need monitor the data by the time step, if it is adaptive tiem stepping, I cannot process the data by known flow time, how to solve this problem? 3. If it always divergence and I want to use the fixed time step, and the boundary condition has no problem, does that mean the only way is to change the mesh model make it more available? How can I decide it? |
||
October 10, 2023, 22:45 |
|
#8 | |
Senior Member
Kareem
Join Date: Nov 2022
Location: New York
Posts: 118
Rep Power: 3 |
Quote:
2) you can you a fixed timestep, but have to make sure it satisfies the Courant <1 condition throughout the whole simulation. It will add some time to the calculation, but should be okay 3) You are correct that you have two parameters to change: mesh size and time step. The mesh size should be set according to the physics and simulation problem. The mesh should be fine enough to capture the physics of interest, but not too refined that your time step has to be ridiculously small. I would recommend starting with a coarse mesh, and therefore larger time step, to check your initial simulation. If you're error is too high, then you can go back and refine further.
__________________
Please like the answer if it helped! Video Tutorials and Tips: https://www.youtube.com/@cfdkareem/featured |
||
October 10, 2023, 23:11 |
Thank you so much.
|
#9 | |
Senior Member
Join Date: Dec 2017
Posts: 384
Rep Power: 9 |
Quote:
Thank you so much. 1) What is the detail purpose? 2) I set 1e-5 fixed time step which can assure Courant <1 initially, but it abruptly divergence on the calculation progress, how to solve it? 3) Do you find a strange phenonmen, when I do the mesh independency study, when I refine the mesh number, the results always change a lot (about 5% deviation) and made my time step very small, have you met this problem, how to solve it? |
||
October 11, 2023, 11:43 |
|
#10 | |
Senior Member
Kareem
Join Date: Nov 2022
Location: New York
Posts: 118
Rep Power: 3 |
Quote:
2) You probably need a lower timestep. As stated eariler, the fixed timestep has to cover the entire simulation. So as your fluid accelerates the Courant number will increase as well. At 1e-5 it is probably okay for the intial stages of flow, but not so much as the flow develops. 3) The timestep decreasing with refined mesh makes sense. The change in error is a complex thing to pin down. There can be a lot of sources of error, not just the mesh. If changing the mesh is not changing the error, then it is likely coming from another source (Boundary conditions, numerical model, etc.)
__________________
Please like the answer if it helped! Video Tutorials and Tips: https://www.youtube.com/@cfdkareem/featured |
||
October 11, 2023, 22:35 |
1. Thank you for your sharing. 2. My timestep is 1e-5, if I lower it to 1e-6, the
|
#11 | |
Senior Member
Join Date: Dec 2017
Posts: 384
Rep Power: 9 |
Quote:
2. My timestep is 1e-5, if I lower it to 1e-6, the calculation time would be too large to burden, how can I solve it? 3. I find the another sources have no problem, but the results change with the increasing of mesh numbers, it will not reach steady until one mesh number, what is the reason? Have you met this problem? |
||
October 11, 2023, 23:02 |
|
#12 | |
Senior Member
Kareem
Join Date: Nov 2022
Location: New York
Posts: 118
Rep Power: 3 |
Quote:
3) I am unsure of exactly the problem you are having. I would need to know more about what your setup is and what variables you are tracking.
__________________
Please like the answer if it helped! Video Tutorials and Tips: https://www.youtube.com/@cfdkareem/featured |
||
October 12, 2023, 04:26 |
1)How long does it take you to calculate for the case with 1e-8, have you tried the a
|
#13 | |
Senior Member
Join Date: Dec 2017
Posts: 384
Rep Power: 9 |
Quote:
2)I mean the mesh independency study, the variable can be any you want ,it is just to make sure the calculation model is accurate with the mesh model. |
||
October 12, 2023, 09:21 |
|
#14 | |
Senior Member
Kareem
Join Date: Nov 2022
Location: New York
Posts: 118
Rep Power: 3 |
Quote:
__________________
Please like the answer if it helped! Video Tutorials and Tips: https://www.youtube.com/@cfdkareem/featured |
||
October 13, 2023, 23:00 |
“I set up an automatic export of the data at a consistent time step. ”,but the time s
|
#15 | |
Senior Member
Join Date: Dec 2017
Posts: 384
Rep Power: 9 |
Quote:
How many mesh number do you have for the 1e-8s time step, it only take less than 24 hours? What is parameters for you pc? |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting the height of the stream in the free channel | kevinmccartin | CFX | 12 | October 13, 2022 21:43 |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 07:38 |
steady state vof for liquid jet in cross flow | miana | Fluent Multiphase | 0 | May 7, 2014 12:55 |
error message | cuteapathy | CFX | 14 | March 20, 2012 06:45 |
Moving mesh or VOF? | Giovanni | Main CFD Forum | 16 | September 24, 2001 08:25 |