ANSYS的多场耦合技术黄志新博士安世亚太技术经理©2008PERAGlobal耦合理论及算法耦合类型耦合算法ANSYS多场耦合技术ANSYS流固耦合解决方案求解环境计算流程摘要©2008PERAGlobalStructuralFluidThermalElectrostaticElectricalMagneticElectro-magnetic•位移场–位移、应力、应变–结构分析•温度场–温度、焓–热传递分析•流场–速度/压力/温度/密度–计算流体动力学•电磁场–电磁势、电场、磁场–电磁分析:低频、高频耦合场WhatisMultiphysics?WhatisMultiphysics?©2008PERAGlobal场间的信息传递工程实际流固耦合共扼传热磁流体电磁发热…©2008PERAGlobal耦合场分析?耦合场分析是对一个综合的工程问题就其涉及到的各个学科进行联合仿真,考虑各个学科之间的相互影响及耦合程度。当一个物理场的输入量要依靠于另一个物理场的计算结果,此时就属于耦合分析。FluidDynamicsHydrodynamicsTurbulenceSolidMechanicsEquilibriumForcesDisplacement©2008PERAGlobal耦合类型单向耦合WheninputforonephysicsdependsonresultsofotherphysicsandNOTviseversaCouplingbecomesanunidirectionalprocesswithnoneedtoiteratebetweenthetwophysicssolutionswhenusingweekcouplingmethod双向耦合WheninputforonephysicsdependsonresultsofotherphysicsandviseversaCouplingrequiresiterationsbetweenthetwophysicsforconvergencewhenusingweekcouplingmethodStructuralThermalFluidStructure©2008PERAGlobal多场耦合的软件实现9MFS:Multi-Fieldsolver-Singlecodecoupling9MFX:Multi-Fieldsolver-Multiplecodecoupling9MPCCI:Mesh-basedParallelCodeCouplingInterface©2008PERAGlobalMFX执行流程ANSYSMasterCFXSlaveDomappingTimeloopStaggerloopSolveEndStaggerloopEndTimeloopTimeloopStaggerloopSolveEndStaggerloopEndTimeloopStaggercontrolsStaggercontrolsLoadstransfersLoadstransfersLoadstransfersLoadstransfersConvergenceConvergenceTimeconvergenceTimeconvergenceCodeinfoCodeinfoGlobalcontrolsGlobalcontrolsInterfacemeshesInterfacemeshesTimecontrolsTimecontrolsEndEndBeginBeginANSYSasMASTERcodedoesthemapping,loadsinterpolations,andallsolutionscontrols(timeloop;staggerloop,convergencecheck,etc.)SOCKETSP1SP2SP3SP4SP5©2008PERAGlobalFSIOptionsinWorkbench单向的流固耦合可以从CFD软件传递数据给结构计算软件MechanicalFLUENT和CFX在Workbench中均可以实现不需要外部的软件和脚本语言几何模型共享,CFD数据自动传递双向的流固耦合数据在流体系统和结构系统自动传递在Workbench中CFX可以实现•不需要外部的软件和脚本语言在Workbench中FLUENT需要通过脚本语言(Jscript)•需要脚本语言(Jscript)和UDF方法©2008PERAGlobal载荷传递的方法和类型在Workbench中的默认方法是通过CFD-Post来进行各种数据传递支持热和结构的载荷传递,但只支持面载荷•温度•对流传热系数•压力Beta功能可以实现体载荷的传递传统的FLUENTmapping方法可以通过命令行在Mechanical中实现FLUENT会在后台执行journal文件支持面载荷和体载荷的热和结构的载荷•温度•对流传热系数•热流•压力•力©2008PERAGlobalWorkbench的完整流程ProjectSchematic©2008PERAGlobalCHTMeshWorkbench的完整流程CFDCHTSolutionGeometryThermalLoadsPressureLoadsThermalStressSolution©2008PERAGlobalWorkbench系统的关联Workbench支持两种链接方式共享数据•当输入输出是一致的时候使用•只有在同一类型之间生成传递数据•当一个输出是另外一个输入的时候使用•只有在不同类型之间生成在流固耦合中这两种链接是特别普遍的©2008PERAGlobalWorkbench系统的关联SharedDataConnectionTransferDataConnection©2008PERAGlobalConnectingAnalysisSystemsforFSI(1)HighlightdesiredANSYSAnalysisSysteminToolboxanddragontopofSolutioncell(A5)inFLUENTFluidFlowsystemRedoutlinesshowcellsthatwillShareandTransferdatawithnewsystemConnectionsareautomaticallycreatedbetweenbothsystemswhendropiscompleteDragDrop©2008PERAGlobalConnectingAnalysisSystemsforFSI(2)Right-clickonSolutioncellinFLUENTFluidFlowsystemSelectTransferDataToNewfrompop-upmenuThenselectthetargetsystemtotransferdatatofromsecondpop-upmenuConnectionsarethenautomaticallycreatedbetweenbothsystems©2008PERAGlobalUsingCustomSystemsThedefaultcustomsystemforFSIinCustomsSystemsToolboxisFLUENT+StaticStructuralThisallowspressureloadstobetransferredfromFLUENTtoMechanicalAnyprojectschematiccanbesaved/addedtoCustomSystemstoolboxToaddanewFSIworkflowtoCustomSystems,right-clickonschematicwhitespaceandselectAddCustomfromdisplayedpop-upmenuWorkbenchwillpromptuserforacustomtemplatenametosave=©2008PERAGlobalMaterialPropertiesFLUENTmaterialpropertiesarespecifiedinFLUENTSetupMechanicalmaterialpropertiesarespecifiedinEngineeringDataImportantconsiderationwhensolvingforsolidtemperatureinMechanical©2008PERAGlobalScopingMethodsinMechanicalTherearetwoScopingMethodsforImportedLoadsinMechanicalGeometrySelection:UserspecificsfacesonsolidgeometrytotransferCFDloadsNamedSelection:UsersspecifiesexistingnamedselectionstotransferCFDloadsAllsurfacenamesinFLUENTcasefilewillbeexposedviadrop-downlistinMechanicalCFDSurfaceListScopingMethodList©2008PERAGlobalTransientTankSloshingt=1.25e-2st=3.75e-2st=7.5e-2s©2008PERAGlobalThermalStressWorkflowsWorkflow1:ThermalDataOnlyTransferredtoMechanicalWorkflow2:ThermalandPressureDataTransferredtoMechanical©2008PERAGlobalThermalStressApproachesSolveCFDconjugateheattransfer(CHT)analysisforcombinedfluidandsolidTransfertemperaturesandpressuresfromCHTanalysisasloadsinstresssimulation(i.e.onetimetransfer)CanbedoneusingintegratedWBapproachorFLUENTmappingpanels©2008PERAGlobalAutomotiveManifoldFullconjugateheattransfersolutioninFLUENTCastironsolidmaterialpropertiesFreestreamexternalconvectionFLUENTMeshANSYSMeshThermalStressApproaches©2008PERAGlobalThermalandStructuralLoadsSolidTemperature(FLUENT)SolidTemperature(ANSYS)SurfacePressure(FLUENT)SurfacePressure(ANSYS)©2008PERAGlobalANSYSStressSolutionEquivalentStressTotalDeformationSolutionMetrics:5minutestoprocessallloadsandsolveANSYSstressproblem©2008PERAGlobalFSI求解过程及文件传输WB/DM流固耦合问题结构域流体域=+WB/DS.agdbWB/DMWB/Mesh.agdb材料,分网,加载,流固交接面.inpICEMCFD流体域计算网格:面/体网格CFX/Pre.gtm读入流体网格分析类型:ANSYSMultiField指定结构域文件流体域定义:边界,载荷,求解控制,输出控制等等