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.

Source term derivative in Fluent UDF DEFINE_SOURCE(MOMENTUM, c, t, dS, eqn)

TAGGED: ,

    • Asif Shahriar Nafi
      Subscriber

      Hi

      I have a question regarding the derivative of the source term in DEFINE_SOURCE macro.

      Is derivative mandatory in the macro? As far I know, it is for solver stability. I noticed that when I do not provide dS[eqn] in the UDF, it still works and nothing changes. 

      My source term is a very big equation and the derivative itself is basically 100 lines of extra code. Is it a must that I include derivative?

    • Rob
      Forum Moderator

      It tends to help, but isn't required. dS[eqn] = 0.  is used in a few of the examples. 

Viewing 1 reply thread
  • The topic ‘Source term derivative in Fluent UDF DEFINE_SOURCE(MOMENTUM, c, t, dS, eqn)’ is closed to new replies.