-
-
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.
-
- The topic ‘domain and thread looping with solid and fluid zones’ is closed to new replies.
-
5834
-
1906
-
1420
-
1305
-
1021
© 2026 Copyright ANSYS, Inc. All rights reserved.