2022年patran优化算例 .pdf
WORKSHOP PROBLEM 5Shape Optimization of a Fly WheelMSC/CONSTRUCT Exercise Workbook5-1ObjectivessCreate the FE-modelsModify the input file for the optimizationsCreate the parameter file for the optimizationsResults options名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 1 页,共 20 页 - - - - - - - - - 5-2MSC/CONSTRUCT Exercise Workbook名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 2 页,共 20 页 - - - - - - - - - Workshop 5Shape optimization of a fly wheelMSC/CONSTRUCT Exercise Workbook5-3Model Description:The goal of this exercise is to find the optimized shape for a hole of a flywheel subject to an unbalanced load on the circumference which issimulated by sinusoidal distributed load according to Figure 5.2.Figure 5.1 below shows the geometry and boundary conditions of the flywheel.Figure 5.1 Geometry and boundary conditions of the fly wheelYoungs Modulus:2.1 *105 N/mm2Poisson Ration: 0.3Outer Radius: 70mmInner Radius: 15mmDiameter of holes: 24mmThicknes:10mmLoading:see Figure 5.2xyR=15R=45R=70名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 3 页,共 20 页 - - - - - - - - - 5-4MSC/CONSTRUCT Exercise WorkbookFigure 5.2 Distribution of the unbalance名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 4 页,共 20 页 - - - - - - - - - Workshop 5Shape optimization of a fly wheelMSC/CONSTRUCT Exercise Workbook5-5Suggested Exercise Steps:1. sPreprocessingsCreate a new databasesCreate the GeometrysCreate the FE-ModelsSet the properties of the platesDefine the MaterialsDefine the Element PropertiessAssign the load and boundary conditionssGenerate the Input File2. sCreate the parameter file for the optimization- with and without restrictions3. sStart the optimization4. sPostprocessing名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 5 页,共 20 页 - - - - - - - - - 5-6MSC/CONSTRUCT Exercise Workbook名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 6 页,共 20 页 - - - - - - - - - Workshop 5Shape optimization of a fly wheelMSC/CONSTRUCT Exercise Workbook5-7Exercise Procedure:1. Prepare the FE-Model with MSC/PATRAN1.1 Create a new database named fly_wheel.db .In the New Model Preference form set:1.2 Create the geometryAt first you have to create new cylindrical coordinate systems.File/New DatabaseNew Database Name:fly_wheel.dbOKTolerancex DefaultAnalysis Code:MSC/NASTRANOKx GeometryAction: CreateObject: CoordMethod: 3 PointType:CylindricalRefer. Coord. System:0Origin: 0, 0, 0Point on Axis 3: 0, 0, 1Point on Plane 1-3: 1, 0, 0Apply名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 7 页,共 20 页 - - - - - - - - - 5-8MSC/CONSTRUCT Exercise WorkbookFor the generation of the holes create three additional coordinate systemsreferencing Coordinate System 1.Origin: 45, 30, 0 45, 90, 0 45, 150, 0Point on Axis 3: 45, 30, 1 45, 90, 1 45, 150, 1Point on Plane 1-3: 46, 30, 0 46, 90, 0 46, 150, 0Create the inner semicircleRepeat this operation for the outer semicircleCreate the holesx GeometryAction: CreateObject: CurveMethod: 2DArcAnglesRadius:15Start Angle:0End Angle:180Construction Plane List:Coord 1.3Center Point List: 0, 0, 0Applyx GeometryAction: CreateObject: CurveMethod: 2DCirclex Circle RadiusInput Radius:12Construction Plane List:Coord 2.3Origin Coordinates List 0, 0, 0Apply名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 8 页,共 20 页 - - - - - - - - - Workshop 5Shape optimization of a fly wheelMSC/CONSTRUCT Exercise Workbook5-9Repeat this action and create holes around the Coord 3.3 and Coord 4.3in the Construction List.Change the Method to Point and create two curves from point 1 to 3 andfrom Point 2 to 4.Create on this 4 curves a chainNow you can create a surface of the inner and the outer loop.1.3Create the finite element model and mesh the surface.x GeometryAction: CreateObject: CurveMethod: ChainCurve List:Curve 1 6 2 7Applyx GeometryAction: CreateObject: SurfaceMethod: TrimmedOption:PlanarOuter Loop List:Curve 8Inner Loop List:Curve 3 4 5Applyx Finite ElementsAction: Create Object: MeshType: Surface名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 9 页,共 20 页 - - - - - - - - - 5-10MSC/CONSTRUCT Exercise WorkbookFigure 5.2 FE-Model of the fly wheelReference the nodes of the holes to the actual coordinate systems.Global Edge Length:3x PaverNode Coordinate FrameAnalysis Coord. FrameCoord 1Surface List:Surface 1Applyx Finite ElementsAction: ModifyObject: NodeType: Editu Analysis Coord. FrameAnalysis Coord. FrameCoord 2Node List:Node 127:152Apply名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 10 页,共 20 页 - - - - - - - - - Workshop 5Shape optimization of a fly wheelMSC/CONSTRUCT Exercise Workbook5-11Repeat this action for the two other holes and referencing Node 153-178to Coord. Frame3 and Node 179-204 to Coord. Frame 41.4Create a set of material properties for the plate.Define the material and properties for this fly wheel like in workshopexample 1.1.5 Define the boundary conditions.Constraints:Constraint the nodes at the lower edge in y-direction and the nodes at theinner arc in x- and y- direction based on the coordinate system 1.Unbalance:Create a field in order to define the load.Create the load with the field as the Translation force and CoordinateSystem 1 as Analysis Coordinate Frame.x FieldAction: Create Object:SpatialType: PCL-FunctionField NameunbalanceField Typex VectorCoordinate System:Coord 1Vector FunctionFirst Component:100+(10*SINR( T)*2Second Component:0Third Component:0Apply名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 11 页,共 20 页 - - - - - - - - - 5-12MSC/CONSTRUCT Exercise WorkbookFigure 5.3 Boundary conditions1.6Create a MSC/NASTRAN input file fly_wheel.bdf and exit your MSC/PATRAN session ( see workshop example1 page1-11)If Patran is not used to create the input file then it have to modify howdescribed in workshop example1, page 1-12.2. Create the parameter file for the shape optimization2.1 Unrestricted shape optimization of the three holes2.1.1 Start the MSC/CONSTRUCT Interface in MSC/PATRAN. MSC/CONSTRUCTAction: CreateObject: Parameter FileMethod: ShapeParameter File Name: flw_v1Input Parameter.名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 12 页,共 20 页 - - - - - - - - - Workshop 5Shape optimization of a fly wheelMSC/CONSTRUCT Exercise Workbook5-131.3.2 Create the Data Input SectionFor the shape optimzation the boundary nodes must be selected andmarked. Further the element quality should be checked when themodel is loaded.Load the FE-Model data (nodes and elements) for the optimization1.3.3.Create the Object Definition SectionInclude the nodes of the notch in the optimization group.Read Options? Select and mark surface nodesx On? Check Elm Qual after Inputx OnCreateSelect Input FileSelect Input FileInput Files:flw.bdfOKCreateGroupsGroup Name:Design_NodesType:NodeApplication Region:Node 127:204:1AddCreate名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 13 页,共 20 页 - - - - - - - - - 5-14MSC/CONSTRUCT Exercise Workbook1.3.4.Create the Optimization SectionSpecify the formula for the stress calculation - Stress hypothesis: von MiseshypothesisDefine the objective function - Objective function is the relative volumeSpecify the optimization type and assign the design variables, an objectivefunction and the stress hypothesis. Highlight the names in the boxes.- Specify the maximum number of iteration cyclesLoad CalculationLoad Calc Name:LOAD_CALC_1Type:HypoComponent:MisesCreateObjective FunctionObjective Name:OBJ_FUNC_1Type:StressVariable:NoneValue:3CreateOptimizationExisting Groups:Design_NodessExisting Load Calc:LOAD_CALC_1Existing Objective:OBJ_FUNC_1CreateTermination CriteriaType:Maximum IterationNumber of Iteration:10Create名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 14 页,共 20 页 - - - - - - - - - Workshop 5Shape optimization of a fly wheelMSC/CONSTRUCT Exercise Workbook5-151.3.5 Create the Output SectionCreate the parameter file flw_v1.par carry out the shape optimization and checkthe results with Figure 5.6 and Figure 5.7.Figure 5.5 Parameter file for the optimization fly_wheel.par! INPUT FILE FOR SHAPE OPTIMIZATION! MODEL :flw_v1! AUTHOR :training! DATE :08-Dec-97 17:19:18! LAST CHANGE :! REMARKS :! DESCRIPTION :! - - - - -DATA INPUT SECTIONREAD_OPTION, ELEM_QUALITY, ON READ_OPTION, SF_IDENT,ON READ, flw1.bdf!- - - - - -OBJECT DEFINITION SECTIONSELECT, NODE, S, NODE , 127 , 204 , 1GROUP, NODE, Design_Nodes! - - - - -OPTIMIZATION SECTIONLOAD_CALC, USR_LOAD_CALC, HYPO, MISESOBJ_FUNC, USR_OBJ_FUNC, STRESS, 3.0, FIXOPTIMIZE, SHAPE, DESIGN_NODES , USR_OBJ_FUNC, USR_LOAD_CALCSTOP, ITER_MAX, 10! - - - - -OUTPUT SECTIONinclude uf_shape_pat.macSAVE EXITOutput RequestPredefined Macros:uf_shape_pat.macCreate名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 15 页,共 20 页 - - - - - - - - - 5-16MSC/CONSTRUCT Exercise WorkbookFigure 5.6 Stresses before optimizationFigure 5.7 Stresses after the 9th iteration名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 16 页,共 20 页 - - - - - - - - - Workshop 5Shape optimization of a fly wheelMSC/CONSTRUCT Exercise Workbook5-173.2Restricted shape optimizationIn this case the holes must stay circular. For creation of the parameter fileuse flw_v1.par define the three hole as separately node groups and couplethe nodes of the holes in the optimzation section.3.2.1Modify the Object Definition SectionDefine the node groups Right_Hole, Middle_Hole, Left_Hole with thesingle holes. The node group Design_Nodes should stay.Repeat these action and define the node group Middle_Hole whichincludes the node 153-178 and the node group Left_Hole with the nodes179-204.3.2.2 Modify the Optimzation SectionGroupsGroup Name:Right_HoleType:NodeApplication Region:Node 127:152:1AddCreateShape RestrictionsType:CouplingExisting Node Group:Right_HoleCoup Name:coup_rh? Coordinate FrameExisting Coordinate Frame:2? Define OptionOption:CRIT_1Create名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 17 页,共 20 页 - - - - - - - - - 5-18MSC/CONSTRUCT Exercise WorkbookRepeat these option and define the Coupling of the Node GroupMiddle_Hole referenced to the coordinate system 3 and of the NodeGroup Left_Hole based on the coordinate system 4.End the MSC/CONSTRUCT Interface and save the parameter file toflw_v2.par . Start the shape optimzation and check the result withFigure 5.9 and compare these results with the optimzation withourestrictions (Figure 5.7)Figure 5.8 Parameter file flw_v2.par! INPUT FILE FOR SHAPE OPTIMIZATION! MODEL :two_load_2! AUTHOR :training! DATE :08-Jan-98 16:51:18! LAST CHANGE :! REMARKS :! DESCRIPTION :! - - - - -DATA INPUT SECTIONREAD_OPTION, ELEM_QUALITY, ONREAD_OPTION, SF_IDENT, ONREAD, flw1.bdf! - - - - - OBJECT DEFINITION SECTIONSELECT, NODE, S, NODE , 127 , 152 , 1GROUP, NODE, Right_HoleSELECT, NODE, S, NODE , 153 , 178 , 1GROUP, NODE, Middle_HoleSELECT, NODE, S, NODE , 179 , 204 , 1GROUP, NODE, Left_HoleSELECT, NODE, S, NODE , 127 , 204, 1GROUP_DEF, NODE, DESIGN_NODES ! - - - -OPTIMIZA TION SECTIONLOAD_CALC, USR_LOAD_CALC, HYPO, MISESOBJ_FUNC, USR_OBJ_FUNC, STRESS, 3, FIXOPTIMIZE, SHAPE, DESIGN_NODES , USR_OBJ_FUNC, USR_LOAD_CALCCOUP_DEF, coup_rh, TYPE, SYNCHRON, CRIT_1COUP_DEF, coup_rh, OPTION, CS_TRANS, 2COUP_DEF, coup_mh, TYPE, SYNCHRON, CRIT_1COUP_DEF, coup_mh, OPTION, CS_TRANS, 3COUP_DEF, coup_lh, TYPE, SYNCHRON, CRIT_1COUP_DEF, coup_lh, OPTION, CS_TRANS, 4REST_SHAPE, Right_Hole, COUP, coup_rhREST_SHAPE, Middle_Hole, COUP, coup_mhREST_SHAPE, Left_Hole, COUP, coup_lhSTOP, ITER_MAX, 10! - - - - -OUTPUT SECTIONINCLUDE, uf_shape_pat.macSAVE EXIT名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 18 页,共 20 页 - - - - - - - - - Workshop 5Shape optimization of a fly wheelMSC/CONSTRUCT Exercise Workbook5-19Figure 5.9 Stresses after the 9th iteration名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 19 页,共 20 页 - - - - - - - - - 5-20MSC/CONSTRUCT Exercise Workbook名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 20 页,共 20 页 - - - - - - - - -