-
-
May 17, 2023 at 2:46 pm
jscsgh
SubscriberHiya,
I am trying to use the vof model together with the species transportation model. I am having some problems when initializing the vof and species using UDF at the beginning of the calculation.
The setup of the model is illustrated in the following figure. Two phases are included in the model between which a clear interface exists, and the two phases are differentiated and tracked using VOF. Two species are defined in phase 2, and a certain area is initialized with species 2 (the circle).
"DEFINE_INIT" can be used to initialize the vof value. The question is if "DEFINE_INIT" can also be used to initialize the distribution of a certain species. Can the initialization of VOF and species be included in the same "DEFINE_INIT" marco and what should be the sequence.
Many thanks for your time and looking forward to your reply.
Best regards
Heng
-
May 17, 2023 at 3:03 pm
Rob
Ansys EmployeeYou'll need to initialise phase first, then species. Not sure about whether you'll need multiple DEFINE_INIT steps, I'd just use patch from the GUI.
-
May 17, 2023 at 3:22 pm
jscsgh
SubscriberDear Rob,
Many thanks for your reply. Since the area to be patched for both vof and species are quite complicated (the figure shown above is a simplified illustration), udf has to be used (rather than GUI). I will have a try first. Agian, many thanks for your reply.
Best regards
Heng
-
-
- 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: Received signal SIGSEGV
-
5204
-
3281
-
2459
-
1308
-
970
© 2023 Copyright ANSYS, Inc. All rights reserved.