Abstract

本文是根据液晶引流效应,以小分子液晶Leslie-Ericksen理论为基础,建立了模拟电场作用下产生的液晶微流动基本控制方程组,并运用MATLAB软件辅助编程计算。为提高求解效率,针对程序时间、空间尺度小,循环次数较多的特点,重点对关键子程序段进行了优化,得到了串行计算(for循环)的最佳计算方法。此外,通过预先对所有的变量分配内存和优化单行程序的方法,有效减少了程序运行时间。执行结果显示:优化后的程序运行结果与原程序结果吻合,模拟计算1秒时长时,计算时间由原来约912.83个小时减少到约47.37个小时,计算效率提高近20倍。 In this article, basic governing equations of the liquid crystalline micro flow under the electric field were established according to Lesile-Ericksen theory, and the programming and simulation process was assisted by MATLAB software. In order to improve the efficiency of the simulation, the optimization was done according to the characteristics of the program. Since the time and space scale was small, and the number of cycles was large, the key subprogram was optimized with serial computation. In addition, allocating memory for all variables in advance and optimization single program sentence were used to reduce the operating time. The results of optimal program are in accord with the primary programs. In the simulation process of one second, the computing time was reduced from about 912.83 hours to about 47.37 hours, and the calculating efficiency was improved nearly 20 times.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call