Creating Compartments from existing Tube segments

I have a jacket model in Moses. The legs are defined as Tube segments. Is there a way to create 1 compartment from these segments such that it can be flooded later using -flood  command?

  • Hi SKh,

    Yes, you can easily create a tube compartment using the TUBTANK command.

    Please refer to the compartment definition below. This compartment is named leg1. The dia is the diameter (in inches or mm) of your compartment, and *pt1 & *pt2 are the endpoints of the tube tank.

    &describe compartment leg1 
    tubtank dia *pt1 *pt2 

    Note that you can have multiple compartments in a single jacket leg, and they can all be defined individually by specifying the endpoints. Once you have defined your tubtank, it will be treated like an internal compartment, and all the operations (flooding, fill percentage, etc.) are applicable, just like your compartment described through pgen.

    I hope this is clear. Please refer to the MOSES manual for further details on TUBTANKS. Let me know if you have further questions.

    Regards, 

    Rahul Kanotra 

  • Thanks for your answer. I am aware of this way of defining compartments. I am asking whether there is a method to create compartments from existing Tube segments which already have the diameter and thickness defined.

  • Hi Skh,

    In that case, there is no other method than using the TUBTANK or PGEN option. However, if flooding is all you need (and not other features of the compartment), then you can always flood the beam either in the model file or using the MEDIT medit menu.

    I have prepared a simple set of files to demonstrate the above:

    Two beams (beam1 and beam2) belonging to the same body are modeled as shown below. Beam1 is flooded in the model file using the -flood option in the beam definition, while beam2 is left unflooded in the model file.

    In the CIF file, in the first step, the buoyancy and weight are output, and it can be seen that only beam 1 is flooded. Now, in the next step, beam 2 is also flooded in the medit menu using the ED_ELEMENT command (refer to the manual for details). The buoyancy and weight output shows the buoyancy to be negligible (only due to the thickness of the beam), and both beams are flooded.

    I hope this helps you in achieving what you are looking for in MOSES. Let me know if you have any other questions.

    Regards 

    Rahul Kanotra 

    rahul_demo.rar

  • Hi Skh,

    In that case, there is no other method than using the TUBTANK or PGEN option. However, if flooding is all you need (and not other features of the compartment), then you can always flood the beam either in the model file or using the medit menu.

    I have prepared a simple set of files to demonstrate the above:

    Two beams (beam1 and beam2) belonging to the same body are modeled as shown below. Beam1 is flooded in the model file using the -flood option in the beam definition, while beam2 is left unflooded in the model file.

    In the CIF file, in the first step, the buoyancy and weight are output, and it can be seen that only beam 1 is flooded. Now, in the next step, beam 2 is also flooded in the medit menu using the ED_ELEMENT command (refer to the manual for details). The buoyancy and weight output shows the buoyancy to be negligible (only due to the thickness of the beam), and both beams are flooded.

    I hope this helps you in achieving what you are looking for in MOSES. Let me know if you have any other questions.

    Regards 

    Rahul Kanotra