|
[Sponsors] |
January 29, 2009, 00:28 |
Reg. UDF
|
#1 |
Guest
Posts: n/a
|
Hi , I am Nabil pursuing M.Tech chemical Engg. program in Anna University Chennai. I want to write an UDF for my project work on fluidized beds.
How can i get the value of gradient of a scalar variable?? Is there any inbuilt macros to get the gradient value of voidage (i.e., volume fraction of phase-1)?? Gradient in the sense 'del(phi)' |
|
January 30, 2009, 07:30 |
Re: Reg. UDF
|
#2 |
Guest
Posts: n/a
|
Hello Nabil
There is a macro which gives you the vector of the gradient for volume fraction of a species in space. C_YI_G(c,t,i) is the gradient vector of the ith species. = [d/dx ; d/dy ; d/dz](phi) The information is available in the UDF Manual (3.2.3) Hope that helps. Kris |
|
January 31, 2009, 11:12 |
Re: Reg. UDF
|
#3 |
Guest
Posts: n/a
|
Hello Kris,
Thank You for your reply.. I have two doubts sir 1. The macro C_YI_G(c,t,i) gives the species mass fraction gradient vector. But i need volume fraction gradient vector. 2. The macro C_VOF(c,t) gives volume fraction for the phase corresponding to phase thread t. Whether this macro is for VOF multiphase model alone or we can use for Eulerian model also???. If so is there anything like C_VOF_G(c,t,i) so that i can apply to get volume fraction gradient vector. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|