Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Cell Macro Pressure – UDF

    • Max4
      Subscriber

      Hi,


      I have a question about the following cell macro: C_P(c,t). Does it give the static pressure? I don´t found any information about this in the FLUENT Manual.


      Moreoever, the unit is the Pascal, or?


      I wrote the following UDF, but I have seen UDF where the term "C_UDMI(c, t, 0) was used to store the cell value. Is it mandatory to use it?




      Regards,


      Maxime

    • Amine Ben Hadj Ali
      Ansys Employee

      It does give the static pressure. All variables in Fluent UDF are SI. So for pressure it is in Pa. Regarding UDMI it is just for debugging here not really required.


      I recommend attending a UDF training Maxime :-).

    • sufia.khatoon
      Subscriber

      Hello Dr. Amine,

      How can one attend a training on UDFs and expressions in Ansys Fluent? Are there any upcoming trainings?

    • Rob
      Forum Moderator

      There are training materials on the Ansys Learning Hub, which requires a subscription.  https://www.ansys.com/training-center/course-catalog/training-for-you   That course should be pre-recorded so can be done at your convenience. 

      We also offer bespoke training, but I'd always take the standard course first. Note, the training is only intended to provide the knowledge to write the code, you'd still need to do all of the coding yourself. 

       

Viewing 3 reply threads
  • The topic ‘Cell Macro Pressure – UDF’ is closed to new replies.