Fluids

Fluids

Topics relate to Fluent, CFX, Turbogrid and more

pressure previous time steps

TAGGED: 

    • Silversea
      Subscriber

      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?

    • Rob
      Ansys 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. 

    • Silversea
      Subscriber

       

      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.

       

    • Rob
      Ansys 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? 

Viewing 3 reply threads
  • You must be logged in to reply to this topic.