|
[Sponsors] |
May 30, 2007, 12:43 |
USER_CALC_INFO inquiry?
|
#1 |
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. |
|
May 30, 2007, 18:05 |
Re: USER_CALC_INFO inquiry?
|
#2 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Inquiry, post results on airflow over auto body | Roland | CFX | 1 | July 1, 2006 15:16 |
inquiry | sachin kulkarni | Main CFD Forum | 0 | February 23, 2006 02:12 |
xyplot inquiry: Please help | moiami | FLUENT | 0 | May 8, 2002 01:49 |
Inquiry | Burner Chen | Main CFD Forum | 2 | June 6, 2001 20:58 |
Inquiry | Burner Chen | FLUENT | 0 | June 2, 2001 01:11 |