内存映射文件在提取有限元模态结果中的应用  被引量:3

Application of memory-mapped file to extract modal data from results of finite element analysis

在线阅读下载全文

作  者:陕光[1] 凌玲[1] 胡于进[1] 

机构地区:[1]华中科技大学机械科学与工程学院,武汉430074

出  处:《计算机应用》2012年第5期1429-1431,1435,共4页journal of Computer Applications

基  金:国家自然科学基金资助项目(30870605);中央高校基本科研业务费专项资金资助项目(2011ON126)

摘  要:对于有限元分析软件导出的大型结果文件,在使用常规的文件操作函数处理时,容易导致计算机速度缓慢甚至失去响应。针对这个问题,提出了一种基于内存映射文件读写数据的方法。该方法通过建立磁盘文件与进程地址的关联,直接访问磁盘文件,提取相关结果信息。当文件过大时,采用了分段映射的技术,逐段进行处理,并对两种不同的分段方式进行了比较。测试结果表明,比起传统的文件读写方法,该方法可以大大提高文件读取的速度,有效适应巨型文本文件的读取需求。Concerning the problems of low running speed and no response that are very likely to occur when using the common file manipulation function to dispose the large-scale result file exported from Finite Element Analysis (FEA) software, a method of data reading and writing based on memory-mapped file was proposed. By establishing the relation between disk file and process address, the file could be accessed directly to extract the data information. When the data information was very large in size, a method of piecewise map was applied to dispose the disk file, and two different forms of piecewise map were compared. Compared with the traditional method, the result shows that the proposed method can improve the speed greatly and be applied to huge text file effectively.

关 键 词:有限元分析 内存映射文件 进程地址 分段映射 文本文件 

分 类 号:TP319[自动化与计算机技术—计算机软件与理论] TP311.56[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象