Sei sulla pagina 1di 2

12/26/2018 Commands found in Most Examples - Bentley.Ultramarine.

com

Bentley Systems Has Acquired Ultramarine's MOSES - Press Release

Home MOSES Support Downloads Contacts

Commands found in Most Examples

The purpose here is to document several commands which are used in most of the examples. The first part of Help Desk Home
most of the command files are comment lines. All comment lines begin with a $ symbol and are thus ignored by
the program. Following the three lines of @ symbols are three comment lines: Tutorials

$ Examples
$********************************************* define misc. params
$ How Do I ... Examples

This construct occurs often throughout the examples, and is a "blank" line, a line with *'s followed by s short Hydrostatics & Ballasting
description, and another "blank" comment line. The short descriptions help one to understand what is being Examples

accomplished below them. In this case the comments explain that the commands following will define
Jacket/Deck Installation
miscellaneous parameters. Examples

The first command line the program reads are:


MOSES Macro Examples

&device -g_default gra_device -oecho n -auxin xxx.dat


Mooring Examples
&dimen -DIMEN FEET KIPS
&TITLE This is a Title
Seakeeping Examples
&SUBTITLE This is a Subtitle

The command &device sets how the program works. The option -g_default gra_device instructs the program to Verification Examples

write all graphics to the "graphics device file". If you were running this example interactively, you would want to
Vessel Modeling
see the graphics. Examples, however, were designed to be executed in the background with no user interaction. Examples
Therefore this option saves the graphics for printing. (For details, click here.)
Common Questions
The -oecho option controls the echoing of the input data to the output file. By placing the "no" flag after this
option, we are stating that we do NOT want the data file to be echoed to the output file. Reference Manual

The option option -auxin ../data/xxx.dat instructs the program to include the file "../data/xxx.dat" first before it
Library of Vessels
reads in its normal input file. This option is simply adding to the list of files which will be read in as data, the
option is not performing the task of reading in the model. In case the normal input device "root.dat" does not
Technical Information
exist, the only input device will the the file ../data/xxx.dat.

The command &dimen -DIMEN FEET KIPS sets the units in which the analysis will be performed. All length
units will be reported or entered in feet and forces will be in kips unless other wise specified. (For details, click
here.)

The commands &TITLE and &SUBTITLE define the title and subtitle. Every page of the output and graphics
contain these two lines. (For details, click here.)

In many (not all) examples, the water depth is important. If so, it will be defined with the command:

$
$********************************************* define water depth
$
&parameter -depth 138.0

The command &PARAMETER is used to define data used in various computations and defaults which can be
overridden by other commands. (For details, click here.)

The command which tells MOSES to read the model is:

http://bentley.ultramarine.com/hdesk/runs/c_htm/common.htm 1/2
12/26/2018 Commands found in Most Examples - Bentley.Ultramarine.com
$
$********************************************* read model
$
INMODEL -offset

The option -offset instructs the program to compute the local axial offsets of any tubular member connected to a
tubular joint. (For details, click here.)

When everything desired has been completed, the command:

$
$********************************************* all done
$
&FINISH

"finishes" up the execution of the program and returns control to the operating system. (For details, click here.)

www.bentley.com Copyright© 2013 Bentley Systems

http://bentley.ultramarine.com/hdesk/runs/c_htm/common.htm 2/2

Potrebbero piacerti anche