FreeCAD-Doc/localwiki/FreeCAD-Ship_s60_tutorial_(II)-de.html
2018-07-19 18:47:02 -05:00

187 lines
15 KiB
HTML

<html><head><title>FreeCAD-Ship s60 tutorial (II)/de</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>FreeCAD-Ship s60 tutorial (II)/de</h1></div>
<div id="mw-content-text" lang="de" dir="ltr" class="mw-content-ltr"><hr/><div class="mw-parser-output"><table class="fcinfobox wikitable ct" style="width: 230px; float: right; margin-left: 1em">
<tr>
<td class="ctTitle">
<h3><span class="mw-headline" id="Tutorial"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Base_ExampleCommandModel.png" class="image"><img alt="Base ExampleCommandModel.png" src="32px-Base_ExampleCommandModel.png" width="32" height="30" srcset="/wiki/images/thumb/9/93/Base_ExampleCommandModel.png/48px-Base_ExampleCommandModel.png 1.5x, /wiki/images/9/93/Base_ExampleCommandModel.png 2x" /></a> Tutorial</span></h3>
</td></tr>
<tr>
<th class="ctOdd">Thema
</th></tr>
<tr>
<td class="ctEven">{{{Topic}}}
</td></tr>
<tr>
<th class="ctOdd">Niveau
</th></tr>
<tr>
<td class="ctEven">Beginner
</td></tr>
<tr>
<th class="ctOdd">Zeit zum Abschluss
</th></tr>
<tr>
<td class="ctEven">
</td></tr>
<tr>
<th class="ctOdd">Autor
</th></tr>
<tr>
<td class="ctEven">
</td></tr>
<tr>
<th class="ctOdd">FreeCAD version
</th></tr>
<tr>
<td class="ctEven">
</td></tr>
<tr>
<th class="ctOdd">Beispieldatei(en)
</th></tr>
<tr>
<td class="ctEven">
</td></tr>
<tr>
<td class="ctToc"><br /><div id="toc" class="toc"><div class="toctitle"><h2>Contents</h2></div>
<ul>
<li class="toclevel-1"><a href="#Tutorial"><span class="tocnumber">1</span> <span class="toctext">Tutorial</span></a></li>
<li class="toclevel-1 tocsection-1"><a href="#Introduction"><span class="tocnumber">2</span> <span class="toctext">Introduction</span></a></li>
<li class="toclevel-1 tocsection-2"><a href="#Ship_weights"><span class="tocnumber">3</span> <span class="toctext">Ship weights</span></a></li>
<li class="toclevel-1 tocsection-3"><a href="#Tanks"><span class="tocnumber">4</span> <span class="toctext">Tanks</span></a>
<ul>
<li class="toclevel-2 tocsection-4"><a href="#Geometry_generation"><span class="tocnumber">4.1</span> <span class="toctext">Geometry generation</span></a></li>
<li class="toclevel-2 tocsection-5"><a href="#Tank_intances_generation"><span class="tocnumber">4.2</span> <span class="toctext">Tank intances generation</span></a></li>
<li class="toclevel-2 tocsection-6"><a href="#GZ_curve_computation"><span class="tocnumber">4.3</span> <span class="toctext">GZ curve computation</span></a></li>
<li class="toclevel-2 tocsection-7"><a href="#Results"><span class="tocnumber">4.4</span> <span class="toctext">Results</span></a></li>
</ul>
</li>
</ul>
</div>
</td></tr></table>
<p><br />
</p><p><br />
Before starting this tutorial, please ensure that you have already performed <a href="FreeCAD-Ship_s60_tutorial.html" title="FreeCAD-Ship s60 tutorial">the first part</a>.
</p><p>You can learn more about <a href="Ship_Workbench.html" title="Ship Workbench">FreeCAD-Ship here</a>
</p>
<div id="itsfree" style="text-align:center;color:black;background:#FDE0A8;margin:1em 7em;padding:0.5em 2em;border:2px solid #FF5706;"><center><b>Windows users</b></center>
<center>FreeCAD-Ship have been recently integrated into FreeCAD package, so some bugs can be detected.</center>
<center>If your Ship module have icons lost, please rename <b>ShipIcons</b> folder at</center>
<center>C:\Program Files (x86)\FreeCAD0.13\Mod\Ship</center>
<center>path as <b>Icons</b> folder, and then restart FreeCAD.</center></div>
<p><br />
</p>
<h2><span class="mw-headline" id="Introduction">Introduction</span></h2>
<p>In this tutorial we will work with weights and tanks in order to compute GZ curve, the most important hydrostatic stability parameter. GZ is the static moment generated when the ship takes roll angle, of course, since the GZ arm is positive, the ship has a positive moment, and will try to recover upright position, but when GZ turns on negative numbers ship has not anymore stability, reaching a critical situation.
</p><p>IMO (International Maritime Organization) set following criteria:
</p>
<ul><li> <i>GM</i> &gt;= 0.15 m. <i>GM</i> (metacentric height) is the initial tangent of the <i>GZ</i> curve.</li>
<li> Maximum <i>GZ</i> value must be placed over 30 degrees of roll angle.</li>
<li> With 30 degrees roll angle, <i>GZ</i> value must be 0.2 m at least.</li>
<li> Area involved by <i>GZ</i> curve up to 40 degrees of roll angle must be at least 0.090 m · rad.</li>
<li> Area involved by <i>GZ</i> curve up to 30 degrees of roll angle must be at least 0.055 m · rad.</li>
<li> Area involved by <i>GZ</i> curve from 30 to 40 degrees of roll angle must be at least 0.030 m · rad.</li></ul>
<p>In this tutorial we will set weights and tanks for our series 60 ship, in a unreal situation.
</p>
<h2><span class="mw-headline" id="Ship_weights">Ship weights</span></h2>
<p>In order to can compute GZ curve we need to know ship weights, and their position at each roll angle, so weights will be divided in two categories:
</p>
<ul><li> Fixed weights, that are fully linked to ship movements.</li>
<li> Tanks, where fluid shape changes with the angle, needing center of gravity computation at each position.</li></ul>
<p>FreeCAD-Ship provides two different tools to generate each instance.
</p>
<div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FreeCAD-Ship-WeightIco.png" class="image" title="Weights definition tool icon."><img alt="Weights definition tool icon." src="FreeCAD-Ship-WeightIco.png" width="64" height="64" /></a></div></div>
<center><span style="font-variant:small-caps">Weights definition tool icon.</span></center>
<p>Weights definition tool can be used to set first category of weights. When you launch the tool for first time (with ship instance selected), FreeCAD-Ship initialize ship weights with Lightweight ship (equal to ship displacement) that is placed on ship geometry centre of gravity X coordinate, and at design draft height. Usually you have at least, 2 relevant weights:
</p>
<ul><li> Structure.</li>
<li> Main engine (or several of them).</li></ul>
<p>So we will change it. Doing double click over each cell we can edit the value, seting this weights:
</p>
<ul><li> Structure, 15000 kg, (-0.1, 0, 1.25) m</li>
<li> Starboard engine, 5000 kg, (-6.5, -0.65, 0.5) m</li>
<li> Port side engine, 5000 kg, (-6.5, 0.65, 0.5) m</li>
<li> Emergency engine, 2500 kg, (0.2, 0, 2.5) m</li></ul>
<div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FreeCAD-Ship-S60WeightsPreview.png" class="image" title="Weights definition 3D preview."><img alt="Weights definition 3D preview." src="FreeCAD-Ship-S60WeightsPreview.png" width="834" height="337" /></a></div></div>
<center><span style="font-variant:small-caps">Weights definition 3D preview.</span></center>
<p>Weights position are shown at 3D screen view. This annotations will be removed when you ends with the tool, so don't take care about this. When you press <b>Accept</b> weights will stored at your ship instance.
</p>
<h2><span class="mw-headline" id="Tanks">Tanks</span></h2>
<p>Tanks must be created on top of solid geometry, as the ship instance, so first step is create two bow tanks (one per ship side) solid geometries that we will consider (Ussually ships have a lot of tanks for fuel, fresh water, salt water, load, etc).
</p>
<h3><span class="mw-headline" id="Geometry_generation">Geometry generation</span></h3>
<p>In order to generate tanks we load <a href="Part_Workbench.html" class="mw-redirect" title="Part Workbench">Part module</a>, and create a box solid.
</p><p>We need to edit the box, so we select it at <b>Atributes and tags</b> tree, and change from view to data tab. Uncollapse Placement, and into them Position, and set <i>x</i> to 1.5, and z to -1. We want to change box lenght too changing it for 5.0 (note that units can be in mm, don't take care about this).
</p><p>Tank geometry will be common part of created box and ship geometry, so we can hide <b>Ship</b> instance, and show <b>s60_IowaUniversity</b> geometry. Selecting box and <b>s60_IowaUniversity</b> we can use Common operation generating our starboard tank geometry.
</p>
<div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FreeCAD-Ship-S60TankGeometry.png" class="image" title="Generated tank geometry."><img alt="Generated tank geometry." src="FreeCAD-Ship-S60TankGeometry.png" width="834" height="337" /></a></div></div>
<center><span style="font-variant:small-caps">Generated tank geometry.</span></center>
<p>We can perform port side tank selecting our starboard geometry and executing mirror tool, selecting XZ as mirror plane.
</p><p>In order to convert geometry into a ussual solid shape our tanks, and recover our <b>s60_IowaUniversity</b> geometry, we can load <a href="Draft_Workbench.html" class="mw-redirect" title="Draft Workbench">Draft module</a>, and with starboard tank geometry selected execute Upgrade, and repeat with port side tank geometry. We can rename geometries as:
</p>
<ul><li> StarboardTankGeom</li>
<li> PortTankGeom</li></ul>
<p>We can delete created Box, that we don't need anymore.
</p>
<h3><span class="mw-headline" id="Tank_intances_generation">Tank intances generation</span></h3>
<p>If reload <a href="Ship_Workbench.html" title="Ship Workbench">FreeCAD-Ship module</a> another time, we can find tank instances generator tool.
</p>
<div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FreeCAD-Ship-TankIco.png" class="image" title="Tank instance generation tool icon."><img alt="Tank instance generation tool icon." src="FreeCAD-Ship-TankIco.png" width="64" height="64" /></a></div></div>
<center><span style="font-variant:small-caps">Tank instance generation tool icon.</span></center>
<p>Now we can select <b>StarboardTankGeom</b> and execute tank instnace generation tool, where some data must be provided. We will set 40% of filling level, and 925 kg/m&lt;math&gt;\mathrm{m}^{3}&lt;/math&gt; (fuel approach). When <b>Accept</b> is clicked a new tank instance called <b>Tank</b> is generated. We can rename it as <b>StarboardTank</b>, and hide <b>StarboardTankGeom</b>.
</p><p>We can repeat the same process in order to generate <b>PortTank</b>.
</p>
<div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FreeCAD-Ship-S60WeightsTanksPreview.png" class="image" title="View of generated weights."><img alt="View of generated weights." src="FreeCAD-Ship-S60WeightsTanksPreview.png" width="834" height="337" /></a></div></div>
<center><span style="font-variant:small-caps">View of generated weights.</span></center>
<p>Figure shown our ship result that we will compute.
</p>
<h3><span class="mw-headline" id="GZ_curve_computation">GZ curve computation</span></h3>
<p>FreeCAD-Ship provide a tool to easily compute a <i>GZ</i> curve.
</p>
<div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Ship_GZ.svg" class="image" title="GZ curve computation tool icon."><img alt="GZ curve computation tool icon." src="Ship_GZ.svg" width="128" height="128" /></a></div></div>
<center><span style="font-variant:small-caps">GZ curve computation tool icon.</span></center>
<p>With <b>Ship</b> instance selected, we can run the tool. The first thing that we can see at opened dialog is a list with all tank instances found at active document. We want to use both of them, so we click over the tanks that are remarked with a diferent background.
</p><p>In order to know the resultant ship displacement and draft we can press <b>Update displacement and draft</b>, taking some time for the computation. We receive following data:
</p>
<ul><li> Displacement = 37505.5 kg</li>
<li> Draft = 0.818664 m</li></ul>
<p>So we are in a unloaded situation, where draft are sightly lower than design draft. Ussually lower drafts imply lower ship stability, the draft depends on loading condition, so if we really expect than ship can be operated in this loading condition we can consider implement ballast tanks.
</p><p>We can also automatically compute ship trim, operation that can take around one minute, retrieving that our ship have 0.95 degrees of trim angle (positive by stern). In this example we will work without trim angle (0 degrees).
</p><p>Tool request roll angles considered too. In this case we want to know all ship behaviour, so we can set:
</p>
<ul><li> 0 degrees starting roll angle.</li>
<li> 180 degrees ending roll angle.</li>
<li> 46 points. One for each 2 degrees. GZ computation can take some time, so take care about the number of points requested.</li></ul>
<p>When we press <b>Accept</b> tool starts the computation. If you runs FreeCAD from terminal you can see work progress. In a couple of seconds we will receive GZ curve.
</p><p>This tool use <a rel="nofollow" class="external text" href="http://www.pyxplot.org.uk/">pyxplot</a> and <a rel="nofollow" class="external text" href="http://www.ghostscript.com/">ghostscript</a> too. You can see where <b>gz.dat</b> output file has been placed at the report view (View/Views/Report view), and load it with datasheet software (for example <a rel="nofollow" class="external text" href="http://www.libreoffice.org">libreOffice</a>). Nearby data file several auxiliary files has been created too:
</p>
<ul><li> <b>gz.dat</b>: Computed GZ curve data.</li>
<li> <b>gz.pyxplot</b>: pyxplot layout in order to plot the curve.</li>
<li> <b>gz.eps</b>: EPS image version.</li>
<li> <b>gz.png</b>: PNG image version.</li></ul>
<p>This files will be overwritten if you executes the tool another time.
</p>
<h3><span class="mw-headline" id="Results">Results</span></h3>
<div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FreeCAD-Ship-s60GZ.png" class="image" title="Resultant GZ curve."><img alt="Resultant GZ curve." src="800px-FreeCAD-Ship-s60GZ.png" width="800" height="516" srcset="/wiki/images/0/06/FreeCAD-Ship-s60GZ.png 1.5x" /></a></div></div>
<center><span style="font-variant:small-caps">Resultant GZ curve.</span></center>
<p><i>GZ</i> maximum value is placed over 30 degrees (45 degrees), getting 0.25 m at 30 degrees (0.2 m is the minimum). Up to 30 degrees the area below <i>GZ</i> curve is 0.065 m·rad, up to 40 degrees we have 0.092 m·rad, being the area between 30 and 40 degrees of 0.027 m·rad. So our ship don't meets the IMO requeriments. The solution is place ballast tanks.
</p><p>At the other hand the ship, in this bad condition, has positive <i>GZ</i> values up to 95 degrees roll angle, but has not been enoguht for IMO stability requirements, showing the hard cirteria imposed about this item.
</p><p>Of course this example is not real (first for all fuel tanks cannot be placed in the double bottom structure, or using hull side as structure), but is a good example in order to learn to use <a href="Ship_Workbench.html" title="Ship Workbench">FreeCAD-Ship</a>.
</p><p><br />
</p>
<div style="clear:both"></div>
</div>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="http://www.freecadweb.org/wiki/index.php?title=FreeCAD-Ship_s60_tutorial_(II)/de&amp;oldid=185380">http://www.freecadweb.org/wiki/index.php?title=FreeCAD-Ship_s60_tutorial_(II)/de&amp;oldid=185380</a>"</div>
<div id="catlinks" class="catlinks" data-mw="interface"></div><div class="visualClear"></div>
</div>
</div>
<div id="mw-navigation">
<h2>Navigation menu</h2>
</body></html>