September 28, 2020 at 5:50 pmDanmeiSubscriber
I'm running a simple simulation using mixture model + standard k-e turbulence model. I need to achieve the extraction of the secondary phase at the bottom wall by using udf. I used DEFINE_ADJUST to calculate the amount of mass I need to take out and DEFINE_SOURCE to add the source term in the cell zone(2nd phase). I am receiving this error message whenever I tried to calculate: Node 0: Process xxxx: Received signal SIGSEGV.
I have several check points:
- The udf itself has no problem compiling and loading.
- The simulation runs well without udf.
- I set the UDM location to 1 before I build and load the library
- I tried initializing the model without udf first and then hook up the udf, it didn't work
- I tried to create the parallel version of my code, still it doesn't have any problems with compiling and loading but cannot start the computation
- I tried interpret the udf instead, it doesn't do anything
- I checked the zone id, they are all correct
- I tried to hook up the DEFINE_ADJUST only, it gave me the same error, it seems that it is the DEFINE_ADJUST part that causes this problem
Can anyone help me?
Thread *t, **pt;
t = Lookup_Thread(d, 9);
if (C_V(c, pt) < 0.0)
C_UDMI(c,t,0) = -1.368*C_R(c, pt)*C_VOF(c, pt)*C_V(c, pt);
DEFINE_SOURCE(bot_source1, c, t, dS, eqn)
Thread *super_t = THREAD_SUPER_THREAD(t);
}September 29, 2020 at 11:20 amKeyur KanadeAnsys EmployeeLooks duplicate of
Viewing 1 reply thread
Ansys Innovation Space
- You must be logged in to reply to this topic.
Simulation World 2022
Earth Rescue – An Ansys Online Series
Ansys BlogTrending discussions
- Suppress Fluent to open with GUI while performing in journal file
- Heat transfer coefficient
- What are the differences between CFX and Fluent?
- Floating point exception in Fluent
- The solver failed with a non-zero exit code of : 2
- Getting graph and tabular data from result in workbench mechanical
- Difference between K-epsilon and K-omega Turbulence Model
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
Top Rated Tags
© 2022 Copyright ANSYS, Inc. All rights reserved.