-
-
September 28, 2020 at 5:50 pm
Danmei
SubscriberHi all,
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?
#include "udf.h"
DEFINE_ADJUST(my_adjust1, d)
{
Thread *t, **pt;
face_t f;
cell_t c;
t = Lookup_Thread(d, 9);
begin_c_loop(c, t)
{
C_UDMI(c,t,0)=0.0;
pt=THREAD_SUB_THREADS(t);
if (C_V(c, pt[1]) < 0.0)
C_UDMI(c,t,0) = -1.368*C_R(c, pt[1])*C_VOF(c, pt[1])*C_V(c, pt[1]);
}
end_c_loop(c, t)
}
DEFINE_SOURCE(bot_source1, c, t, dS, eqn)
{
Thread *super_t = THREAD_SUPER_THREAD(t);
return (-1.0*C_UDMI(c,super_t,0));
}
September 29, 2020 at 11:20 amKeyur Kanade
Ansys EmployeeLooks duplicate of
Viewing 1 reply thread- The topic ‘Node 0: Process xxxx: Received signal SIGSEGV/Fluent/UDF/C_UDMI’ is closed to new replies.
Innovation SpaceTrending discussions- air flow in and out of computer case
- Varying Bond model parameters to mimic soil particle cohesion/stiction
- Eroded Mass due to Erosion of Soil Particles by Fluids
- I am doing a corona simulation. But particles are not spreading.
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- Issue to compile a UDF in ANSYS Fluent
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
Top Contributors-
4167
-
1487
-
1338
-
1171
-
1021
Top Rated Tags© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-
Ansys Assistant
Welcome to Ansys Assistant!
An AI-based virtual assistant for active Ansys Academic Customers. Please login using your university issued email address.
Hey there, you are quite inquisitive! You have hit your hourly question limit. Please retry after '10' minutes. For questions, please reach out to ansyslearn@ansys.com.
RETRY