CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

Source term calculation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 15, 2019, 23:46
Default Source term calculation
  #1
New Member
 
ChengYang
Join Date: Mar 2019
Posts: 1
Rep Power: 0
huopao is on a distinguished road
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".
huopao is offline   Reply With Quote

Reply

Tags
udf code

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 15:59.