July 10, 2019 at 6:56 amadamfaeizSubscriber
I am trying to simulate the separation of Oil, Water and Gas in a 3 phase horizontal separator. I would like to run the problem for a duration of 1 hour. The result that I am looking for should look something like this video:
I am using a VOF model with 3 Eulerian Phases (Water, Oil and Gas).
When my calculations are running, I get a floating point error midway and the solver stops working.
Any idea how to achieve 3600 s flow time for my CFD simulation?
July 10, 2019 at 10:48 amRobAnsys Employee
Staff are not allowed to download files or open attachments.
Assuming the boundary set up is sensible and the mesh good quality check the time step: if you reduce it does the model work?
July 11, 2019 at 1:49 amadamfaeizSubscriber
The following are my calculation parameters:
Time stepping method = Fixed
Time step size (s) = 0.1
Number of time steps = 36 000
Max Iterations / Time step = 1
Reporting interval = 100
Profile Update Interval = 100
The model works with small time steps but it requires a very long time to reach a solution.I tried reducing the time step to 0.001 s which means the number of time steps has to be 3600000. I only got flow time of 11.55 s after 12 hours of running calculations. I am trying to achieve a flow time of 3600 s to study the separation process.
Result obtained when flow time = 11.55 s.
July 11, 2019 at 10:41 amRobAnsys Employee
You shouldn't use VOF & dispersed: use Multi-fluid VOF for this type of model (under the Eulerian option) which is covered in DOC. You may also be able to reduce the length of the inlet pipe.
Multiphase models do need a small time step, you may get speed up with NITA and also using more cpu cores. I'd also review the initialisation options (specifically patching) to get a good starting point.
How many phases, and what volume fractions are you considering?
July 12, 2019 at 1:46 amadamfaeizSubscriber
So these are my new model settings:
I got the following error in my console while running calculation:
Flow time = 1.549999952316284s, time step = 65
85 more time steps
Error at Node 0: Global Courant number is greater than 250.00 The
velocity field is probably diverging. Please check the solution
and reduce the time-step if necessary.
===============Message from the Cortex Process================================
Compute processes interrupted. Processing can be resumed.
Field function saved in this object doesn't exist anymore.
Error: CAR: invalid argument : wrong type [not a pair]
Error Object: ()
Error: Error Occured during handling message in WorkBench: Generic Command
Error Object: #f
I am considering 3 phases with the following volume fractions:
Oil = 0.3
Water = 0.3
Gas = 0.4
July 12, 2019 at 9:15 amRobAnsys Employee
OK, so Euler is a good choice. The first part of the error is Courant Number: your time step is probably too big. The rest is the solver failing following the numerics failing.
July 15, 2019 at 4:00 amadamfaeizSubscriber
I'm already using a time step size of 0.0001s. If it is smaller it will take a very long time to run. Is it okay if i choose to run using implicit formulation so that there won't be a problem of Courant Number?
Also, what do you mean by "solver failing following the numerics failing" ?
July 15, 2019 at 10:08 amRobAnsys Employee
Your time step is a function of the flow speed and cell size: as a result time steps can get very small.
My comment refers to the errors. Typically something goes wrong (caused by settings etc) and that gives an initial error. From there we see a longer list of problems as the original issue triggers further failures in the code. Hence why we always want the full error and not just the last few lines of text.
July 25, 2019 at 3:09 amadamfaeizSubscriber
Hi there, sorry I've been quiet for a while.
So I updated my geometry as shown in the image below. The inlet pipe has been shortened as recommended.
I was wondering if it is a good idea to use Discrete Phase Modelling (DPM) alongside Eulerian models. I came across this idea after reading some articles about multiphase CFD modelling.
Since I only have one inlet as the boundary condition, should I manipulate the volume fractions of gas, liquid and oil; or use the injection option in DPM.
What is your input on this?
July 25, 2019 at 7:01 amDrAmineAnsys Employee
DPM is only tracked with the primary phase and particles do not see free surface so you need some UDF's. If using inert particles and not two-way you can enable beta feature to track wither other phases.
July 25, 2019 at 7:02 amDrAmineAnsys Employee
Moving to fluid thread
- You must be logged in to reply to this topic.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Suppress Fluent to open with GUI while performing in journal file
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
© 2023 Copyright ANSYS, Inc. All rights reserved.