Fluids

Fluids

Changing multiple boundary condition parameters in one UDF

    • JaySmall
      Subscriber

      Hello,

      I'm trying to write a UDF to switch between different velocities along a velocity inlet based on pressure conditions at the boundary cell. I have the velocity profile DEFINE_PROFILE portion of the UDF sorted, but I am curious: can I change the static temperature in the thermal tab using the same UDF, or do I need to write another DEFINE_PROFILE section for this temperature change?

    • Karthik R
      Administrator
      Hello:
      You can have this code in the same UDF file. However, you will need to use the DEFINE_PROFILE macro again.
      Karthik
Viewing 1 reply thread
  • You must be logged in to reply to this topic.