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

USER_CALC_INFO inquiry?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 30, 2007, 11:43
Default USER_CALC_INFO inquiry?
  #1
Khaled
Guest
 
Posts: n/a
Can someone please explain in detail how USER_CALC_INFO and USER_GET_MESH_DATA work and vary? I know this sounds like a trivial question, but I find the documentation on User Fortran for CFX to be extremely limited. I mean for a 2500 page user manual, I wouldnt have minded if they threw in a couple more pages on clearly explaining the USER FORTRAN subroutines. For example, in USER_CALC_INFO, a list of LOCALEs is given, LOCALE is an output in the USER_CALC_INFO argument list, so how does this subroutine function? what INFO is being returned? where is the info stored? etc. The same applies to USER_GET_MESH_DATA. A clarification on the above would be greatly appreciated!!

Khaled.
  Reply With Quote

Old   May 30, 2007, 17:05
Default Re: USER_CALC_INFO inquiry?
  #2
opaque
Guest
 
Posts: n/a
Dear Khaled,

The documentation explains the argument list in detail. Every argument has a return value except for ACTION (which is the only input).. An example call is

CHARACTER*(MXDNAM) WHO, ACTION, CVAR, LOCALE, ENTITY, WHEN, CZONE

CHARACTER*(120) CALIAS

CHARACTER*(4) CERACT, CRESLT

INTEGER ILOCS, ILOCF, IENTS, IENTF C

CALL USER_CALC_INFO (WHO,'GET',CVAR,LOCALE,ENTITY,WHEN,CALIAS, CERACT,CRESLT,CZONE,ILOCS,ILOCF,IENTS,IENTF, CZ,DZ,IZ,LZ,RZ) C C---- Just print the return values C

WRITE(*,*) WHO

WRITE(*,*) ACTION

WRITE(*,*) CVAR

WRITE(*,*) LOCALE

WRITE(*,*) ENTITY

WRITE(*,*) WHEN ...

Does the above help? Calling the utility should be trivial.. Why do you need to call USER_CALC_INFO? Is it to call USER_GET_MESHDATA? Which data you need from USER_GET_MESHDATA?

Try to get the info first, and let us know what is your next step from there.

Opaque
  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
Inquiry, post results on airflow over auto body Roland CFX 1 July 1, 2006 14:16
inquiry sachin kulkarni Main CFD Forum 0 February 23, 2006 01:12
xyplot inquiry: Please help moiami FLUENT 0 May 8, 2002 00:49
Inquiry Burner Chen Main CFD Forum 2 June 6, 2001 19:58
Inquiry Burner Chen FLUENT 0 June 2, 2001 00:11


All times are GMT -4. The time now is 17:37.