CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Fluent4 and fluent6 difference?? (http://www.cfd-online.com/Forums/fluent/80481-fluent4-fluent6-difference.html)

stage81 September 27, 2010 16:57

Fluent4 and fluent6 difference??
 
I want to know what's the equivalent of the parameter (L=I+NI((J-1)+NJ(K-1)) in THE VERSION 6 of fluent..

Allan Walsh September 28, 2010 12:31

Fluent 4 used a large 1-dimensional array, where L was the index, to store all cell data. Fluent 6 uses a cell and a thread notation. Fluent 4 used a structured grid and 6 is unstructured. As you are probably well aware of, if you are thinking of porting any code from Fluent 4 to Fluent 6, then the cell structure will only be a very small part of your concerns.

stage81 September 28, 2010 14:21

Quote:

Originally Posted by Allan Walsh (Post 276968)
Fluent 4 used a large 1-dimensional array, where L was the index, to store all cell data. Fluent 6 uses a cell and a thread notation. Fluent 4 used a structured grid and 6 is unstructured. As you are probably well aware of, if you are thinking of porting any code from Fluent 4 to Fluent 6, then the cell structure will only be a very small part of your concerns.

usually I use the version 4 of fluent, but now I'm forced to migrate to version 6 and I struggled to adapt to the new version of the UDF.
My goal is to inject a source terms in the cells (mesh) defined my area of computing. In version 4 this parameter is called L = I+NI ((J-1) + NJ (K-1)), for example if I want to inject a source term in the mesh number 50 just I put IF (L . EQ.50) THEN
ATERME = 1000
and so on.. but I do not know how do it in the version 6, for example if I want to inject a source term energy 1000w/m3 in the mesh number 50??

Thanks for your help


All times are GMT -4. The time now is 06:32.