|
[Sponsors] |
September 19, 2016, 12:10 |
diffusivity
|
#1 |
New Member
Join Date: Jul 2016
Posts: 13
Rep Power: 9 |
HI!
I wrote this code to define a different diffusivity for the air in the porous media and not porous media: #include "udf.h" DEFINE_DIFFUSIVITY(diffusion_coefficient,c,t,i) if (C_POR(c,t)==1) Diff=2.31*e5*101325/C_P(c,t)*pow(C_T(c,t)/273.15,1.81) else Diff=2.31*e5*101325/C_P(c,t)*pow(C_T(c,t)/273.15,1.81)*pow(C_POR(c,t),2.24) return Diff when I compile it gives parse error on line 3....is it because of the C_POR macro? I founded this notation in the forums..thanks for any help |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kinematic Diffusivity - Problem with additional variable | clau90 | CFX | 3 | May 14, 2014 09:54 |
PEM modeling UDS diffusivity in mixture | gemini | FLUENT | 6 | August 7, 2012 07:37 |
What is UDS diffusivity of a self-defined material? | aleisia | FLUENT | 0 | March 5, 2011 22:08 |
Species Diffusivity in PEMFC Simulation | circle2000 | FLUENT | 0 | September 20, 2004 22:12 |
Species diffusivity | zhou1 | FLUENT | 0 | November 4, 2003 17:23 |