Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Is it possible to replace the use of macros for different model types?

    • chuminhkhue
      Subscriber

      Fluent technique(V.2023r1)

      Could you clarify if it is possible to replace the use of the 

      "DEFINE_SR_RATE" macro, typically employed in species transport mode for modeling chemical or physical reactions occurring at a surface.

      if I don't use "species transport" mode but use "user define scalar" model. 
      then used to model chemical or physical reactions occurring at a surface by DEFINE_SR_RATE can be replaced by "DEFINE_PROFILE" on "wall" in boundary condition?

      Thank you.

    • Rob
      Forum Moderator

      You can, but you're then responsible for all of the UDS coding, so all reactions, rate limiting stages, boundary conditions, source terms etc.  Please note, we don't support UDFs in the same way, so please read the documentation! 

    • chuminhkhue
      Subscriber

      thanks for your response

Viewing 2 reply threads
  • The topic ‘Is it possible to replace the use of macros for different model types?’ is closed to new replies.