|
[Sponsors] |
June 30, 2020, 08:11 |
define enthalpy source in porous zone
|
#1 |
Senior Member
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9 |
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 |
|
Tags |
define_source, porosity |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Laminar Kinetic Energy Model (Walters 2008) | logoswort | Fluent UDF and Scheme Programming | 2 | May 19, 2017 20:41 |
Problem compiling a custom Lagrangian library | brbbhatti | OpenFOAM Programming & Development | 2 | July 7, 2014 12:32 |
centOS 5.6 : paraFoam not working | yossi | OpenFOAM Installation | 2 | October 9, 2013 02:41 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 11:57 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |