-
-
July 26, 2021 at 12:09 pm
SageArt
SubscriberI am running CFD analysis on Fluent and I am getting a fatal error from the compute processes. This error comes up when I hook a UDF to define the viscous resistance and porosity inside my computational cells. I have attached snippets of the UDF and the error below. Kindly assist on the possible cause of the problem and how to resolve it.
July 27, 2021 at 11:23 amAmine Ben Hadj Ali
Ansys EmployeeWe do not debug codes but can you check if you have defined the Cell Memories in Fluent? Does it run without the UDF? What about just using Fluent Expressions instead of UDF's?
Moreover the way you are access the UDS values is wrong: you need to do that inside the cell loop.
July 27, 2021 at 11:30 amSageArt
SubscriberI didn't submit my full code but I did define cell memories and the case works just fine when I am only having porosity. However when I add viscous resistance it gives me that cortex error. I am open to trying out fluent expressions, please link me to a resource that I can refer to for those.
Moreover please elaborate on the last point you raised, I don't get it.
July 27, 2021 at 2:31 pmRob
Forum ModeratorExpressions are covered in the User's Guide, and that also includes examples.
Re the second point, look at how you're using thrm, it should be in the cell loop as it's defined for each cell.
July 27, 2021 at 3:17 pmSageArt
Subscriberthrm is properly defined in part of the UDF that I didn't include above.
However, I used an expression to define my porous resistance and kept the rest of the UDF and the simulation now runs without the cortex error. Moreover, I am going to try and parallelize the UDF and see if it also gets rid of the cortex error.
July 27, 2021 at 3:54 pmRob
Forum ModeratorBut look at it's usage in the part you shared: it's not a single value.
July 27, 2021 at 4:05 pmSageArt
SubscriberAt the moment, it is just initialized and not used anywhere on that code. Initially, I used it in the cell loop and later replaced it with the user defined memory. I will remove it from those lines of code to leave everything neat.
Viewing 6 reply threads- The topic ‘Fatal error in compute processes’ is closed to new replies.
Ansys Innovation SpaceTrending discussionsTop Contributors-
3039
-
971
-
858
-
851
-
792
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.
-
The Ansys Learning Forum is a public forum. You are prohibited from providing (i) information that is confidential to You, your employer, or any third party, (ii) Personal Data or individually identifiable health information, (iii) any information that is U.S. Government Classified, Controlled Unclassified Information, International Traffic in Arms Regulators (ITAR) or Export Administration Regulators (EAR) controlled or otherwise have been determined by the United States Government or by a foreign government to require protection against unauthorized disclosure for reasons of national security, or (iv) topics or information restricted by the People's Republic of China data protection and privacy laws.