August 9, 2023 at 11:18 pmSilverseaSubscriber
There were these two macros, C_P_M1(c,t) and C_P_M2(c,t), to get pressure previous time steps in the earlier versions of Ansys Fluent.
But, I couldn't find them in the newer versions of Fluent (2020 or newer) UDF manual.
I tried to use C_P_M2(c,t) in a UDF, but it encountered a memory error.
Node 2: Process 8324: Received signal SIGSEGV.
= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
= RANK 0 PID 21220 RUNNING AT DESKTOP-JV8VLIU
= EXIT STATUS: -1 (ffffffff)
Any information or suggestions?
August 10, 2023 at 11:47 amRobAnsys Employee
I'd have a look at this https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v232/en/flu_udf/flu_udf_DataAccessMacros.html%23x1-4630004.2.3 and maybe then check the file that's mentioned.
August 10, 2023 at 5:16 pmSilverseaSubscriber
Thank you for the reply. I checked the link and the file mem.h.
Although these two macros, C_P_M1(c,t) and C_P_M2(c,t), weren’t in the link of the UDF manual, however, they existed in the “mem.h” file (see the attached pictures).
So, the question still exists. What happened to these two macros? Why have they not been mentioned in the UDF manual?
Can we still use them? If we can, why I encountered an error using, particularly, this C_P_M2(c,t) macro?
Edit - Rob. Sharing Documentation & screen grabs of headers isn't permitted. Friendly warning, nothing to worry about. Links to documentation & section numbers are fine.
August 11, 2023 at 7:57 amRobAnsys Employee
Not sure, and if I find out I can't share on here as it's not in the documentation!
There was a note about scalars in the documentation, did switching those on help?
- You must be logged in to reply to this topic.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Difference between K-epsilon and K-omega Turbulence Model
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Suppress Fluent to open with GUI while performing in journal file
- Mesh Interfaces in ANSYS FLUENT
- Time Step Size and Courant Number
- error: Received signal SIGSEGV
© 2023 Copyright ANSYS, Inc. All rights reserved.