Download Prefem - DNV GL

Transcript
Prefem
4-6
SESAM
01-JUN-2003
Program version 7.1
• The ‘plot file’ contains graphic information produced by the PLOT command. The file extension will
depend on the plot format chosen (see the SET PLOT FORMAT command). See Section 4.1.6 for advice
on using the CGM format to include plots in reports.
• The ‘Input Interface File’ (.FEM) — termed T-file for short — contains the model to be read by a subsequent hydrodynamic or structural analysis program.
Prefem has been designed to protect the user against loss of valuable data. However, accidental loss of data
may occur. This may be caused by the user by for example inadvertently deleting the ‘model file’ or it may
be due to an inconsistency in the data model. Such inconsistency may occur for several reasons:
• The computer goes down.
• The disk is full, the disk quota is exhausted or user privileges are inadequate.
• There is an error in the program.
If Prefem discovers an inconsistency in the data model the program will normally close all files opened and
abort the execution. Prefem may then be restarted using the ‘model file’. In some cases, however, it will not
be possible to resume normal execution due to an irrecoverable inconsistency.
If the ‘model file’ is lost it can be reconstructed by re-executing the program and reading input from the
‘command log file’, i.e. using it as a ‘command input file’.
Note: The ‘model file’ will normally not be compatible between different versions of Prefem. The
‘command log file’ may, however, be used as input to a new version.
4.1.6
Creating Plots for Reports
The CGM plot format (see the SET PLOT FORMAT command) is well suited for importing SESAM plots
into reports produced by MS Word and other word processors. You may also transfer CGM files from one
operating system to another, just make sure to use the ‘binary’ option when transferring the file with FTP (or
another protocol).
Depending on the capabilities of your word processor the PostScript plot format may also be used for the
purpose of importing SESAM plots into reports. Contrary to CGM, PostScript is an ASCII formatted file
and is therefore more easily transferred from one computer make to another.
Note that a word processor will normally recognise only one picture (display) on each file. You should,
therefore, specify a new file name for each plot command using the SET PLOT FILE command.
4.1.7
Background Execution
On Unix the user may find it convenient to execute Prefem as a background job rather than as an interactive
session. Here is a proposal for how to do this. This proposal is not relevant for executing Prefem through
Manager in which case background execution is controlled by Manager.
Execute Prefem in the background as follows:
• Prepare a file (e.g. a revision of a previous ‘command log file’) containing the input data, let the name of
the file be FILE_IN.JNL.