OutCmd()
Print out a command in the exported file.
Usage
OutCmd( cmd, name=None, enum=None )
Parameters
- cmd (string)
- The command name which is written in the exported file.
- name (string)
- The name that is written after the cmd in double-quote inside parentheses.
- enum (string)
- The name that is written after the cmd without double-quote inside parentheses.
Return Value
None
Errors
- The cmd must exist and be a valid string.
- One or both of name and enum must be None.
Description
specName= 'species ' + specId + ': ' + name
OutCmd('VOLUME_SPECIES_SOURCE', name=specName)
There are three valid ways to call to OutCmd():
OutCmd('ANALYSIS')
ANALYSIS{
OutCmd('MULTIPLIER_FUNCTION',name='My MF')
MULTIPLIER_FUNCTION("My MF"){
OutCmd('NODAL_INITIAL_CONDITION',enum='velocity')
NODAL_INITIAL_CONDITION(velocity){