|
[Sponsors] |
September 10, 2012, 12:55 |
I consider species source term??
|
#1 |
New Member
Jinwon, Seo
Join Date: Nov 2010
Posts: 1
Rep Power: 0 |
==============================
#include "udf.h" #define A 0.0003 #define B 0.226 #define C 0.39.071 DEFINE_SOURCE(cell_x_source, cell, thread, dS, eqn) { real source; source = -A*C_T(cell, thread)*C_T(cell, thread)+B*C_T(cell, thread)-C; source = dS[eqn]; return source; } =============================== Last edited by jwseo0214; September 18, 2012 at 04:11. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Source Term UDF VS Porous Media Model | pchoopanya | Fluent UDF and Scheme Programming | 1 | August 28, 2013 07:12 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |
Adding a source term to concervation of species equation | bernarde | STAR-CCM+ | 0 | June 4, 2009 04:17 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |