-
-
July 24, 2019 at 6:53 pm
tallred11
SubscriberHello,
I'm working on a two-phase VOF simulation that has both solid zones and fluid zones. I have heat transfer and fluid flow in the model. Previously, I only had the fluid zone and the UDF I'm using worked fine; however, once I added the solid zone, I started getting the "Received Signal SIGSEGV" error.
I suspect this is an issue with how I am accessing the domains and subdomains during the initialization UDF. I know that in the fluid zone, I will have mixture, liquid, and vapor subdomains. However, in the solid zone, I assume I just have a "mixture" subdomain?
I was previously doing a sub_domain_loop -> thread_loop_c -> begin_c_loop_all when I had only the fluid zones and then I would set the initial conditions. Because I have the solid domain now, is this trying to access nonexistent subdomains on the solid and giving this error?
Do I need to loop across just the fluid zone cells to set the initial VOF parameters and then loop over all cells to set the initial thermal parameters? If so, how do I do this?
Thanks!
-
July 25, 2019 at 4:40 am
DrAmine
Ansys EmployeeFLUID_ THREAD_ P of thread return true if fluid. Use that in if condition to avoid access violation.
-
- You must be logged in to reply to this topic.

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
-
2524
-
2066
-
1285
-
1096
-
459
© 2023 Copyright ANSYS, Inc. All rights reserved.