S15-1PAT301,Section15,September2010Copyright2010MSC.SoftwareCorporation第15部分结果动画S15-2PAT301,Section15,September2010Copyright2010MSC.SoftwareCorporation结果动画可对结果进行模态和瞬态动画演示瞬态动画可关于任意全局变量,如时间,工况,或频率在动画演示的时候所有张贴的后处理结果都显示,但是只有激活动画的后处理结果才能在帧与帧之间变化动画播放时Animationcontrols自动显示S15-3PAT301,Section15,September2010Copyright2010MSC.SoftwareCorporation典型的动画结果Frame1Frame7Frame13Frame20S15-4PAT301,Section15,September2010Copyright2010MSC.SoftwareCorporationQUICKPLOT动画执行一个简单的模型动画,Action:Create,Object:QuickPlot选择云纹或矢量结果选择并按Apply来创建动画演示S15-5PAT301,Section15,September2010Copyright2010MSC.SoftwareCorporation动画设置步骤至此已讨论了如何建立并控制一个简单结果的QuickPlot动画AnimationOptions用来定义关于全局变量的动画程序(例如瞬态动画)和模态分析的细节部分AnimationOptionsButtonS15-6PAT301,Section15,September2010Copyright2010MSC.SoftwareCorporation动画选项菜单当创建了图形,在AnimationOptions面板中从下拉式菜单中选择AnimateMethod,例如GlobalVariable动画方法:GlobalVariable–关于某一全局变量的动画显示(只有选择多个ResultsCases,才可使用该方法)。Modal–将正弦函数(-1sine1)应用于结果值后动画显示Ramp–将结果值乘以0~1之间的系数后动画显示S15-7PAT301,Section15,September2010Copyright2010MSC.SoftwareCorporation动画控制一旦启动动画,可以暂停并更改动画属性AnimationSequence动画排序:Cycle:循环显示(frame1,2,…,max,1,2,…,maxetc.)Bounce:起始帧与终止帧之间”振荡”(frame1,2,…,max,max-1,etc.)动画暂停后,可一次前进一帧,并且起始和结束帧都可以改变NoGraphicsRefresh终止动画S15-8PAT301,Section15,September2010Copyright2010MSC.SoftwareCorporation建立非QUICKPLOT动画下面是建立动画的过程在选择结果的窗口中在动画选项菜单中1SelectasetofResultCase(s)andaresulttypeSelectAnimationOptionsbuttonSetActiontoCreateandObjecttothedesiredplottypeClickonAnimate423SelectthenumberofframesClickApply57SetAnimationMethodtoGlobalVariable86Selectglobalvariable,e.g.TimeS15-9PAT301,Section15,September2010Copyright2010MSC.SoftwareCorporation案例学习:瞬态响应的后处理●创建一个新的数据库●File/New…●Enterplatefornewdatabasename.●OK.●UnderNewModelPreferences,SelectDefaultTolerance.●SelectMSC.NastranforAnalysisCode.●SelectStructuralforAnalysisType.●OK.S15-10PAT301,Section15,September2010Copyright2010MSC.SoftwareCorporation●导入板模型和结果●SelecttheAnalysisApplicationsbutton.●SetAction/Object/MethodtoAccessResults/ReadOutput2/Both●ClickSelectResultsFile…●Selectplate_vibration.op2.●OK.●Apply.案例学习:瞬态响应的后处理S15-11PAT301,Section15,September2010Copyright2010MSC.SoftwareCorporation●改变视角和显示特性。●ClickthefollowingicontoswitchtoIso1View●Fitviewthedisplaybyclickingon案例学习:瞬态响应的后处理S15-12PAT301,Section15,September2010Copyright2010MSC.SoftwareCorporation●选择结果●SelecttheResultsApplicationsbutton.●SetAction/ObjecttoCreate/Deformation.●ClicktheSelectResultsbutton●ClicktheViewSubcasesandSelectSubcasesbutton●SelectGlobalVariableforFilterMethod.●SelectRangeforValues.●Enter0.0forMin.●Enter0.04forMax.●Filter.●Apply.●Close.ViewSubcasesSelectSubcases案例学习:瞬态响应的后处理S15-13PAT301,Section15,September2010Copyright2010MSC.SoftwareCorporation●完成变形动画显示的选择●SelectComponentforShowAs.●SelectZZ.●SelectAnimate.●DonotclickApplyyet.案例学习:瞬态响应的后处理S15-14PAT301,Section15,September2010Copyright2010MSC.SoftwareCorporation●定义目标元素–结果显示在选定的目标元素上●ClicktheTargetEntitiesButton●SelectCurrentViewportforTargetEntity.案例学习:瞬态响应的后处理S15-15PAT301,Section15,September2010Copyright2010MSC.SoftwareCorporation●设定变形颜色,线型,比例系数。●ClickontheDisplayAttributesbutton●UnderDeformed,selectthecolordesired.●SelectalinestyleforLineStyle.●Enter0.25forScaleFactor.案例学习:瞬态响应的后处理S15-16PAT301,Section15,September2010Copyright2010MSC.SoftwareCorporation●设置动画参数值●ClickontheAnimationOptionsicon●SelectGlobalVariableforAnimationMethod.●SelectTimeforSelectGlobalVariable.●Select3DforAnimationGraphics.●Enter20forNumberofFrames.●Apply.案例学习:瞬态响应的后处理S15-17PAT301,Section15,September2010Copyright2010MSC.SoftwareCorporationTime=0.00211secTime=0.0105secTime=0.0147secTime=0.0126sec案例学习:瞬态响应的后处理S15-18PAT301,Section15,September2010Copyright2010MSC.SoftwareCorporation●在动画控制里面把动画顺序设成Cycle.●改变动画的桢数●ClickStopAnimation.●Enter10forNumberofFrames.●Apply.●中止动画并且重新设置图像●ClickNoGraphicsRefresh.●Clickthefollowingicontoresetthegraphics案例学习:瞬态响应的后处理S15-19PAT301,Section15,September2010Copyright2010MSC.SoftwareCorporation●创建节点某个方向的位移相对于时间的XYplot曲线●SetAction/Object/MethodtoCreate/Graph/YvsX.●ClicktheSelectResultsbutton●SelectZComponentforQuantity.●SelectGlobalVariableforX.●SelectTimeforVariable.案例学习:瞬态响应的后处理S15-20PAT301,Section15,September2010Copyright2010MSC.SoftwareCorporation●创建节点某个方向的位移相对于时间的XYplot曲线(续).●ClickontheTargetEntitiesButton.●SelectNodesforTargetEntity●Selectanode(e.g.Node2)forSelectNodes.●Apply.案例学习:瞬态响应的后处理S15-21PAT301,Section15,September2010Copyright2010MSC.SoftwareCorporation●XYplot曲线如下所示●曲线图的外观可以用XYPlot修改案例学习:瞬态响应的后处理S15-22PAT301,Section15,September2010Copyright2010MSC.SoftwareCorporation练习通用机械:完成练习册中Workshop17“BoxBeamWithTransientLoad”航空航天:完成练习册中Workshop17“boxBeamWithTransientLoad”