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

Need Macro information

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 14, 2007, 13:16
Default Need Macro information
  #1
Jack Martinez
Guest
 
Posts: n/a
Hello

Someone please inform me if there exists a macro which

Give the Zone name given its ID.

Give maximum no of zones present in the Grid or the maximum ID imparted by FLUENT to the zones.

OR

Could someone please suggest any alternate method to obtain the same for FLUENT running in batch mode (without GUI).

Regards Jack.
  Reply With Quote

Old   June 14, 2007, 19:46
Default Re: Need Macro information
  #2
Tomasz Bednarz
Guest
 
Posts: n/a
Jack,

You maybe can to get those information by exploring structs defined in /Fluent.Inc/fluent6..../src... However, not to waste your time on that, I strongly recommend you to get those ID values directly from Fluent and use them in your UDF code. You could create for instance jack.inp file having info about all IDs concerning your specific case and read them at the beginning of your computation...

As for batch... running in batch modes you have described here /Fluent.Inc/fluent6.3.26/help/html/ug/node22.htm ... and if you have already noticed you can execute commands not opening menus... to get commands the simplest way for you would be to "start transcript". This makes Fluent to write to file commands you do usually by clicking menus. Then you could use those information to create your script running your case... or get any information that you can get from GUI,

hope it helps you,

Tomasz

  Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
using face information in a cell-based macro ximik Main CFD Forum 2 May 10, 2011 18:42
Macro information (undefined in f_wall.h) Jack Martinez FLUENT 0 July 10, 2007 10:39
compiler information braket FLUENT 0 June 27, 2007 16:51
taking more information about a macro???? Asghari FLUENT 0 July 24, 2006 14:14
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 10:11


All times are GMT -4. The time now is 01:41.