CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   NT UDFs & Face Coordinates (http://www.cfd-online.com/Forums/fluent/27947-nt-udfs-face-coordinates.html)

Alfonso Ferrandez October 13, 2000 08:53

NT UDFs & Face Coordinates
 
Dear all,

After many months of SGI Fluent work I've migrated to Fluent NT now, only to find that just to get SGI working UDFs to work on NT is more than a challenge!

Anyway, I've been trying to "convert" a set of UDFs to NT Fluent and I've pinpointed my problem to a single statement:

F_CENTROID(coords,f,thread);

where: real coords[ND_ND];

The thing is that if I print (coords[0], coords[1]) the printout looks something like:

(1.157935e+00, -3.689349e+19)

(2.704321e+32, 1.045693e+00)

(1.183515e+00, -3.689349e+19)

where the coordinates of my model are always in the mm scale! This doesn't happen on the SGI where everything works fine. I've tried running as 3d and 3ddp and the problem still occurs.

Anybody experienced anything like this before? Maybe it's just me after so many hours of fighting... I don't know.

Any help would be most appreciated.

Cheerio! AL

Alfonso Ferrandez October 13, 2000 09:21

Re: NT UDFs & Face Coordinates
 
Well, I sent that e-mail too soon. I still don't know how but the code I developed to try and make it work on 3ddp didn't work there but it did on the 3d version!

I can't quite explain it, but I'm happy cause it works. Still, if anybody has an explanation, I'd love to hear it, because I have quite a few UDFs to transfer to NT yet.

Cheerio! AL -- Alfonso Ferrandez | ferrandez@mech-eng.leeds.ac.uk Computational BioFluid Mechanics Research Group The University of Leeds URL: http://www.mech-eng.leeds.ac.uk/ferrandez/



All times are GMT -4. The time now is 10:58.