CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

NT UDFs & Face Coordinates

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 13, 2000, 08:53
Default NT UDFs & Face Coordinates
  #1
Alfonso Ferrandez
Guest
 
Posts: n/a
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
  Reply With Quote

Old   October 13, 2000, 09:21
Default Re: NT UDFs & Face Coordinates
  #2
Alfonso Ferrandez
Guest
 
Posts: n/a
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/

  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Import netgen mesh to OpenFOAM hsieh Open Source Meshers: Gmsh, Netgen, CGNS, ... 32 September 13, 2011 05:50
BlockMeshmergePatchPairs hjasak OpenFOAM Native Meshers: blockMesh 11 August 15, 2008 07:36
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15


All times are GMT -4. The time now is 04:54.