Structure of the PRE File
The order of the cards in the .pre file specifies the order of the steps during the simulation.
- Geometry cards
- Cards used to create geometry and affect the meshing. These cards are used above the EG card.
- Control cards
- Cards used to define sources, loads, request and control the simulation. These cards are genearlly below the EG card, but can usually be used above the EG card as well.
- Specify the mesh parameters.
- Define the IP card. All cards following the IP card inherit the mesh settings set with this card.
- Create the geometry.
- Use the geometry cards to define the geometry of the model.
- End with the EG card to indicate that the geometry creation is complete.
- Specify the excitations, loads, frequency and output requests.
- Use the control cards to define excitations, specify the frequency and add output requests.
- End with the EN card to indicate the end of the file.
For control cards that define solution requests, “**” is used often as a label for that card. The label of a card is used by OPTFEKO to identify specific results. The label is also used by POSTFEKO for the identification of the solutions and output requests when post-processing simulation results.
** Comments at the start the input file
... Cards that define the geometry ** Comments
EG End of the geometry
... Control cards that define sources, special solution options
and indicate which quantities to calculate ** Card labels / comments
EG End of the input file
All input and output parameters are in SI units (for example, lengths are in metres, potential in volts). All angles are in degrees.
See the SF, TG and IN cards to enter dimensions in different units and scale to metres.