next up previous contents
Next: Batch File Input Up: Running the Program Previous: Running the Program

Subsections


PRIMARY COMMANDS

The command descriptions in this section are presented alphabetically under the primary commands. Appendix A contains example runs of the program.

MODEL

The commands under `MODEL' control how the model is transferred into the FEMVIEW database.



'MODEL' Option Description Default Option
APPEND Add the requested results to an existing FEMVIEW model CREATE
or CREATE Create a new FEMVIEW model and transfer the model geometry and results -
DATABASE Output is direct into the FEMVIEW database. If CREATE is selected this is the only valid option. DATABASE
or NEUTRAL 'file_name' Output data in the FEMVIEW neutral file format to a file 'file_name'. The option is only valid when APPEND is selected. -
BOTH 'file_name' Output data to both the FEMVIEW Neutral file and the FEMVIEW database. This option is only valid when APPEND is selected. -
DESCRIPTION 'text' Add up to 20 characters describing the model to be displayed in the FEMGV model index 'Phoenics Results'
NAME 'name' 6 character (max) name of the FEMVIEW model 'CFD '
AXI3D Toggles between 2D and 3D axisymmetric models FALSE

Notes:

1.
If 'CREATE' is requested and a FEMVIEW model of the same name already exists in the INDEX an error message will be given when 'GO' is requested. A new model name must be given.
2.
When 'APPEND' is requested (to enter results only) into the database and the FEMVIEW model does not exist, 'GO' will cause an error message to be displayed. An existing model name must be given.

3.
Use of the 'CREATE' option with 'NEUTRAL' or 'BOTH' will result in a warning; the output selection will automatically be reset to 'DATABASE'.

4.
Any text given with 'DESCRIPTION' will be ignored if 'APPEND' is selected.

LOADCASE

The 'LOADCASE name' command defines the loadcase name to be used. The 'name' can be up to 8 characters, although the first character must be a letter; it will normally default to 'L1'.

The default is normally sufficient, unless the results from more than one PHOENICS analysis are being read in to FEMVIEW.

When 'MODEL APPEND' has been selected and results are to be input at locations for which values already exist a new loadcase name must be given. Any attempt to input a result at a location for which a value already exists in the loadcase will result in the 'APPEND' operation being aborted.

RESULTS

The commands under 'RESULTS' are used to define the name and type of the PHOENICS results file.



'RESULT' Option Description Default Option
ASCII PHOENICS results are in a character file (PHI). DIRECT
or DIRECT-ACCESS PHOENICS results are in a binary file (PHIDA). -
NEP Switches whether PHOENICS results come from a NEP type file or not. NEP type files are implicitly multiblock. Not NEP
MBLOCK Switches whether PHOENICS PHI file results are monoblock or multiblock. Only to be used if results are from a multiblock PHI type file. This option also requires a PATGEO file to be available. Monoblock
NAME 'name' The name of the results file (up to 40 characters). PHIDA



When the commands 'VARIABLE', 'DISPLAY' or 'GO' are selected the program will attempt to open the results file to read the variables that can be selected. If the file cannot be opened a warning is displayed and a new file name or type of file (ASCII or DIRECT-ACCESS) requested.

If 'MBLOCK' is selected a PATGEO file is expected in addition to the PHI and XYZ files.

When the PHOENICS results are in a NEP file it is only necessary to use
RESULTS NEP
RESULTS NAME NEP
since the file format is automatically set to ASCII and the NEP file is implicitly multiblock type.

GRID

The commands under 'GRID' are used to define the name and type of the PHOENICS grid (XYZ) file if required.



'GRID' Option Description Default Option
NAME 'name' The name of the grid file (up to 40 characters) XYZDA
PATGEO 'name' The name of the PATGEO file for multiblock grids. Only required with multiblock PHI files PATGEO

Either of the above filenames can be up to 40 characters long.

When 'GO' is selected the files will be opened. If the file cannot be opened a warning is issued and the main menu redisplayed. A new grid file name can then be specified. The grid file type is assumed to be the same as the 'RESULTS' file.

VARIABLES

The commands under 'VARIABLES' are used to define which variables in the PHI file are to be transferred to the FEMVIEW database. The command also allows the location type (cell corner or cell centre) to be selected.

'VARIABLES' Option Description Default Option
ALL 'location' Selects all variables at the defined location ALL
or Variable 'location' Selects individual variables at the defined location

Where location is specified by:

'location' Description Default 'location'
INVARIANT Values at cell centres are transferred NODAL
or NODAL Values are averaged to cell corners -
or BOTH The averaged values and the cell centre values are used. -
or OFF The variable is not transferred. -

Notes:

1.
The list of variables available for selection is generated from the results file. If the file has not been defined or cannot be found a warning is given.

2.
If any component of velocity is selected then all three components will be transferred.

DISPLAY

This command shows the current setting for all the controlling parameters. The variables display is generated from the results file. If the file has not been defined or cannot be found a warning is given. A typical display for monoblock results would be :-

 Model name:- FLOW            Description:- Phoenics Results    
 Destination:- DATABASE       Create or Append:- CREATE
 Loadcase Name:- L1 
 Results File:- PHI                            File Type:- PHI 
 Grid File:- XYZ                                   
 P1   OFF     U1   OFF     V1   OFF     VPOR OFF     HPOR OFF    
 NPOR OFF     EPOR OFF     RHO1 OFF

GO

This command starts the translation of the PHOENICS file to the FEMVIEW database. After this command has been issued all the required files are opened. If there is an error in the user's setup (for example the model already exists) an error message will be displayed and the main menu re-displayed. Once this check is complete the processing will start and progress messages, as below, will be displayed:

  *** ENTERING CO-ORDINATE DATA ***
  *** ENTERING NODAL CONNECTIVITY DATA ***

Any errors that occur after this point will cause the program to terminate. The user should always look in the file IOMESS for any additional information, particularly if the translation process has not been successful.


next up previous contents
Next: Batch File Input Up: Running the Program Previous: Running the Program

Femsys Limited
8/18/1999