Fluids

Fluids

Topics relate to Fluent, CFX, Turbogrid and more

Scheme/UDF Boundary Change Capability

    • JaySmall
      Subscriber

      Hello,

      I'm using Fluent to simulate a 2D detonation wave in an unwrapped annulus. I've been searching through these and other CFD forums and the UDF manual, and I haven't been able to find an answer to my particular question. I'm trying to use a combination of Scheme/UDF files to switch the boundary condition at the cell faces along the boundary based on pressure. Basically, if the local pressure is higher than the injection pressure (immediately after the wave), I want that portion of the boundary to become a wall. If the injection pressure is greater than the local pressure, it should be a total pressure inlet. I've built a rough Scheme file that will change the boundary of the entire inlet section, but I haven't found a way to change only the parts of the boundary that meet the pressure requirements.


      Is this sort of thing possible in Fluent through some combination of Scheme and UDF files?

    • Rob
      Ansys Employee
      Not easily as we tend to work at the surface boundary level. Switching individual facets could require those facets to be split from the boundary first.
Viewing 1 reply thread
  • You must be logged in to reply to this topic.