|
[Sponsors] |
February 8, 2007, 09:33 |
discretization of diffusive coefficient
|
#1 |
Guest
Posts: n/a
|
hi there,
I'm doing UDS transport modelling in Fluent and have a diffusion coefficient which is a strongly non-linear function of the transported scalar. Does anyone know how the value of the diffusive coefficient is evaluated at the faces? The DEFINE_DIFFUSIVITY macro returns values for the cell centers, not for the faces. So I assume that the diffusive coefficient at the faces will be interpolated from the adjacent cell centers, but how? thanks in advance Hendrik-Jan |
|
February 8, 2007, 14:49 |
Re: discretization of diffusive coefficient
|
#2 |
Guest
Posts: n/a
|
You should definie DEFINE_DIFFUSIVITY using user defined function. for example: DEFINE_DIFFUSIVITY(diffusivity_udf,cell,thread,i) { real przew; real T = C_T(cell, thread); if (T > 100.) { przew = 13990.; } else if ((T > 300.) && (T <= 1000.)) przew = 2.4430000000E-25*T - 1.9544000000E-22; } else if ((T > 1000.) && (T <= 2000.)) {przew = 2.8795570000E-22*T - 2.5913570000E-19; } else {przew = 22.} return przew; }
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Heat transfer coefficient - what is waht | Stan | FLUENT | 28 | December 29, 2021 17:29 |
Simulation of a single bubble with a VOF-method | Suzzn | CFX | 21 | January 29, 2018 01:58 |
Constant velocity of the material | Sas | CFX | 15 | July 13, 2010 09:56 |
Automotive test case | vinz | OpenFOAM Running, Solving & CFD | 98 | October 27, 2008 09:43 |
Two-Phase Buoyant Flow Issue | Miguel Baritto | CFX | 4 | August 31, 2006 13:02 |