CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   SV_DENSITY (https://www.cfd-online.com/Forums/fluent/43480-sv_density.html)

J.Y.Shin January 25, 2007 23:42

SV_DENSITY
 
#define C_R(c,t)C_STORAGE_R(c,t,SV_DENSITY)

I still can catch the meaning of the SV_DENSITY in mem.h. Help me please...

Sujith January 26, 2007 02:31

Re: SV_DENSITY
 
SV means storage variable... no need to bother abt

if (NNULLP(THREAD_STORAGE(t,SV_DENSITY)))

dens = F_R(f,t); else

dens = C_R(c0,t0);

this code checks if density is stored at faces, if yes it will return the face density else it ll return the density at near by cell....


All times are GMT -4. The time now is 02:24.