MOSES MOTION LOADCASES

Hi, I wanted to do motion analysis at different seastate with multiple COG location. However, im getting error "Too Many Token for ST_FCargo Defined" and the output file does not give result of the rest of COG location. Appreciate if you can check what is missing in the input command

               *** ERROR:  Too Many Tokens for ST_FCARG Defined         

                   *** ERROR:  Too Many Tokens for JONSWAP Defined                 

Attached is my command:

$ -------- MOTION & ACCELERATION DATA ---------------------------------
&data env
&set list_env =
&set head_l = 225 180 135 90 45 0 315 270
&set sptum = jonswap
&set hs_l = 3.1 3.8 1.0 0.9 1.8 1.7 1.6 1.6
&set tp_l = 9.8 10.4 8.9 8.5 5.9 5.8 5.7 8.1
&set sp_type = peak
&set gamma_l = 1.4 1.4 1.5 1.5 1.9 1.9 1.8 1.6
$
$ ---------------------------------------------------------------------------
$
&loop n 1 8 1
&set hd_use = &token(%n% %head_l%)
&set hs_use = &token(%n% %hs_l%)
&set tp_use = &token(%n% %tp_l%)

env e_%(hd_use)_%(hs_use)_%(tp_use) \
-sea %sptum %hd_use %hs_use %tp_use %gamma_l -sp_type peak
end_&data
$ ---------------------------------------------------------------------------

&set env_use = env e_%(hd_use)_%(hs_use)_%(tp_use) -sea %sptum %hd_use %hs_use %tp_use %gamma_l -sp_type peak

$ location of points for the motion analysis
&set cog_n = 4
&set cog_1 = 116.50 0.287 32.88
&set cog_2 = 75.00 36.00 68.50
&set cog_3 = 77.00 38.00 71.00
&set cog_4 = 75.00 -36.00 68.50
&set cog_5 = 77.00 -38.00 71.00
$
&loop n (%cog_n%)
&set cargo_cg = %(cog_%(n))
fr_point &token(n %cargo_cg%)
end
$
fr_point &token(n %cargo_cg%)
end
$
st_point %env_use%
report
end
st_fcargo %env_use
report
&endloop
&endloop
&fini
$

  • Hi geogina, Thanks on the st_point. As for the COG, to clarify, i need to evaluate the motion at specified location (point kinematics). The result for motion accel will later be used by structural team include in their analysis. I figure out it may be cumbersome to input the location 1 by 1 and &loop will definately help.

    Point No. X (frm COG) Y (frm COG) Z (frm COG)
    (+FWD) (+ PORT) (+UPWARDS)
    m m m
    101 N/A N/A N/A FULL LOAD
    102 0.00 0.00 0.00 BALLAST
    103 83.32 -6.84 8.17 FWD OFFLOADING PLTFRM
    104 64.14 -13.75 7.57 FWD CHAIN STOPPER STBD
    105 64.14 13.75 7.57 FWD CHAIN STOPPER PORT
    106 67.60 -2.64 44.26 FLARE TOWER
    107 59.59 -1.27 11.87 HP FLARE KNOCK OUT DRUM
    108 56.23 14.89 14.86 GAS COMPRESSION SYSTEM
    109 40.64 10.62 30.31 GAS COMPRESSION SYSTEM
    110 56.23 -13.77 14.86 GAS COMPRESSION SYSTEM
    111 40.64 -8.20 30.31 GAS COMPRESSION SYSTEM
    112 30.24 -14.83 23.25 CRANE 1
    113 29.73 16.98 6.07 RISER BALCONY
    114 27.03 -9.74 10.41 LAYDOWN AREA 1
    115 25.76 13.70 13.67 CRUDE STABILASATION & PIGGING FACILITIES
    116 24.99 -11.42 11.63 PL FLARE KNOCK OUT DRUM
    117 13.26 -14.95 10.41 SEAL GAS AND FUEL GAS MODULE
    118 -15.39 13.78 10.41 PRODUCED WATER & CHEMICAL INJECTION MODULE
    119 -21.31 -13.08 10.41 CUSTODY TRANSFER METERING SKID
    120 -35.28 14.44 15.41 POWER GENERATION MODULE
    121 -34.11 -13.95 15.41 AIR COMPRESSOR MODULE
    122 -33.11 -17.10 23.25 CRANE 2
    123 -45.45 -12.79 10.41 LAYDOWN AREA 2
    124 -59.35 10.90 20.51 E-HOUSE
    125 -62.69 -12.72 10.41 EDG & LAB MODULE
    126 -60.01 -15.13 7.57 AFT CHAIN STOPPER STBD
    127 -60.01 15.13 7.57 AFT CHAIN STOPPER PORT
    128 -77.72 0.00 14.57 ACCOMMODATION BLOCK
    129 -92.93 9.03 9.97 AFT HAWSER HANGOFF
    130 -92.73 3.80 14.57 BOILER PLTFRM
    131 -83.51 -29.59 22.87 HELIDECK
    132 50.63 -1.50 13.02 CENTRAL PIPE RACK
  • Hi Naim,

    Please review the syntax for the command st_point.

    You can use

    st_point e_%(hd_use)_%(hs_use)_%(tp_use)

    or

    st_point -env %sptum %hd_use %hs_use %tp_use %gamma_l

    It is unclear what variable you are wanting use for st_point.  The variable env_use includes a name and a description.

    On another topic, the description you wrote implies the COG will be changing.  The command fr_point changes the location for reporting, it does not change the COG of the body.  Just wanted to point that out.

    I hope this helps.

    Georgina Maldonado

  • Kindly see the correction. What I want is to loop each cog loadcase at each enviroment condition given.

    $ -------- MOTION & ACCELERATION DATA ---------------------------------
    &data env
    &set list_env =
    &set head_l = 225 180 135 90 45 0 315 270
    &set sptum = jonswap
    &set hs_l = 3.1 3.8 1.0 0.9 1.8 1.7 1.6 1.6
    &set tp_l = 9.8 10.4 8.9 8.5 5.9 5.8 5.7 8.1
    &set sp_type = peak
    &set gamma_l = 1.4 1.4 1.5 1.5 1.9 1.9 1.8 1.6
    $
    $ ---------------------------------------------------------------------------
    $
    &loop n 1 8 1
    &set hd_use = &token(%n% %head_l%)
    &set hs_use = &token(%n% %hs_l%)
    &set tp_use = &token(%n% %tp_l%)

    env e_%(hd_use)_%(hs_use)_%(tp_use) \
    -sea %sptum %hd_use %hs_use %tp_use %gamma_l -sp_type peak
    end_&data
    $ ---------------------------------------------------------------------------

    &set env_use = env e_%(hd_use)_%(hs_use)_%(tp_use) -sea %sptum %hd_use %hs_use %tp_use %gamma_l -sp_type peak

    $ location of points for the motion analysis
    &set cog_n =
    &set cog_1 = 116.50 0.287 32.88
    &set cog_2 = 75.00 36.00 68.50
    &set cog_3 = 77.00 38.00 71.00
    &set cog_4 = 75.00 -36.00 68.50
    &set cog_5 = 77.00 -38.00 71.00
    $
    &loop n 1 4 1
    fr_point %(cog_%(n))
    end
    $
    fr_fcargo
    end
    $
    &endloop

    st_point %env_use%
    report
    end
    st_fcargo %env_use%
    report
    &endloop
    &endloop
    &fini
    $