We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

ANSYS Fluent v232 Pressure Gradient

    • Berker ÖZKARADUMAN
      Subscriber

      I want to define a custom field function which includes dP/dx,dP/dy.I did the following 1.solve/set/expert n n yes no 2.İterate 1 iteration. Even though I have done previous 2 steps,I cannot see dP/dx contour in Fluent,it says that it is not defined in contours.How can I turn on pressure gradients.I want to define shock sensor which is dot_product(velocity vector, Pressure Gradient)/a*Magnitude(Pressure Gradient).I am using version 23.2 on linux.

    • Rob
      Forum Moderator

      dP/dx is in the Derivatives section of contours, and should be available. Are you using the pressure or density based solver? 

    • Berker ÖZKARADUMAN
      Subscriber

      I am using pressure based coupled solver.

    • Berker ÖZKARADUMAN
      Subscriber

      I export case data file.I import having completed analysis.However, derivatives are not available for custom field functions.Moreover,I  cannot see dP/dx in y plane contour.

    • Rob
      Forum Moderator

      Odd,

       

    • Berker ÖZKARADUMAN
      Subscriber

      ((dp-dx*Vx))

      I could see these variables from my case data file.However, it gives unknown calculator button dp when I write following equation(you can see in the picture).

       

    • Rob
      Forum Moderator

      What pictures? Please check as the Forum gremlins have been fairly hungry of late and keep eating things. 

    • Berker ÖZKARADUMAN
      Subscriber

      Due to size issue I cannot upload pictures.But I am writing.

      Error Object

      ((dp-dx)*Vx)

      Error:Unknown calculator button dp.

    • Rob
      Forum Moderator

      Odd, you should be able to screen grab & paste into the text

      Works OK here. Did you pick the dp-dx from the menu or type it in?  CFFs are an older part of the code and have a few idiosyncrasies. 

    • Berker ÖZKARADUMAN
      Subscriber

      For the record, I cant monitor dp/dx contour.Maybe I should add someting on case dat file but I do not have any idea.

       

      I supply you error picture.

      I wrote /solve/set/expert n n y n

      /solve/iterate 1 

      .Then I get error in picture.

       

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