|
[Sponsors] |
May 15, 2019, 23:46 |
Source term calculation
|
#1 |
New Member
ChengYang
Join Date: Mar 2019
Posts: 1
Rep Power: 0 |
I am trying to write a short UDF to simulate "coal particle reaction" , as the calculation zone set as porous medium, so should I calculate the gas product source term by " / (C_VOLUME(c,t) * CURRENT_TIMESTEP", or " /(porosity * C_VOLUME(c,t) * CURRENT_TIMESTEP" which consider the source term only produce in gas phase.
Thank you very much! I seems have an answer to my confusion, it seems that the source term defined by "per unit volume of cell per time". |
|
Tags |
udf code |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swak4foam for OpenFOAM 4.0 | mnikku | OpenFOAM Community Contributions | 80 | May 17, 2022 09:06 |
polynomial BC | srv537 | OpenFOAM Pre-Processing | 4 | December 3, 2016 10:07 |
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 | Seroga | OpenFOAM Community Contributions | 9 | June 12, 2015 18:18 |
[swak4Foam] funkySetFields compilation error | tayo | OpenFOAM Community Contributions | 39 | December 3, 2012 06:18 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |