15
Getting Started Tutorial Getting Started Tutorial

Getting Started Tutorial - Sandia National Laboratories · Getting Started Tutorial Create the Design Domain (1) • At the CUBIT>command prompt copy and paste the following (see

Embed Size (px)

Citation preview

GettingStartedTutorial

GettingStartedTutorial

GettingStartedTutorial

LanternBracketProblem

• Thistutorialwillwalkyouthroughasimpletopologyoptimizationproblemwherewewilldesignabracketformountingalanterntoawall.• Thedesigndomainisshowninthebottomimage.Thetwoholesatthetoparewherethebracketwillmounttothewallandtheholewheretheredarrowispointingiswheretheloadfromtheweightofthelanternwillbeapplied.

GettingStartedTutorial

CreateaNewModel

• ChooseFile->New->Modelinthemenu• ChooseNewModel thenNext• ChooseCreateFromTemplatethenNext• EnterLantern astheModelName• ChoosetheSierraSDTemplates->StructuralDynamics->TopologyOptimization templateandthenFinish

GettingStartedTutorial

CreatetheDesignDomain(1)• AttheCUBIT> commandpromptcopyandpastethe

following(seeHintonnextslide):brick x5.5y5.5z5webcut volume all with plane zplane offset.5webcut volume all with plane zplane offset-.5brick x1y5z1vol 4move-2.25.250subtractvol 4fromvol 2brick x5.5y1.5z1vol 5move-.520sub5from2webcut volume2withsheetextendedfromsurface48webcut volume6withsheetextendedfromsurface45cylinderradius.125height10vol 8copyrotate90aboutxvol 9move-2.2500sub9fromVolume2vol 8rotate90aboutyvol 8move02.3750vol 8copymove0-.750sub108from6

• TheseareCUBITcommandsthatcreatethecadmodelrepresentationofthedesigndomaininwhichtheoptimizeddesigncanexist.

GettingStartedTutorial

Hint:CubitConsole• Ifyoudon’tseetheCUBIT> promptintheconsolewindowyouarejustlookingatthewrongconsole(theremaybemultipletochoosefromloadedinPlatothatusethesingleconsolewindow).Clickontheiconatthetoprightoftheconsolewindowthatlookslikeacomputerscreentotogglethroughthedifferentconsolesthatarecurrentlyloaded.Oryoucanclickonthedownarrownexttothecomputerscreenicontoseeallofthecurrentlyloadedconsolesandchooseonefromthelist.

GettingStartedTutorial

CreatetheDesignDomain(2)• AttheCUBIT> commandpromptcopyandpastethefollowing:

imprintallmergeallvol allsize.2meshvol allblock1vol371block2vol 26

• Thesecommandsimprintthevolumesontoeachotherandthenmergethesurfacesbetweenthemsothatthemeshwillbecontiguousfromvolumetovolume.

• Thenthevolumesaremeshedandputinblocksbasedonwhethertheywillbe“fixed”or”optimizable”.Inourcasewewillfixthevolumeswherethebracketattachestothewallandwherethelanternwillbeattached.

• SeetheFixedBlocks tutorialformoreinfoonfixedblocks.

GettingStartedTutorial

ApplyLanternLoad• Selectandright-clicktheinnercylindricalsurfacewherethelanternwillbeattached(shownhighlightedinorange)andchooseApplyLoads->sideset.(seeEntitySelectionHintonnextslide)• IntheSettings panelselecttraction fromthedropdownlistandthenenter0-1e50 intheboxnexttothetractionkeywordandhitthereturnkey.

GettingStartedTutorial

Hint:EntitySelection• Theselectionfiltertoolbarisatthebottomleftofthegraphicswindow.• Thereare3highlevelmodes:Geometry,Mesh,andExodus• Withineachhighlevelmodetherearevariousoptionsforfilteringwhatwillgetselectedbyclicksinthegraphicswindow.

Highlevelmodes

Filteroptionsforagivenhighlevelmode

GettingStartedTutorial

CreateaFixedBC• Selectthetwoinnercylindricalsurfaceswherethebracketwillbeattachedtothewall.OnWindowsandLinuxuseCtrl-SelecttoselectmultiplesurfacesandonMacuseCommand-Select.Afterselectingthetwosurfacesright-clickandchooseApplyBoundaryConditions->boundary

• IntheSettings panelselectsideset 2 andthencheckthefixed checkbox.

• ClickonGeometry/MeshnodeinthetreeandthenclicktheSave iconinthetoolbartosavethemodel

GettingStartedTutorial

AssignMaterialandElementType

• ClickontheFEMMesh nodeinthetreeunderSierraStructuralDynamics->FiniteElementModel• IntheSettings panelclickintheMaterial areanexttoBlock1andselect1 fromthedropdownlist• ThenclickintheElement areanexttoBlock1andselecthex8u fromthedropdownlist• DothesameforBlock2

GettingStartedTutorial

SettheVolumeFraction

• ClickontheTopologyOptimization->TOPOLOGY-OPTIMIZATION nodeinthetree• IntheSettingspanelclickonvolume_fractionandtypein0.1 forthevalueandhitthereturn key.ThiswilltellPlatothatwewanttheresultingdesigntoonlyuse10%ofthestartingdesigndomainvolume.

GettingStartedTutorial

SettheFilterRadius

• ClickontheTopologyOptimization->TOPOLOGY-OPTIMIZATION nodeinthetree

• IntheSettingspanelclickonfilter_scale andtypein2.0 forthevalueandhitthereturn key.ThiswilltellPlatotouseafilterradiusthatis2timestheaveragemeshedgelengthinthemodel.Thefilterradiuswillaffectfeaturesizeaswellassmoothnessintheresultingdesign.

GettingStartedTutorial

AddaFixedBlock

• ClickontheTopologyOptimization->TOPOLOGY-OPTIMIZATION nodeinthetree• IntheSettingspanelright-clickanywhereintheParametersareaandchooseAdd->fixed_block_ids.Enter2forthefixedblockidandhitthereturnkey.ThiswilltellPlatotonotallowanyofthematerialinBlock2tobeoptimizedaway.

GettingStartedTutorial

RuntheOptimization• ClickontheSierraStructuralDynamics nodeinthetreetobringupthejobsubmissionpanelintheSettings view

• ChooseSalinas asthecode(SalinasistheSierraStructuralDynamicscode)andthenchoosethemachineandcorrespondingexecutiontemplate.IfyouhavealocalinstallationofSierrachooselocal asthemachineandPlato_Salinas_Local astheexecutiontemplate.

• IntheResources areamakesureLantern.exo ischecked.Thisisthemeshfilethatwillbeused.• IntheCodeParameters areamakesureAutoPrune isuncheckedandNumberofRefines is0.Wewillnotusethesefeaturesinthisexample.• ChooseanyotherpreferencesandlaunchthejobbyclickingonSubmitSimulationJob towardthetopofthepanel

GettingStartedTutorial

Results• Yourresultsshouldlookliketheimageshownhere.• Atthispointyoucantrymodifyingparametersandresubmittingthejobandeachtimeitwilljustoverwritetheresultsfromthepreviousrun.• Thistutorialshouldgiveyouageneraloverviewoftheprocess.Trytheothertutorialsatwww.sandia.gov/plato3dtolearnaboutspecificfeatures.