流固耦合计算实例资料.docx
《流固耦合计算实例资料.docx》由会员分享,可在线阅读,更多相关《流固耦合计算实例资料.docx(21页珍藏版)》请在冰点文库上搜索。
流固耦合计算实例资料
OscillatingPlatewithTwo-WayFluid-StructureInteraction
ANSYS-China
Introduction
Thistutorialincludes:
«Features
*OverviewoftheProblemtoSolve
«SettinguptheSolidPhysicsinSimulation(ANSYSWorkbench)
«SettinguptheFluidPhysicsandANSYSMulti-fieldSettingsinANSYSCFX-Pre
«ObtainingaSolutionusingANSYSCFX-SolverManager
«ViewingResultsinANSYSCFX-Post
Ifthisisthefirsttutorialyouareworkingwith,itisimportanttoreviewthefollowingtopicsbeforebeginning:
*SettingtheWorkingDirectory
*ChangingtheDisplayColors
Uniessyouplanonrunningasessionfile,youshouldcopythesamplefilesusedinthistutorialfromtheinstallationfolderforyoursoftware(/examples/)toyourworkingdirectory.Thispreventsyoufromoverwritingsourcefilesprovidedwithyourinstallation.Ifyouplantouseasessionfile,pleaserefertoPlayingaSessionFile.
Samplefilesrefereneedbythistutorialinclude:
*OscillatingPlate.pre
*OscillatingPlate.agdb
*OscillatingPlate.gtm
*OscillatingPlate.inp
1.Features
ThistutorialaddressesthefollowingfeaturesofANSYSCFX.
Component
Feature
Details
|aNSYSCFX-Pre
UserMode
GeneralMode||
Inthistutorialyouwilllearnabout:
*Movingmesh
*Fluid-solidinteraction(includingmodelingsoliddeformationusingANSYS)
*RunninganANSYSMulti-field(MFX)simulation
*Post-processingtworesultsfilessimultaneously.
2.OverviewoftheProblemtoSolve
Thistutorialusesasimpleoscillatingplateexampletodemonstratehowtosetupandrunasimulationinvolvingtwo-wayFluid-StructureInteraction,wherethefluidphysicsissolvedinANSYSCFXandthesolidphysicsissolvedintheFEApackageANSYS.Couplingbetweenthetwosolversisrequiredthroughoutthesolutiontomodeltheinteractionbetweenfluidandsolidastimeprogresses,andtheframeworkforthecouplingisprovidedbytheANSYSMulti-fieldsolver,usingtheMFXsetup.
Thegeometryconsistsofa2Dclosedcavity.Athinplateisanchoredtothebottomofthecavityasshownbelow:
Aninitialpressureof100Paisappliedtoonesideofthethinplatefor0.5secondsinordertodistortit.Oncethispressureisreleased,theplateoscillatesbackwardsandforwardsasitattemptstoregainitsequilibrium(vertical)position.Thesurroundingfluiddampstheoscillations,whichthereforehaveanamplitudethatdecreasesintime.TheCFXSolvercalculateshowthefluidrespondstothemotionoftheplate,andtheANSYSSolvercalculateshowtheplatedeformsasaresultofboththeinitialappliedpressureandthepressureresultingfromthepreseneeofthefluid.Couplingbetweenthetwosolversisrequiredsineethesoliddeformationaffectsthefluidsolution,andthefluidsolutionaffectsthesoliddeformation.
ThetutorialdescribesthesetupandexecutionofthecalculationincludingthesetupofthesolidphysicsinSimulation(withinANSYSWorkbench)andthesetupofthefluidphysicsand
ANSYSMulti-fieldsettingsinANSYSCFX-Pre.IfyoudonothaveANSYSWorkbench,thenyoucanusetheprovidedANSYSinputfiletoavoidtheneedforSimulation.
3.SettinguptheSolidPhysicsinSimulation(ANSYSWorkbench)
Thissectiondescribesthestep-by-stepdefinitionofthesolidphysicsinSimulationwithinANSYSWorkbenchthatwillresultinthecreationofanANSYSinputfileOscillatingPlate.inp.Ifyouprefer,youcaninsteadusetheprovidedOscillatingPlate.inpfileandcontinuefromSettinguptheFluidPhysicsandANSYSMulti-fieldSettingsinANSYSCFX-Pre.
CreatingaNewSimulation
1.Ifrequired,launchANSYSWorkbench.
2.ClickEmptyProject.TheProjectpageappearsdisplayinganunsavedproject.
3.SelectFile>SaveorclickSavebutton.
4.Ifrequired,setthepathlocationtoadifferentfolder.Thedefaultlocationisyourworkingdirectory.However,ifyouhaveaspecificfolderthatyouwanttousetostorefilescreatedduringthistutorial,changethepath.
5.UnderFilename,typeOscillatingPlate.
6.ClickSave.
7.UnderLinktoGeometryFileonthelefthandtaskbarclickBrowse.SelecttheprovidedfileOscillatingPlate.agdbandclickOpen.
8.MakesurethatOscillatingPlate.agdbishighlightedandclickNewsimulationfromtheleft-handtaskbar.
CreatingtheSolidMaterial
1.WhenSimulationopens,expandGeometryintheprojecttreeatthelefthandsideoftheSimulationwindow.
2.SelectSolid,andintheDetailsviewbelow,selectMaterial.
3.UsethearrowthatappearsnexttothematerialnameStructuralSteeltoselectNewMaterial.
4.WhentheEngineeringDatawindowopens,right-clickNewMaterialfromthetreeview
andrenameittoPlate.
Milfit
.(j•,,會更平皓时■白hCm»
■jlaWjHrrtefip*m
ThMmMr^rciLH:
lrv«y
.11
0CJ||"H1in
5.Enter2.5e06forYoung'sModulus,0.35forPoisson'sRatioand2550forDensity.
Notethattheotherpropertiesarenotusedforthissimulation,andthattheunitsforthesevaluesareimpliedbytheglobalunitsinSimulation.
6.ClicktheSimulationtabnearthetopoftheWorkbenchwindowtoreturntothe
simulation.
BasicAnalysisSettings
TheANSYSMulti-fieldsimulationisatransientmechanicalanalysis,withatimestepof0.1sandatimedurationof5s.
1.SelectNewAnalysis>FlexibleDynamicfromthetoolbar.
2.SelectAnalysisSettingsfromthetreeviewandintheDetailsviewbelow,setAutoTimeSteppingtoOff.
3.SetTimeStepto0.1.
4.UnderTabularDataatthebottomrightofthewindow,setEndTimeto5.0fortheSteps=1setting.
InsertingLoads
LoadsareappliedtoanFEAanalysisastheequivalentofboundaryconditionsinANSYS
CFX.Inthissection,youwillsetafixedsupport,afluid-solidinterface,andapressureload.
FixedSupport
Thefixedsupportisrequiredtoholdthebottomofthethinplateinplace.
1.Right-clickFlexibleDynamicinthetreeandselectInsert>FixedSupportfromtheshortcutmenu.
2.RotatethegeometryusingtheRotate丄buttonsothatthebottom(low-y)faceofthesolidisvisible,thenselectFace卜】andclickthelow-yface.
Thatfaceshouldbehighlightedtoindicateselection.
3.EnsureFixedSupportisselectedintheOutlineview,then,intheDetailsview,selectGeometryandclick1FacetomaketheApplybuttonappear(ifnecessary).ClickApplytosetthefixedsupport.
Fluid-SolidInterface
ItisnecessarytodefinetheregioninthesolidthatdefinestheinterfacebetweenthefluidinCFXandthesolidinANSYS.Dataisexchangedacrossthisinterfaceduringtheexecutionofthesimulation.
1.Right-clickFlexibleDynamicinthetreeandselectInsert>FluidSolidInterfacefromtheshortcutmenu.
2.Usingthesameface-selectionproceduredescribedearlier,selectthethreefacesofthe
geometrythatformtheinterfacebetweenthesolidandthefluid(low-x,high-yandhigh-xfaces)byholdingdowntoselectmultiplefaces.Notethatthisloadisautomaticallygivenaninterfacenumberof1.
PressureLoad
Thepressureloadprovidestheinitialadditionalpressureof100[Pa]forthefirst0.5secondsofthesimulation.Itisdefinedusingastepfunction.
1.Right-clickFlexibleDynamicinthetreeandselectInsert>Pressurefromtheshortcutmenu.
2.Selectthelow-xfaceforGeometry.
3.IntheDetailsview,selectMagnitude,andusingthearrowthatappears,selectTabular(Time).
4.UnderTabularData,setapressureof100inthetablerowcorrespondingtoatimeof0.
Note:
Theunitsfortimeandpressureinthistablearetheglobalunitsof[s]and[Pa],respectively.
5.Younowneedtoaddtwonewrowstothetable.Thiscanbedonebytypingthenewtime
andpressuredataintotheemptyrowatthebottomofthetable,andSimulationwillautomaticallyre-orderthetableinorderoftimevalue.Enterapressureof100foratimevalueof0.499,andapressureof0foratimevalueof0.5.
TabularData
Steps
Time
FPe?
sur亡
1
1
0
100
2
1
0499
100
3
1
05
0.
4
1
0-
Thisgivesastepfunctionforpressurethatcanbeseeninthecharttotheleftofthetable.
WritingtheANSYSInputFile
TheSimulationsettingsarenowcomplete.AnANSYSMulti-fieldruncannotbelaunchedfromwithinSimulation,sotheSolvebuttonscannotbeusedtoobtainasolution.
1.Instead,highlightSolutioninthetree,selectTools>WriteANSYSInputFileandchoosetowritethesolutionsetuptothefileOscillatingPlate.inp.
2.Themeshisautomaticallygeneratedaspartofthisprocess.Ifyouwanttoexamineit,
selectMeshfromthetree.
3.SavetheSimulationdatabase,usethetabnearthetopoftheWorkbenchwindowtoreturntotheOscillatingPlate[Project]tab,andsavetheprojectitself.
4.SettinguptheFluidPhysicsandANSYSMulti-fieldSettingsinANSYSCFX-Pre
Thissectiondescribesthestep-by-stepdefinitionoftheflowphysicsandANSYSMulti-fieldsettingsinANSYSCFX-Pre.
PlayingaSessionFile
IfyouwanttoskippasttheseinstructionsandtohaveANSYSCFX-Presetupthesimulationautomatically,youcanselectSession>PlayTutorialfromthemenuinANSYSCFX-Pre,thenrunthesessionfile:
OscillatingPlate.pre.AfteryouhaveplayedthesessionfileasdescribedinearliertutorialsunderPlayingtheSessionFileandStartingANSYSCFX-SolverManager,proceedtoObtainingaSolutionusingANSYSCFX-SolverManager.
CreatingaNewSimulation
1.StartANSYSCFX-Pre.
2.SelectFile>NewSimulation.
3.SelectGeneralandclickOK.
4.SelectFile>SaveSimulationAs.
5.UnderFilename,typeOscillatingPlate.
6.ClickSave.
ImportingtheMesh
1.Right-clickMeshandselectImportMesh