Topics relate to Fluent, CFX, Turbogrid and more

Divergence of velocity vector in source term UDF

    • scholar

      Hello everyone,

      How to write/access the divergence of velocity vector present in source term UDF (DEFINE_SOURCE). The source term is for granular temperature equation. To add source term for momentum conservation we can add xmomentum, ymomemtum, and zmomentum source terms where the gradient of velocities can be directly called. But for granular temperature equation, to add source, there is no option to add x, y, z components. The divergence of the vector is to be used directly. So how to write the divergence of vector?

      The source term equation which has divergence of velocity vector is enclosed for reference. i,j present in the equation are for different phases

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