TAGGED: cfd-udf-fleunt, fluent-udf-multi-phase, udferror
-
-
March 11, 2025 at 2:53 am
raju.chowdhury
SubscriberHi,
I am working on an E-E multiphase model to simulate heat transfer between the phases. I am using the following UDF to apply a temperature-dependent density profile of the secondary phase.
#include "udf.h" #include "math.h" DEFINE_PROPERTY(cell_density,c,t) { real g_density; real temp; /* density of secondary phase */ Thread *phase_thread = THREAD_SUB_THREAD(t, 1); temp = C_T(c, phase_thread); if (temp > 273.0) g_density = 522.478 * pow(temp, -1.014); else g_density = 1.63; return g_density; }
Â
While compiling, no error displays; however, while initialising the solution, getting the following error. Not sure where is the problem. Any suggestions will be great.
Â
Â
==============================================================================
Node 4: Process 45008: Received signal SIGSEGV.
==============================================================================
==============================================================================
Node 5: Process 47176: Received signal SIGSEGV.
==============================================================================
==============================================================================
Node 0: Process 44496: Received signal SIGSEGV.
==============================================================================
==============================================================================
Node 3: Process 5776: Received signal SIGSEGV.
==============================================================================
==============================================================================
Node 2: Process 48580: Received signal SIGSEGV.
==============================================================================
==============================================================================
Node 1: Process 53732: Received signal SIGSEGV.
==============================================================================
999999: mpt_accept: error: accept failed: No such file or directory
999999: mpt_accept: error: accept failed: No such file or directory
999999: mpt_accept: error: accept failed: No such file or directory
999999: mpt_accept: error: accept failed: No such file or directory
999999: mpt_accept: error: accept failed: No such file or directory
999999: mpt_accept: error: accept failed: No such file or directory
999999: mpt_accept: error: accept failed: No such file or directory
999999: mpt_accept: error: accept failed: No such file or directory
999999: mpt_accept: error: accept failed: No such file or directory
===================================================================================
= Â BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= Â RANK 0 PID 44496 RUNNING AT CNA309-6LJDRZ2
= Â EXIT STATUS: -1 (ffffffff)
======================================================================================================================================================================
= Â BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= Â RANK 4 PID 45008 RUNNING AT CNA309-6LJDRZ2
= Â EXIT STATUS: -1 (ffffffff)
======================================================================================================================================================================
= Â BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= Â RANK 5 PID 47176 RUNNING AT CNA309-6LJDRZ2
= Â EXIT STATUS: -1 (ffffffff)
===================================================================================
 The fl process could not be started.Error: Invalid result name.
Error Object: () -
March 11, 2025 at 10:04 am
Rob
Forum ModeratorI'm not sure you need to assign the phase thread for properties as it's a material property.Â
-
March 11, 2025 at 10:10 am
raju.chowdhury
SubscriberAs I have used temperature-dependent density variation, which temperature will it consider (primary or secondary phase) to calculate the density?
-
March 11, 2025 at 10:22 am
Rob
Forum ModeratorIt should be the material temperature - try it and see what you get.Â
-
March 11, 2025 at 10:24 am
raju.chowdhury
Subscriberokay. I will try that.
-
March 11, 2025 at 11:51 am
raju.chowdhury
SubscriberDo I need to add any command for running the simulation using parallel nodes in HPC?
-
March 11, 2025 at 12:04 pm
Rob
Forum ModeratorNot for the UDF, you only need the NODE/HOST calls for sum loops (it's covered in the Parallel considerations chapter). You may or may not for the solver based on your IT cluster configuration: that's for local IT to advise.Â
-
- You must be logged in to reply to this topic.
- How do I get my hands on Ansys Rocky DEM
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- convergence issue for transonic flow
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- Point exception in erosion calculation
- Errors with multi-connected bodies using AQWA
- Script Error Ansys
-
2502
-
931
-
601
-
599
-
591
© 2025 Copyright ANSYS, Inc. All rights reserved.