Hi all.. I a trying to learn MOSES the hard way, from the reference manuals, online tutorials and looking at the files from vessel library. I am creating the model of a semisubmersible of arbitrary dimensions, for hydrodynamic analysis. I have reached this stage after few trial and error. I have been writing commands in the command line. I have also given those steps below. I have tried a lot but, still not been able to figure out how to create DAT file and CIF file. Is there any command to save the current status of the model to a DAT file? Also, I have used the &SURFACE command till now. Should I define panels separately from here or create a mesh? I know these are lot of questions but, I am really stuck here. Any help or hint would be appreciated. Thanks.
>&device -g_default screen >&surface >block pont -loc 0 28 0 0 0 0 >plane -50 -40 -30 -20 -10 0 10 20 30 40 50 -rect 0 8 14 >end block >&pict iso pont >block pont2 -loc 0 -28 0 0 0 0 >plane -50 -40 -30 -20 -10 0 10 20 30 40 50 -rect 0 8 14 >end block >union pont pont2 pont3 >delete pont pont2 >&pict iso pont3
>block col_f1 -loc 40 28 8 0 270 0 >plane 0 8 -rect 0 14 14 >end block >block col_f2 -loc 40 -28 8 0 270 0 >plane 0 8 -rect 0 14 14 >end block >union col_f1 col_f2 col_f >delete col_f1 col_f2
>block col_a1 -loc -40 28 8 0 90 0 >plane -8 0 -rect 0 14 14 >end block >&pict iso >block col_a2 -loc -40 -28 8 0 90 0 >plane -8 0 -rect 0 14 14 >end block>union col_a1 col_a2 col_a >delete col_a1 col_a2 >block brace1 -loc 33 -21 8 0 0 90 >plane 0 42 -circular 0 0 1.5 0 45 5 >end block >&pict iso >block brace2 -loc -33 -21 8 0 0 90 >plane 0 42 -circular 0 0 1.5 0 45 5 >end block
>list_blocks +++ B L O C K S +++ =================== BRACE1 BRACE2 COL_A COL_F PONT3
HelloVishnu,
The portion of the file that you are showing does look like a model data file. This is the dat file.
I do not see a command "&describe body one" in the portions you have shared. Please check the file for the command "&describe body one". If it is not there you can add it before any point definitions. You can add it before the "&describe part one" command. Or you can go back to the surface menu and add it via one of the "emit" commands.
Please give this a try.
Georgina Maldonado
You need "&channel model -file yourmesh.dat" before your "&surface end"-block and "&channel model -file dummy.dat" is just to close the first file. Not sure why it doesn't work.
But you can rename your .txt file to .dat as well.
Always a good idea to inspect it from different angles with "&pict -cull" to look for internal panels that need to be removed (the union commands are not always 100% robust). Just click those panels to find their names, and comment them out in your txt/dat file.
If I join two blocks with a common cross-section using union, will there be any problem. I tried it and the blocks seem joined, but gives a warning about 'Contour' which I don't understand.
Warnings or not - You should always check the panel model visually to check that it is closed, that there are no internal elements, and that the panels have the correct orientation. If it looks good, I wouldn't worry about the warnings from the joining of the blocks.