基于CAD二次开发的流场可视化研究  被引量:1

Visualization of flow field based on CAD secondary development

在线阅读下载全文

作  者:黄菊 童思陈[1,2] 孙开 蒋聘凤 张倩倩 王祥 HUANG Ju;TONG Sichen;SUN Kai;JIANG Pinfeng;ZHANG Qianqian;WANG Xiang(School of River and Ocean Engineering,Chongqing Jiaotong University,Chongqing 400074 China;National Engineering Research Center for Inland Waterway Regulation,Chongqing Jiaotong University,Chongqing 400074,China;Wujiangdu Power Plant of GuizhouWujiang Hydropower Development Co.,Ltd.,Zunyi 563104,China)

机构地区:[1]重庆交通大学河海学院,重庆400074 [2]重庆交通大学,国家内河航道整治工程技术中心,重庆400074 [3]贵州乌江水电开发有限公司乌江渡发电厂,贵州遵义563104

出  处:《水运工程》2024年第5期179-184,共6页Port & Waterway Engineering

摘  要:水动力流场计算是水利工程及航道整治工程研究中涉及的重要内容。为实现流场可视化自主研发和便于编辑,提出一种基于CAD二次开发的流场生成及可视化方法。采用Fortran和C#的混合编程技术,基于动态链接库,通过C#与Fortran参数的传递,对AutoCAD进行二次开发。该方法可以在AutoCAD平台上快速绘制流场矢量图和流场云图,也可用不同颜色表示数值的大小,从而实现流场的可视化编辑。以三峡库区长寿河段为例,对该方法进行演示和应用,结果表明其具有较好的可视化效果和实用价值。Hydrodynamic flow field calculation is an important content in the research of hydraulic engineering and waterway regulation engineering.To realize independent research and development of flow field visualization and facilitate editing,a method of flow field generation and visualization based on CAD secondary development is proposed.Using the hybrid programming technology of Fortran and C#,based on dynamic link library,the secondary development of AutoCAD is carried out through the transfer of C#and Fortran parameters.This method can draw the flow field vector map and flow field cloud map quickly on AutoCAD platform,and can also represent the size of the value with different colors,so as to realize the visual editing of the flow field.The method is demonstrated and applied in Changshou River section of the Three Gorges Reservoir area,and the results show that it has a better visualization effect and practical value.

关 键 词:流场可视化 FORTRAN语言 C#语言 AUTOCAD二次开发 

分 类 号:U617[交通运输工程—船舶及航道工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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