Вы находитесь на странице: 1из 5

23/12/2015

FreeCADShips60tutorial(II)FreeCADDocumentation

FreeCADShips60tutorial(II)
DeFreeCADDocumentation
Beforestartingthistutorial,pleaseensurethatyouhavebeenalreadyperformedfirstpart.
YoucanlearnmoreaboutFreeCADShiphere
Windowsusers
FreeCADShiphavebeenrecentlyintegratedinto
FreeCADpackage,sosomebugscanbedetected.
IfyourShipmodulehaveiconslost,pleaserename
ShipIconsfolderat
C:\ProgramFiles(x86)\FreeCAD0.13\Mod\Ship
pathasIconsfolder,andthenrestartFreeCAD.

ndice
1Introduction
2Shipweights
3Tanks
3.1Geometrygeneration
3.2Tankintancesgeneration
3.3GZcurvecomputation
3.4Results

Introduction
InthistutorialwewillworkwithweightsandtanksinordertocomputeGZcurve,themost
importanthydrostaticstabilityparameter.GZisthestaticmomentgeneratedwhentheshiptakesroll
angle,ofcourse,sincetheGZarmispositive,theshiphasapositivemoment,andwilltrytorecover
uprightposition,butwhenGZturnsonnegativenumbersshiphasnotanymorestability,reachinga
criticalsituation.
IMO(InternationalMaritimeOrganization)setfollowingcriteria:
GM>=0.15m.GM(metacentricheight)istheinitialtangentoftheGZcurve.
MaximumGZvaluemustbeplacedover30degreesofrollangle.
With30degreesrollangle,GZvaluemustbe0.2matleast.
AreainvolvedbyGZcurveupto40degreesofrollanglemustbeatleast0.090mrad.
AreainvolvedbyGZcurveupto30degreesofrollanglemustbeatleast0.055mrad.
AreainvolvedbyGZcurvefrom30to40degreesofrollanglemustbeatleast0.030mrad.
Inthistutorialwewillsetweightsandtanksforourseries60ship,inaunrealsituation.

Shipweights
InordertocancomputeGZcurveweneedtoknowshipweights,andtheirpositionateachroll
angle,soweightswillbedividedintwocategories:
Fixedweights,thatarefullylinkedtoshipmovements.
Tanks,wherefluidshapechangeswiththeangle,needingcenterofgravitycomputationateach
position.
FreeCADShipprovidestwodifferenttoolstogenerateeachinstance.
http://www.freecadweb.org/wiki/index.php?title=FreeCADShip_s60_tutorial_(II)

1/5

23/12/2015

FreeCADShips60tutorial(II)FreeCADDocumentation

WEIGHTSDEFINITIONTOOLICON.
Weightsdefinitiontoolcanbeusedtosetfirstcategoryofweights.Whenyoulaunchthetoolfor
firsttime(withshipinstanceselected),FreeCADShipinitializeshipweightswithLightweightship
(equaltoshipdisplacement)thatisplacedonshipgeometrycentreofgravityXcoordinate,andat
designdraftheight.Usuallyyouhaveatleast,2relevantweights:
Structure.
Mainengine(orseveralofthem).
Sowewillchangeit.Doingdoubleclickovereachcellwecaneditthevalue,setingthisweights:
Structure,15000kg,(0.1,0,1.25)m
Starboardengine,5000kg,(6.5,0.65,0.5)m
Portsideengine,5000kg,(6.5,0.65,0.5)m
Emergencyengine,2500kg,(0.2,0,2.5)m

WEIGHTSDEFINITION3DPREVIEW.
Weightspositionareshownat3Dscreenview.Thisannotationswillberemovedwhenyouends
withthetool,sodon'ttakecareaboutthis.WhenyoupressAcceptweightswillstoredatyourship
instance.

Tanks
Tanksmustbecreatedontopofsolidgeometry,astheshipinstance,sofirststepiscreatetwobow
tanks(onepershipside)solidgeometriesthatwewillconsider(Ussuallyshipshavealotoftanks
forfuel,freshwater,saltwater,load,etc).

Geometrygeneration
InordertogeneratetanksweloadPartmodule,andcreateaboxsolid.
Weneedtoeditthebox,soweselectitatAtributesandtagstree,andchangefromviewtodata
tab.UncollapsePlacement,andintothemPosition,andsetxto1.5,andzto1.Wewanttochange
boxlenghttoochangingitfor5.0(notethatunitscanbeinmm,don'ttakecareaboutthis).
Tankgeometrywillbecommonpartofcreatedboxandshipgeometry,sowecanhideShip
instance,andshows60_IowaUniversitygeometry.Selectingboxands60_IowaUniversitywecan
useCommonoperationgeneratingourstarboardtankgeometry.

http://www.freecadweb.org/wiki/index.php?title=FreeCADShip_s60_tutorial_(II)

2/5

23/12/2015

FreeCADShips60tutorial(II)FreeCADDocumentation

GENERATEDTANKGEOMETRY.
Wecanperformportsidetankselectingourstarboardgeometryandexecutingmirrortool,selecting
XZasmirrorplane.
Inordertoconvertgeometryintoaussualsolidshapeourtanks,andrecoverour
s60_IowaUniversitygeometry,wecanloadDraftmodule,andwithstarboardtankgeometry
selectedexecuteUpgrade,andrepeatwithportsidetankgeometry.Wecanrenamegeometriesas:
StarboardTankGeom
PortTankGeom
WecandeletecreatedBox,thatwedon'tneedanymore.

Tankintancesgeneration
IfreloadFreeCADShipmoduleanothertime,wecanfindtankinstancesgeneratortool.

TANKINSTANCEGENERATIONTOOLICON.
NowwecanselectStarboardTankGeomandexecutetankinstnacegenerationtool,wheresome
datamustbeprovided.Wewillset40%offillinglevel,and925kg/m<math>\mathrm{m}^{3}
</math>(fuelapproach).WhenAcceptisclickedanewtankinstancecalledTankisgenerated.We
canrenameitasStarboardTank,andhideStarboardTankGeom.
WecanrepeatthesameprocessinordertogeneratePortTank.

VIEWOFGENERATEDWEIGHTS.
Figureshownourshipresultthatwewillcompute.
http://www.freecadweb.org/wiki/index.php?title=FreeCADShip_s60_tutorial_(II)

3/5

23/12/2015

FreeCADShips60tutorial(II)FreeCADDocumentation

GZcurvecomputation
FreeCADShipprovideatooltocomputeeasilyGZcurve.

GZCURVECOMPUTATIONTOOLICON.
WithShipinstanceselected,wecanrunthetool.Thefirstthingthatwecanseeatopeneddialogisa
listwithalltankinstancesfoundatactivedocument.Wewanttousebothofthem,soweclickover
thetanksthatareremarkedwithadiferentbackground.
InordertoknowtheresultantshipdisplacementanddraftwecanpressUpdatedisplacementand
draft,takingsometimeforthecomputation.Wereceivefollowingdata:
Displacement=37505.5kg
Draft=0.818664m
Soweareinaunloadedsituation,wheredraftaresightlylowerthandesigndraft.Ussuallylower
draftsimplylowershipstability,thedraftdependsonloadingcondition,soifwereallyexpectthan
shipcanbeoperatedinthisloadingconditionwecanconsiderimplementballasttanks.
Wecanalsoautomaticallycomputeshiptrim,operationthatcantakearoundoneminute,retrieving
thatourshiphave0.95degreesoftrimangle(positivebystern).Inthisexamplewewillwork
withouttrimangle(0degrees).
Toolrequestrollanglesconsideredtoo.Inthiscasewewanttoknowallshipbehaviour,sowecan
set:
0degreesstartingrollangle.
180degreesendingrollangle.
46points.Oneforeach2degrees.GZcomputationcantakesometime,sotakecareaboutthe
numberofpointsrequested.
WhenwepressAccepttoolstartsthecomputation.IfyourunsFreeCADfromterminalyoucansee
workprogress.InacoupleofsecondswewillreceiveGZcurve.
Thistoolusepyxplot(http://www.pyxplot.org.uk/)andghostscript(http://www.ghostscript.com/)
too.Youcanseewheregz.datoutputfilehasbeenplacedatthereportview(View/Views/Report
view),andloaditwithdatasheetsoftware(forexamplelibreOffice(http://www.libreoffice.org)).
Nearbydatafileseveralauxiliaryfileshasbeencreatedtoo:
gz.dat:ComputedGZcurvedata.
gz.pyxplot:pyxplotlayoutinordertoplotthecurve.
gz.eps:EPSimageversion.
gz.png:PNGimageversion.
Thisfileswillbeoverwrittenifyouexecutesthetoolanothertime.

Results

http://www.freecadweb.org/wiki/index.php?title=FreeCADShip_s60_tutorial_(II)

4/5

23/12/2015

FreeCADShips60tutorial(II)FreeCADDocumentation

RESULTANTGZCURVE.
GZmaximumvalueisplacedover30degrees(45degrees),getting0.25mat30degrees(0.2mis
theminimum).Upto30degreestheareabelowGZcurveis0.065mrad,upto40degreeswehave
0.092mrad,beingtheareabetween30and40degreesof0.027mrad.Soourshipdon'tmeetsthe
IMOrequeriments.Thesolutionisplaceballasttanks.
Attheotherhandtheship,inthisbadcondition,haspositiveGZvaluesupto95degreesrollangle,
buthasnotbeenenoguhtforIMOstabilityrequirements,showingthehardcirteriaimposedabout
thisitem.
Ofcoursethisexampleisnotreal(firstforallfueltankscannotbeplacedinthedoublebottom
structure,orusinghullsideasstructure),butisagoodexampleinordertolearntouseFreeCAD
Ship.
Outros
idiomas:

English
espaol
franais
italiano

Disponvelem"http://www.freecadweb.org/wiki/index.php?title=FreeCAD
Ship_s60_tutorial_(II)&oldid=128381"
Categoria: Tutorials

Estapginafoimodificadapelaltimavez(s)22h06minde4dedezembrode2014.
Estapginafoiacessada19844vezes.
ContedodisponvelsobCreativeCommonsAttribution,salvoindicaoemcontrrio.

http://www.freecadweb.org/wiki/index.php?title=FreeCADShip_s60_tutorial_(II)

5/5

Вам также может понравиться