On this page
- Current forces on mooring lines
- How to record keyboard operations into macro files
- How to run Mimosa in batch run (English and Norwegian)
- Read error when the SIF file is from Wadam version 8.2-02
Current forces on mooring lines
The mooring tension can become wrong when a current profile to act on the mooring lines is given and the CAT method is chosen for the static mooring tensions.
Mimosa uses the CAT method when the parameter LINPTY is set to 2 in the LINE CHARACTERISTIC DATA in the mooring file.
The problem may arise when the mooring line is initialized with given tension (INILIN=1) or given bearing and distance to the anchor (INILIN=2). In these cases the current profile should be specified just after the mooring file has been read, before initialization is carried out, and it should not be changed later in the run.
The problem will not occur when the FEM method is used or when the CAT method is used with given anchor coordinates (INILIN=3).
How to record keyboard operations into macro files
The macro command for creating or opening a new file for recording macros is one of the following:
@OPEN
the extension *.MAC is implicit, so if you write @OPEN NEWFILE, a file called NEWFILE.MAC will be created and the macro commands and input values for your new operations will be stored in NEWFILE.MAC.
If you want to stop recording to a file, simply write
@CLOSE
PS: A good macro command to remember while running SIMO or MIMOSA is @HELP. This macro command shows all available macro commands and their meaning.
How to run Mimosa in batch run (English and Norwegian)
It is possible to run MIMOSA in batch mode from MS-DOS or from a BAT file:
**"C:\Program files....\mimosa" /BATCH=on /INTER=LINE **
Mimosa expects to find a file in "current" directory named MIMOSA.INP containing the input normally entered from keyboard or read from a macro (*.MAC) file.
Example of MIMOSA.INP: @do X670MIMOSA.MAC 99
MIMOSA.INP should also contain the line @WAIT OFF to avoid that Mimosa "hangs" waiting for input from the keyboard.
Successive runs can be done by copying different files to MIMOSA.INP the following way:
copy AMIMOSA.INP MIMOSA.INP
"C:\Program files....\mimosa" /BATCH=on /INTER=LINE MIMOSA
del MIMOSA.INP
copy BMIMOSA.INP MIMOSA.INP
"C:\Program files....\mimosa" /BATCH=on /INTER=LINE MIMOSA
========================================
NORWEGIAN:
Det er mulig å kjøre MIMOSA i batch slik fra MS-DOS eller fra en BAT fil:
"C:\Program files....\mimosa" /BATCH=on /INTER=LINE
MIMOSA vil da forvente å finne en fil på "current" katalog som heter MIMOSA.INP som inneholder den inputen du vanligvis slår inn eller leser fra en macro-fil.
Eks på MIMOSA.INP: @do X670MIMOSA.MAC 99
MIMOSA.INP bør også inneholde linjen @WAIT OFF for å sikre seg at ikke Mimosa "henger" dvs. blir stående å vente på input fra tastaturet.
Skal du kjøre flere etterhverandre kan du f.eks gjøre det slik:
copy AMIMOSA.INP MIMOSA.INP
"C:\Program files....\mimosa" /BATCH=on /INTER=LINE MIMOSA
del MIMOSA.INP
copy BMIMOSA.INP MIMOSA.INP
"C:\Program files....\mimosa" /BATCH=on /INTER=LINE MIMOSA
Read error when the SIF file is from Wadam version 8.2-02
MIMOSA returns error messages when reading SIF files produced by Wadam version 8.2-02.
This is due to one missing line in the SIF file from Wadam version 8.2-02. The line looks like:
W1MOTION *******E+00 *******E+00 *******E+00 *******E+02
At present two workarounds exist for this limitation:
- Use a different version of Wadam for the SIF file;
- Add this line to the SIF file manually. Below provides a description of how this line is composed:
----------------------------------------------
|W1MOTION |Field1 | Field2 | Field3 | Field4 |
----------------------------------------------
where,
Field1 = -4
Field2 = 2
Field3 = 1
Field4 = NHD*NWL
*NHD and NWL are the number of wave headings and the number of wave lengths (or wave periods/frequencies), respectively.
The record should be placed as the first record of the type W1MOTION.