《ANSYS原版流固耦合计算实例.pdf》由会员分享,可在线阅读,更多相关《ANSYS原版流固耦合计算实例.pdf(17页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、Oscillating Plate with Two-Way Fluid-Structure InteractionOscillating Plate with Two-Way Fluid-Structure InteractionANSYS-ChinaANSYS-ChinaIntroductionIntroductionThis tutorial includes:This tutorial includes:Features Overview of the Problem to SolveSetti ng up the Solid Physics in Simulatio n(ANSYS
2、Workbe nch)Setti ng up the Fluid Physics and ANSYS Multi-field Setti ngs in ANSYS CFX-Pre*Obta ining a Solution using ANSYS CFX-Solver Ma nager*Viewi ng Results in ANSYS CFX-PostIf this is the first tutorial you are working with,it is important to review the following topics beforebegi nning:Sett in
3、g the Worki ng Directory*Cha nging the Display ColorsUni ess you pla n on running a sessi on file,you should copy the sample files used in thistutorial from the in stallati on folder for your software(/examples/)to your work ingdirectory.This preve nts you from overwriti ng source files provided wit
4、h your in stallatio n.If you plan to use a sessi on file,please refer to Play ing a Sessi on File.Sample files refere need by this tutorial in clude:*Oscillati ngPlate.pre*Oscillati ngPlate.agdb*Oscillati ngPlate.gtm*Oscillati ngPlate.i np1.1.FeaturesFeaturesThis tutorial addresses the followi ng fe
5、atures of ANSYS CFX.ComponentComponentFeatureFeatureUser ModeANSYS CFX-PreSimulation TypeANSYS Multi-fieldDetailsDetailsGeneral ModeTransientComponentComponentFeatureFeatureFluid TypeDomain TypeTurbulence ModelHeat TransferGeneral FluidSingle DomainLaminarNoneMonitor PointsOutput ControlDetailsDetai
6、lsTransient Results FileWall:Mesh Motion=ANSYS MultiFieldBoundary DetailsWall:No SlipWall:AdiabaticTimestepTransientAnimationANSYS CFX-PostPlotsContourVectorIn this tutorial you will lear n about:*Moving meshFluid-solid in teract ion(in cludi ng modeli ng solid deformati on using ANSYS)Running an AN
7、SYS Multi-field(MFX)simulatio nPost-process ing two results files simulta neously.2.2.Overview of the Problem to SolveOverview of the Problem to SolveThis tutorial uses a simple oscillat ing plate example to dem on strate how to set up and run asimulation involving two-way Fluid-Structure Interactio
8、n,where the fluid physics is solved in ANSYSCFX and the solid physics is solved in the FEA package ANSYS.Coupling between the two solversis required throughout the soluti on to model the in teract ion betwee n fluid and solid as timeprogresses,and the framework for the coupli ng is provided by the A
9、NSYS Multi-field solver,usingthe MFX setup.The geometry con sists of a 2D closed cavity.A thin plate is an chored to the bottom of thecavity as show n below:An in itial pressure of 100 Pa is applied to one side of the thin plate for 0.5 sec onds in order todistort it.Once this pressure is released,t
10、he plate oscillates backwards and forwards as it attemptsto regain its equilibrium(vertical)position.The surrounding fluid damps the oscillations,whichtherefore have an amplitude that decreases in time.The CFX Solver calculates how the fluid responds to the moti on of the plate,and the ANSYS Solver
11、calculates how the plate deforms as a resultof both the in itial applied pressure and the pressure result ing from the prese nee of the fluid.Coupling betwee n the two solvers is required si nee the solid deformati on affects the fluid soluti on,andthe fluid solution affects the solid deformation.Th
12、e tutorial describes the setup and execution of the calculation including the setup of the solidphysics in Simulati on(withi n ANSYS Workbe nch)and the setup of the fluid physics andANSYS Multi-field sett ings in ANSYS CFX-Pre.If you do n ot have ANSYS Workbe nch,the n youcan use the provided ANSYS
13、in put file to avoid the n eed for Simulatio n.3.3.Setting up the Solid Physics in Simulation(ANSYS Workbench)Setting up the Solid Physics in Simulation(ANSYS Workbench)This secti on describes the step-by-step defi niti on of the solid physics in Simulati on with inANSYS Workbe nch that will result
14、in the creation of an ANSYS in put file Oscillati ngPlate.i np.If youprefer,you can in stead use the provided Oscillati ngPlate.i np file and continue from Sett ing up theFluid Physics and ANSYS Multi-field Setti ngs in ANSYS CFX-Pre.CreatingCreating a New Simulatio n1.If required,lau nch ANSYS Work
15、be nch.2.Click Empty ProjectEmpty Project.The ProjectProject page appears displaying an unsaved project.3.Select FileFile SaveSave or click Save butt on.4.If required,set the path location to a different folder.The default location is your workingdirectory.However,if you have a specific folder that
16、you want to use to store files createdduring this tutorial,change the path.5.Un der File nameFile name,type Oscillat in gPlate.6.Click Save.Save.7.Under Link to Geometry FileLink to Geometry File on the left hand task bar click Browse.Browse.Select the provided fileOscillatingPlate.agdb and click Op
17、enOpen.8.Make sure that OscillatingPlate.agdb is highlighted and clickNew simulationNew simulation from the left-hand taskbar.Creati ng the Solid Material1.When Simulatio n ope ns,expa nd Geometry in the project tree at the left hand side of theSimulatio n win dow.2.Select Solid,and in the DetailsDe
18、tails view below,select MaterialMaterial.3.Use the arrow that appears next to the material name Structural Steel to select NewNewMaterialMaterial.4.When the Engineering DataEngineering Data window ope ns,right-click New Material from the tree viewand ren ame it to Plate.OE ngrieiiig D-al-s-OE ngriei
19、iig D-al-s-X XOlCdfatiingFLHrOlCdfatiingFLHr_j|_j|2|2|4 PlMft4 PlMft%ShudijMl%ShudijMl 咅 WW浒 P 窃-占占ClgtLH HClgtLH HAH-5*np-5*np(n?dn?d 二 j jL LOAd HrftC#Mh&IOOAd HrftC#Mh&IO1E leot r mnanEliLE leot r mnanEliLPxopEPxopE 冲1 Iwmai1 Iwmai匚匚Cl WAn-TLCl WAn-TLLiLi专专RCilM HiMi!RCilM HiMi!Add-Aemove iPiaper
20、iieAdd-Aemove iPiaperiieRiRiFemeFemeFlFl 任耐任耐Q OlhtH mQ OlhtH m卫丄.15.Enter 2.5e06 for Youngs ModulusYoungs Modulus,0.35 for Poissons RatioPoissons Ratio and 2550 for DensityDensity.Note that the other properties are not used for this simulati on,and that the un its for thesevalues are implied by the
21、 global un its in Simulati on.6.Click the SimulationSimulation tab near the top of the Workbench window to return to the simulatio n.Basic An alysis Sett ingsThe ANSYS Multi-field simulation is a transient mechanical analysis,with a timestep of 0.1 s anda time duration of 5 s.1.Select New AnalysisNe
22、w Analysis Flexible DynamicFlexible Dynamic from the toolbar.2.2.Select An alysis Setti ngs from the tree view and in the DetailsDetails view below,set Auto TimeAuto TimeSteppingStepping to Off.3.3.Set Time StepTime Step to 0.1.4.4.Under Tabular DataTabular Data at the bottom right of the window,set
23、 End TimeEnd Time to 5.0 for the StepsSteps=1 sett in g.Inserting LoadsInserting LoadsLoads are applied to an FEA an alysis as the equivale nt of boun dary con diti ons in ANSYSCFX.In this sect ion,you will set a fixed support,a fluid-solid in terface,and a pressure load.FixedFixed SupportThe fixed
24、support is required to hold the bottom of the thin plate in place.1.Right-click Flexible Dynamic in the tree and select InsertInsert Fixed SupportFixed Support from the shortcutmenu.2.Rotate the geometry using the Rotatebutt on so that the bottom(low-y)face of thesolid is visible,then select Face囲an
25、d click the low-y face.That face should be highlighted to in dicate selecti on.3.Ensure Fixed SupportFixed Support is selected in the OutlineOutline view,then,in the DetailsDetails view,selectGeometryGeometry and click 1 Face to make the ApplyApply butt on appear(if n ecessary).Click ApplyApply tose
26、t the fixed support.Fluid-Solid InterfaceFluid-Solid InterfaceIt is n ecessary to defi ne the regi on in the solid that defi nes the in terface betwee n the fluid inCFX and the solid in ANSYS.Data is excha nged across this in terface duri ng the executi on of thesimulatio n.1.Right-click Flexible Dy
27、namic in the tree and selectthe shortcut menu.2.Using the same face-selection procedure described earlier,select the three faces of thegeometry that form the in terface betwee n the solid and the fluid(low-x,high-y and high-xfaces)by holding down to select multiple faces.Note that this load is autom
28、aticallygive n an in terface nu mber of 1.Pressure LoadLoadThe pressure load provides the in itial additi onal pressure of 100 Pa for the first 0.5 sec onds ofthe simulati on.It is defi ned using a step function.1.Right-click Flexible Dyn amic in the tree and select InsertInsert PressurePressure fro
29、m the shortcutInsertInsert Fluid Solid InterfaceFluid Solid Interface frommenu.2.Select the low-x face for GeometryGeometry.3.In the DetailsDetails view,select MagnitudeMagnitude,and using the arrow that appears,select TabularTabular(Time)(Time).4.Under Tabular DataTabular Data,set a pressure of 100
30、 in the table row corresponding to a time of 0.Note:Note:The units for time and pressure in this table are the global units ofsandPa,respectively.5.You now n eed to add two new rows to the table.This can be done by typi ng the new timeand pressure data into the empty row at the bottom of the table,a
31、nd Simulation willautomatically re-order the table in order of time value.Enter a pressure of 100 for a timevalue of 0.499,and a pressure of 0 for a time value of 0.5.i Tabular Datai Tabular DataStepsStepsTimeTime阳FreeFree:JIJ11 121 13 3 1 14 4 1 10 0049904990.50.55 5rere|100 J100 J1001000.0.0.0.Thi
32、s gives a step function for pressure that can be see n in the chart to the left of the table.Writi ng the ANSYS In put FileThe Simulation settings are now complete.An ANSYS Multi-field run cannot be launched fromwith in Simulati on,so the SolveSolve butt ons cannot be used to obta in a soluti on.1.I
33、n stead,highlight Solution in the tree,selectToolsTools Write ANSYS Input FileWrite ANSYS Input File and choose towrite the solution setup to the file OscillatingPlate.inp.2.The mesh is automatically gen erated as part of this process.If you want to exam ine it,selectMesh from the tree.3.Save the Si
34、mulation database,use the tab near the top of the Workbench window to return tothe Oscillating Plate ProjectOscillating Plate Project tab,and save the project itself.4.Setting up the Fluid Physics and ANSYS Multi-field Settings in ANSYS CFX-PreSetting up the Fluid Physics and ANSYS Multi-field Setti
35、ngs in ANSYS CFX-PreThis section describes the step-by-step definition of the flow physics and ANSYS Multi-fieldsettings in ANSYS CFX-Pre.Playing a Session FileIf you want to skip past these instructions and to have ANSYS CFX-Pre set up the simulationautomatically,you can select SessionSession Play
36、TutorialPlay Tutorial from the menu in ANSYS CFX-Pre,then runthe session file:OscillatingPlate.pre.After you have played the session file as described in earliertutorials under Playing the Session File and Starting ANSYS CFX-Solver Manager,proceed toObtaining a Solution using ANSYS CFX-Solver Manage
37、r.Creating a New Simulation1.Start ANSYS CFX-Pre.2.Select FileFile New SimulationNew Simulation.3.Select GeneralGeneral and click OKOK.4.Select FileFile Save Simulation AsSave Simulation As.5.Under File nameFile name,type OscillatingPlate.6.Click SaveSave.Importing the Mesh1.Right-click Mesh and sel
38、ect Import MeshImport Mesh.2.Select the provided mesh file,OscillatingPlate.gtm and click OpenOpen.NoteNote:The file that was just created in Simulation,OscillatingPlate.inp,will be used as aninput file for the ANSYS Solver.Setting the Simulation TypeA transient ANSYS Multi-field run executes as a s
39、eries of timesteps.TheSimulation TypeSimulation Typetab is used both to enable an ANSYS Multi-field run and to specify the time-related settings for it(inthe External Solver CouplingExternal Solver Coupling settings).The ANSYS input file is read by ANSYS CFX-Pre so that itknows which Fluid Solid Int
40、erfaces are available.Once the timesteps and time duration are specified for the ANSYS Multi-field run(coupling run),ANSYS CFX automatically picks up these settings and it is not possible to set the timestep and timeduration independently.Hence the only option available for Time DurationTime Duratio
41、n is Coupling TimeDuration,and similarly for the related settings Time Step and Initial Time.1.Click Simulation Type2.Apply the follow ing sett ingsTabTabSettingSettingExternal Solver Coupling OptionValueValueANSYS MultiFieldOscillatingPlate.inpExternal Solver Coupling ANSYS Input FileaCoupling Time
42、 Control Coupling Time Duration TotalTimeBasicSettingsCoupling Time Control Coupling Time Steps OptionCoupling Time Control Coupling Time Steps TimestepsSimulation Type OptionSimulation Type Time Duration OptionSimulation Type Time Steps OptionSimulation Type Initial Time Option5 sTimesteps0.1 sTran
43、sientCoupling Time DurationCoupling Time StepsCoupling Initial Time呵This file is located in your working directory.3.Click OKOK.NoteNote:You may see a physics validation message related to the differenee in the units used inANSYS CFX-Pre and the units con tai ned withi n the ANSYS in put file.While
44、it is importa nt toreview the units used in any simulation,you should be aware that,in this specific case,the messageis not crucial as it is related to temperature un its and there is no heat tran sfer in this case.Therefore,this specific tutorial will not be affected by the physics message.Creat in
45、g the FluidA custom fluid is created with user-specified properties.1.Click Material因.2.Set the n ame of the new material to Fluid.3.Apply the follow ing sett ingsTabTabOptionBasic SettingsThermodynamic StateThermodynamic State Thermodynamic StateSettingSettingValueValuePure Substance(Selected)Liqui
46、d1 kg kmolA-1Material PropertiesEquation of State Molar MassTabTabSettingSettingEquation of State DensityTransport Properties Dynamic ViscosityTransport Properties Dynamic Viscosity DynamicViscosityValueValue1 kg mA-3(Selected)0.2 Pa s4.Click OKOK.Creat ing the Doma inIn order to allow the ANSYS Sol
47、ver to com muni cate mesh displaceme nts to the CFX Solver,mesh moti on must be activated in CFX.1.Right click Simulation in theOutlineOutline tree view and ensure thatAutomatic Default DomainAutomatic Default Domainisselected.A domain named Default Domain should now appear under the Simulati on bra
48、n ch.2.Double click Default Doma in and apply the followi ng sett ingsTabTabFluids ListSettingSettingFluidValueValueGeneral Options Domain Models Pressure Reference Pressure 1 atmDomain Models Mesh Deformation OptionHeat Transfer OptionFluid ModelsTurbulence OptionRegions of Motion SpecifiedNoneNone
49、(Laminar)3.Click OKOK.Creati ng the Boun dary Con diti onsIn addition to the symmetry conditions,another type of boundary condition corresponding withthe in teract ion betwee n the solid and the fluid is required in this tutorial.Fluid Solid Exter nal Boun daryThe in terface betwee n ANSYS and CFX i
50、s defi ned as an exter nal boun dary in CFX that hasits mesh displacement being defined by the ANSYS Multi-field coupling process.When an ANSYS Multi-field specification is being made in ANSYS CFX-Pre,it is necessary toprovide the name and number of the matching Fluid Solid InterfaceFluid Solid Inte