|
|
General HydroStatics
Ship Stability Software |
|
Command of the Week
(New or interesting aspects of GHS that you may not know about) |
|
Easy Tank Cases
(Requires GHS version 17.00 or later with Load Editor) |
|
The GHS Load Editor is especially suited to entering and editing tank loads.
Here we are working with cargo tanks having names that begin with CG: |
|
|
(The command was LOAD (CG*) EDIT.)
After exiting Load Editor you may want to save the loading case for later use. One way to do that is by writing the case to a file using the WRITE command. An easier way to save a tank loading case is to use the command DB PutTankCase. DB PutTankCase 1 `save as case 1 Instead of calling it case 1, a name could be used. To demonstrate this, we modify the case and assign a name to it. |
|
|
(We have emptied the tanks that contained Linseed oil.)
Now we use another DB PutTankCase with a name: DB PutTankCase "No Linseed" Here is the proof that it worked: load (CG*) 0 db gettankcase 1 solve status tanks:brief db gettankcase 2 status tanks:brief |
|
|
Especially nice is the fact that the Data Base preserves
these cases. Whenever you read in that same geometry file,
the cases are available.
As an aid to remembering the cases, DB GetTankCase without a parameter lists the cases: |
|
| Additionally, the button on the left retrieves the case and the button on the right lists the tanks involved. |
|
|
There are other ways to manage tank cases, but the two DB commands
shown here simple and easy.
To recap what we did: load (CG*) edit db puttankcase 1 load (CG*) edit `zero loads for Linseed db puttankcase "No Linseed" load (CG*) 0 `empty all cargo tanks db gettankcase 1 solve status tanks:brief db gettankcase 2 status tanks:brief db gettankcase |
|
Questions, comments, or requests?
Contact Creative Systems, Inc. USA phone: 360-385-6212 Fax: 360-385-6213 Office hours: 7:00 am - 4:00 pm Pacific Time, Monday - Friday Mailing address: PO Box 1910 Port Townsend, WA 98368 USA Click here for an index to this and previous COWs |