3
BIOEN 327 Solids and Fluids Laboratory Autumn 2013 Print date: 9/24/2013 1 Software in BIOEN 327: COMSOL, LabView, and SolidWorks BIOEN 327 is a software‐intensive course, because engineering in the 21 st century is a software‐intensive pursuit. We will learn and use three major software packages that are considered industry standards. Each has its own role in this course and in engineering design and analysis. LabView is software for the real‐time acquisition, processing and visualization of measured data. You can do the same mathematical functions in LabView that you can do in MATLAB, but LabView is good for real‐time operations while MATLAB is more efficient for post‐processing and math in general. You can put MATLAB commands inside a LabView program, providing the best of both worlds. If you want to create and test electronic instruments, or produce a control system for a small device or large industrial facility, you will eventually want to use LabView. Solidworks is used to create 3‐D drawings that may be used to visualize your designs, or to provide instructions for manufacturing or 3‐D printing. It is easier to learn the Labview programming interface than the Solidworks interface, but you need hardware to do really interesting stuff with Labview, whereas it is fun just to make drawings with Solidworks. Solidworks is on a limited number of computers and we have an even more limited number of licenses (concurrent users) so not everyone can use it at once. Labview is installed on all of the computers in the Physiology and Instrumentation lab rooms and there is no limit on the number of users. COMSOL simulates physical processes by solving the partial differential equations that describe these processes. For example, you can analyze the flow of blood through a capillary tube, or study the deflection in a hypothetical bone. It can also combine processes such as heat transfer and fluid flow, to calculate how much heat is passing from moving blood, into static skin, into air moving past the skin. By the end of the course, you will have had exposure to what I consider are the “big four” engineering software applications: measurement and control (Labview), signal and data processing (MATLAB), engineering drawing/modeling (Solidworks, CATIA, Autodesk/AutoCAD, Rhino), and physical simulation (COMSOL, ANSYS, CATIA, SolidWorks). Note that drawing software is increasingly combined with simulation software (e.g. Solidworks, CATIA) to create multi‐function modeling software. One of the first topics you will see in BIOEN 326 is solid mechanics (stress and strain), in structures that we can draw. In addition, we would like to start drawing and creating objects for material testing. Therefore, we will start the quarter with SolidWorks.

Software in BIOEN COMSOL, LabView, and …courses.washington.edu/bioen327/Handouts/327_Lab01(2013...BIOEN 327 Solids and Fluids Laboratory Autumn 2013 Print date: 9/24/2013 1 Software

Embed Size (px)

Citation preview

Page 1: Software in BIOEN COMSOL, LabView, and …courses.washington.edu/bioen327/Handouts/327_Lab01(2013...BIOEN 327 Solids and Fluids Laboratory Autumn 2013 Print date: 9/24/2013 1 Software

BIOEN 327 Solids and Fluids Laboratory Autumn 2013

Print date: 9/24/2013 1

SoftwareinBIOEN327:COMSOL,LabView,andSolidWorks

BIOEN327isasoftware‐intensivecourse,becauseengineeringinthe21stcenturyisasoftware‐intensivepursuit.Wewilllearnandusethreemajorsoftwarepackagesthatareconsideredindustrystandards.Eachhasitsownroleinthiscourseandinengineeringdesignandanalysis.

LabViewissoftwareforthereal‐timeacquisition,processingandvisualizationofmeasureddata.YoucandothesamemathematicalfunctionsinLabViewthatyoucandoinMATLAB,butLabViewisgoodforreal‐timeoperationswhileMATLABismoreefficientforpost‐processingandmathingeneral.YoucanputMATLABcommandsinsideaLabViewprogram,providingthebestofbothworlds.Ifyouwanttocreateandtestelectronicinstruments,orproduceacontrolsystemforasmalldeviceorlargeindustrialfacility,youwilleventuallywanttouseLabView.

Solidworksisusedtocreate3‐Ddrawingsthatmaybeusedtovisualizeyourdesigns,ortoprovideinstructionsformanufacturingor3‐Dprinting.ItiseasiertolearntheLabviewprogramminginterfacethantheSolidworksinterface,butyouneedhardwaretodoreallyinterestingstuffwithLabview,whereasitisfunjusttomakedrawingswithSolidworks.

Solidworksisonalimitednumberofcomputersandwehaveanevenmorelimitednumberoflicenses(concurrentusers)sonoteveryonecanuseitatonce.LabviewisinstalledonallofthecomputersinthePhysiologyandInstrumentationlabroomsandthereisnolimitonthenumberofusers.

COMSOLsimulatesphysicalprocessesbysolvingthepartialdifferentialequationsthatdescribetheseprocesses.Forexample,youcananalyzetheflowofbloodthroughacapillarytube,orstudythedeflectioninahypotheticalbone.Itcanalsocombineprocessessuchasheattransferandfluidflow,tocalculatehowmuchheatispassingfrommovingblood,intostaticskin,intoairmovingpasttheskin.

Bytheendofthecourse,youwillhavehadexposuretowhatIconsiderarethe“bigfour”engineeringsoftwareapplications:measurementandcontrol(Labview),signalanddataprocessing(MATLAB),engineeringdrawing/modeling(Solidworks,CATIA,Autodesk/AutoCAD,Rhino),andphysicalsimulation(COMSOL,ANSYS,CATIA,SolidWorks).Notethatdrawingsoftwareisincreasinglycombinedwithsimulationsoftware(e.g.Solidworks,CATIA)tocreatemulti‐functionmodelingsoftware.

OneofthefirsttopicsyouwillseeinBIOEN326issolidmechanics(stressandstrain),instructuresthatwecandraw.Inaddition,wewouldliketostartdrawingandcreatingobjectsformaterialtesting.Therefore,wewillstartthequarterwithSolidWorks.

Page 2: Software in BIOEN COMSOL, LabView, and …courses.washington.edu/bioen327/Handouts/327_Lab01(2013...BIOEN 327 Solids and Fluids Laboratory Autumn 2013 Print date: 9/24/2013 1 Software

BIOEN 327 Solids and Fluids Laboratory Autumn 2013

Print date: 9/24/2013 2

Labexperience1:IntroductiontoSolidWorks

TherearemanySolidWorks(SW)tutorialsontheInternet,frommanysources.WhetheryouuseYouTube,ortheHelpfilesinSW,orsomethingelse,youwillgetthesamebasicknowledge,butstillonlyafractionofthetricksandtechniquesavailableinthesoftware.Thefastestwaytolearnistohaveagoalandanexpertwithyoutoansweryourparticularquestions.Iamnotanexpertyet,sowewillbothbeturningtotheWebandthehelpfilesaswego.However,withjustthebasictechniqueswecandrawavarietyofusefulobjects,ormodels.

ThemodelswedrawwithSWareusedforavarietyofpurposes:

Tomakeillustrationsofourdesignsanddevices Tocreateengineeringdrawingsthatmanufacturerscanusetofabricateour

products Forrapidprototypingwitha3‐Dprinter AsinputstoSolidWorksphysicalmodelingandanimation ForexporttoCOMSOLorotherengineeringanalysissoftware.

InBIOEN327,weareprimarilyinterestedinillustrations,3‐Dprinting,andexporttoCOMSOL.

PARTI:FAMILIARIZATION

Wheretofindthesoftware

SolidWorksisinstalledintheInstrumentationandPhysiologylabs(FoegeN133andN151).

Wehavealicensethatallowsabout10studentstousethesoftwaresimultaneouslyonanyofthecomputerslistedabove,butnotallofthematthesametime.BecausewehaveonlyalimitednumberofseatsforusingSWintheteachinglabs,youarerequestednottouseSWoutsideoflabwhentheotherlabsectionsareusingitinclass.However,atothertimesfeelfreetousethesoftwareinthelab.Wedonotplantoputitontheremoteserver.YoumayalsopurchasethestudentversionofSWattheUWBookstoreandinstallitonwhatevermachineyoulike.

Howtostartthesoftware

Ibetyoucanfigurethisoutforyourselves,butjustforcompleteness…

Startbutton>>Allprograms>>Solidworks2012>>Solidworks2012x64

Suggestedtutorialsites

IstartedwiththetutorialfoundviaHelp>>SolidWorkstutorials.Asabeginner,IfoundIntroductiontoSolidWorks,Lesson1:PartsandLesson2:Assembliestobeuseful.

Page 3: Software in BIOEN COMSOL, LabView, and …courses.washington.edu/bioen327/Handouts/327_Lab01(2013...BIOEN 327 Solids and Fluids Laboratory Autumn 2013 Print date: 9/24/2013 1 Software

BIOEN 327 Solids and Fluids Laboratory Autumn 2013

Print date: 9/24/2013 3

Ifyoupreferavideointroduction,youmightwanttoviewtheGettingStartedwithSolidworksseries:

http://www.solidworks.com/sw/resources/getting‐started‐with‐solidworks.htm

StartwithIntroduction:3DDesignOverview,whichhasthreeparts.

The1stpart,“SolidWorksfor3DDesign,”isinteresting,notbecauseitintroducesSolidWorks,butbecauseitdiscussesthestepsinvolvedinengineeringdesign(startingatminute2).ItisalsoatopicthatisfeaturedinJuniorKickoff.

The2ndpart,“SolidworksIntuitiveUserInterface”isnotasuseful.Themostimportantinformationisthattherearegoodtutorialsbuiltintothesoftware.

The3rdpart,“DesignUnitSystems”startswithadiscussionofunits(e.g.mm),whichyoushouldlearn.Skiptherestcoveringdraftingstandards.

NowgotoLessonOne:Parts.Thefirsttwovideosonthispagearenotinteresting,butthenextfourareveryuseful,andthelasttwoaregoodifyouwanttomakeshellstructures.Definitelyview“Insertingyourfirst3Dfeature.”

NowgotoLessonTwo:Assemblies.Section1,“Creatingyourfirst3Dassembly,”isOK,butsection2,“Techniques”isbetter.Itdescribesmates,whichyouwilluseinahipimplantmodel.

Thevideotutorialsoccasionallygothroughtheprocessofnavigatingfolderbyfoldertothesetofexamplestheyuse.IncaseyouwouldprefertopastethepathintoWindowsExplorer,hereitis:C:\ProgramFiles\SolidWorks\SolidWorks\samples\introsw

Ifyouhavegonethroughthetutorialorvideosmentionedabove,andtriedthecommandsyourself,youareprobablyreadytodrawthespike,ballandcupthatmightbeusedtoperformhipreplacementsurgery.

P.S.Ifyoulikedrawingtoys,youmightenjoyCudaCountry.NotetheBeam(actuallyatruss,asyouwilllearninBIOEN326)includesastressanalysis.NotealsothatafewofthetutorialsarewrittenforSolidWorks2013,whileweareusingSolidWorks2012intheBioEteachinglabs.