AEATECHNOLoGY ENGINEERING SOFTWAR Commonly Used Routines There are also 22 utility routines which can be called directly GETVAR To allow users to find equation number for a variable PALL To allow users to obtain the addresses for all the centers vertices of selected blocks/patches IPREC To allow users to obtain the addresses for all the centers vertices on a single block /patch (covering a single face SETWRK. DELWRK To allow users to allocate and delete work space for a temporary array CFX-4 CFX-4.3V4.3.1H Introductory Training(Dec 1999)
CFX-4 Introductory Training (Dec 1999) 9 -6 CFX-4.3 V4.3.1H Commonly Used Routines There are also 22 utility routines which can be called directly: - GETVAR > To allow users to find equation number for a variable. - IPALL > To allow users to obtain the addresses for all the centers / vertices of selected blocks / patches. - IPREC > To allow users to obtain the addresses for all the centers / vertices on a single block / patch (covering a single face). - SETWRK, DELWRK > To allow users to allocate and delete work space for a temporary array
AEATECHNOLoGY ENGINEERING SOFTWAR How to Use fOrtran o use a user FORTRAN routine Obtain the template by clicking on User Fortran torn within the environment and get Fort Edit the fOrtran ne f Strout routine and ensure the IUSED flag is set to 1 Include the routine in the command file 》 OPTIONS 》 USER FORTRAN USRSRC Specify the user FORTRAN file when running the solver CFX-4 CFX-4.3V4.3.1H Introductory Training(Dec 1999)
CFX-4 Introductory Training (Dec 1999) 9 -7 CFX-4.3 V4.3.1H How to Use FORTRAN To use a user FORTRAN routine - Obtain the template by clicking on User Fortran within the Environment, and Get Fortran. - Edit the FORTRAN routine and ensure the IUSED flag is set to 1. - Include the routine in the command file » OPTIONS ... ... » USER FORTRAN USRSRC - Specify the user FORTRAN file when running the solver
AEATECHNOLoGY ENGINEERING SOFTWAR How to Use fortran The solver stops if any of the last three steps are mIssing The fortran routine is compiled and linked at the beginning of a CFX run Facility to save executable in local directory (under Advanced Options of the solve menu) CFX-4 CFX4.3V4.3.1H Introductory Training(Dec 1999)
CFX-4 Introductory Training (Dec 1999) 9 -8 CFX-4.3 V4.3.1H The solver stops if any of the last three steps are missing. The FORTRAN routine is compiled and linked at the beginning of a CFX run. Facility to save executable in local directory (under Advanced Options of the solve menu). How to Use FORTRAN