-
-
August 21, 2018 at 10:55 am
student_18
SubscriberHi,
I want to simulate a transient two-phase flow with VOF in porous media considering capillary action. The porous zone is initially filled with air. I want to model the displacement of air with liquid water due to capillary forces. My main interest is the degree of wetting and the spreading of the wetting front. How to model capillary effects in the porous zone?
Best regards
-
August 21, 2018 at 11:02 am
DrAmine
Ansys EmployeeIn the Eulerian Model the Capillary Pressure and wetting effects are taken into account as an additional source term for the wetting phase momentum equation.
-
August 21, 2018 at 11:30 am
student_18
SubscriberThank you. When using Eulerian Model my calculation diverges after several time steps. Using VOF the calculation has no stability problems. What could be the reason? Might the same mesh be acceptable for VOF but not for Eulerian?
-
August 21, 2018 at 12:19 pm
DrAmine
Ansys EmployeeEulerian Model is more general than the VOF model and requires baby sitting of the closure laws for drag, etc. The Eulerian Model allows for slip by solving additional transport equations
You can still use the VOF model but needs to incorporate what is missing via UDF.
-
August 21, 2018 at 1:18 pm
student_18
SubscriberThanks, I would then like to try using UDF with VOF. If I understand that right, I define a momentum source term through DEFINE_SOURCE for the wetting phase. The source term must consider the capillary pressure and permeability both depending on the saturation. But as I am new to UDF, it is not exactly clear to me how to write the UDF. Do you have any tips or good examples?
Best regards
-
August 21, 2018 at 2:09 pm
DrAmine
Ansys EmployeeYou can check the Student Resources, customization manual and try to attend a UDF training.
-
August 21, 2018 at 3:10 pm
Karthik R
AdministratorHello,
Just to add to abenhadj's comments, the Fluent customization manual is extremely extensive. It contains numerous examples. UDFs mainly make use of User Defined Macros. The best way to get used to writing UDFs is to take an existing UDF and modify it. You might have to go through additional debug. You can always reach out to us at the student community if you need additional help about various macros.
Good luck with your modeling.
Best Regards,
Karthik
-
March 1, 2019 at 4:01 am
AstroJZ
Subscriber
Hello,
Just to add to abenhadj's comments, the Fluent customization manual is extremely extensive. It contains numerous examples. UDFs mainly make use of User Defined Macros. The best way to get used to writing UDFs is to take an existing UDF and modify it. You might have to go through additional debug. You can always reach out to us at the student community if you need additional help about various macros.
Good luck with your modeling.
Best Regards,
Karthik
Hi Kathik,
I am doing simulation of multiphase flow and I would like to include capillary pressure as source term in liquid phase by UDF. How can I do it?
Thanks,
Astrojz
-
April 25, 2020 at 8:09 pm
Hoss
Subscriber
As shown, my media is made of entangled fibers. First, the void space between fibers is filled with water. However, in oil vicinity, oil pushes the water out and is wicked into the microchannels (due to capillary force and lipophilicity of the fibers).
Can I simulate this via porous media? I want to calculate wicking rate of oil.
Thank you!
Eulerian Model is more general than the VOF model and requires baby sitting of the closure laws for drag, etc. The Eulerian Model allows for slip by solving additional transport equations
You can still use the VOF model but needs to incorporate what is missing via UDF.
-
October 1, 2020 at 5:08 am
vikash0603
SubscriberI want to simulate a transient two-phase flow with VOF in porous media considering capillary action. The porous zone is initially filled with air. I want to model the displacement of air with liquid water due to capillary forces. My main interest is the degree of wetting and the spreading of the wetting front. How to model capillary effects in the porous zone?n -
October 1, 2020 at 10:49 am
Rob
Ansys EmployeeHave a look at the Corey model, otherwise you'll either need to model the structure itself or use a UDF. n -
October 9, 2020 at 1:54 am
vikash0603
SubscriberHinHow to add more than one wetting phase in corey model Ansys fluent? n -
October 13, 2020 at 11:20 pm
vikash0603
SubscriberHinjust let me know how to add more than one wetting or non-wetting phases in that model ? As, I can see we have only one wetting / non wetting phase available in drop down list. In the eulerian model I added three phase(air, water and oil). I want to add air as a primary phase, water and oil as a secondary phase. n -
October 14, 2020 at 9:31 am
Rob
Ansys EmployeeYou'll need a UDF for that, the model was added to allow reservoir models to be run but we didn't extend it to cover many phases. n
-
- 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.

Ansys Blog
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
-
2706
-
2142
-
1355
-
1144
-
462
© 2023 Copyright ANSYS, Inc. All rights reserved.