利用拉格朗日方程推导出在水平面上受不稳定约束弹簧振子运动的动力学方程,运用Matlab软件对动力学方程进行数值求解,并通过Matlab图形用户界面(Graphical User Interface,GUI)对不同条件下弹簧振子运动进行仿真,绘制了弹簧振子坐标随...利用拉格朗日方程推导出在水平面上受不稳定约束弹簧振子运动的动力学方程,运用Matlab软件对动力学方程进行数值求解,并通过Matlab图形用户界面(Graphical User Interface,GUI)对不同条件下弹簧振子运动进行仿真,绘制了弹簧振子坐标随时间变化的演化曲线、相图以及运动轨迹,得到了更为直观的弹簧振子运动规律。结果表明,弹簧振子运动与弹簧一端的运动速度大小和初始角度有关;在一定条件下,弹簧振子作准周期运动。展开更多
The primary goal of cloth simulation is to express object behavior in a realistic manner and achieve real-time performance by following the fundamental concept of physic.In general,the mass–spring system is applied t...The primary goal of cloth simulation is to express object behavior in a realistic manner and achieve real-time performance by following the fundamental concept of physic.In general,the mass–spring system is applied to real-time cloth simulation with three types of springs.However,hard spring cloth simulation using the mass–spring system requires a small integration time-step in order to use a large stiffness coefficient.Furthermore,to obtain stable behavior,constraint enforcement is used instead of maintenance of the force of each spring.Constraint force computation involves a large sparse linear solving operation.Due to the large computation,we implement a cloth simulation using adaptive constraint activation and deactivation techniques that involve the mass-spring system and constraint enforcement method to prevent excessive elongation of cloth.At the same time,when the length of the spring is stretched or compressed over a defined threshold,adaptive constraint activation and deactivation method deactivates the spring and generate the implicit constraint.Traditional method that uses a serial process of the Central Processing Unit(CPU)to solve the system in every frame cannot handle the complex structure of cloth model in real-time.Our simulation utilizes the Graphic Processing Unit(GPU)parallel processing with compute shader in OpenGL Shading Language(GLSL)to solve the system effectively.In this paper,we design and implement parallel method for cloth simulation,and experiment on the performance and behavior comparison of the mass-spring system,constraint enforcement,and adaptive constraint activation and deactivation techniques the using GPU-based parallel method.展开更多
文摘利用拉格朗日方程推导出在水平面上受不稳定约束弹簧振子运动的动力学方程,运用Matlab软件对动力学方程进行数值求解,并通过Matlab图形用户界面(Graphical User Interface,GUI)对不同条件下弹簧振子运动进行仿真,绘制了弹簧振子坐标随时间变化的演化曲线、相图以及运动轨迹,得到了更为直观的弹簧振子运动规律。结果表明,弹簧振子运动与弹簧一端的运动速度大小和初始角度有关;在一定条件下,弹簧振子作准周期运动。
基金supported by the Basic Science Research Program through the National Research Foundation of Korea(NRF-2019R1F1A1062752)funded by the Ministry of Education+1 种基金funded by BK21 FOUR(Fostering Outstanding Universities for Research)(No.:5199990914048)supported by the Soonchunhyang University Research Fund.
文摘The primary goal of cloth simulation is to express object behavior in a realistic manner and achieve real-time performance by following the fundamental concept of physic.In general,the mass–spring system is applied to real-time cloth simulation with three types of springs.However,hard spring cloth simulation using the mass–spring system requires a small integration time-step in order to use a large stiffness coefficient.Furthermore,to obtain stable behavior,constraint enforcement is used instead of maintenance of the force of each spring.Constraint force computation involves a large sparse linear solving operation.Due to the large computation,we implement a cloth simulation using adaptive constraint activation and deactivation techniques that involve the mass-spring system and constraint enforcement method to prevent excessive elongation of cloth.At the same time,when the length of the spring is stretched or compressed over a defined threshold,adaptive constraint activation and deactivation method deactivates the spring and generate the implicit constraint.Traditional method that uses a serial process of the Central Processing Unit(CPU)to solve the system in every frame cannot handle the complex structure of cloth model in real-time.Our simulation utilizes the Graphic Processing Unit(GPU)parallel processing with compute shader in OpenGL Shading Language(GLSL)to solve the system effectively.In this paper,we design and implement parallel method for cloth simulation,and experiment on the performance and behavior comparison of the mass-spring system,constraint enforcement,and adaptive constraint activation and deactivation techniques the using GPU-based parallel method.