Fluids

Fluids

define enthalpy source in porous zone

    • Weiqiang Liu
      Subscriber

      Hi all,


      I am trying to use DEFINE_SOURCE macro to define a enthalpy source in porous zone. I know for enthalpy source terms caused by chemical reactions, fluent will multiply this source term by porosity. I am wondering if I have a user defiend enthalpy source term say Hg. Will fluent multiply this term Hg with porosity? If I want fluent use Hg in energy equation, should I return Hg/porosity in DEFINE_SOURCE macro so that the final utilized source term is Hg?


      Best regards


      Weiqiang 

    • DrAmine
      Ansys Employee

      You need to take care about that and do the multiplication on your own.

    • Weiqiang Liu
      Subscriber

      Hi,Amine,


      Do you mean I should multiply Hg with 1/porosity in DEFINE_SOURCE macro?


      best 


      weiqiang

    • DrAmine
      Ansys Employee

      IF you want to a define a source applied in a volume and that volume is a porous volume you should multiply the source term with porosity.

    • Weiqiang Liu
      Subscriber

      Hi, Amine,


      Thanks very much!


      best regards


      weiqiang

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