首页|基于CAD二次开发的流场可视化研究

基于CAD二次开发的流场可视化研究

扫码查看
水动力流场计算是水利工程及航道整治工程研究中涉及的重要内容.为实现流场可视化自主研发和便于编辑,提出一种基于CAD二次开发的流场生成及可视化方法.采用Fortran和C#的混合编程技术,基于动态链接库,通过C#与Fortran参数的传递,对AutoCAD进行二次开发.该方法可以在AutoCAD平台上快速绘制流场矢量图和流场云图,也可用不同颜色表示数值的大小,从而实现流场的可视化编辑.以三峡库区长寿河段为例,对该方法进行演示和应用,结果表明其具有较好的可视化效果和实用价值.
Visualization of flow field based on CAD secondary development
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.

flow field visualizationFortran languageC#languageAutoCAD secondary development

黄菊、童思陈、孙开、蒋聘凤、张倩倩、王祥

展开 >

重庆交通大学河海学院,重庆 400074

重庆交通大学,国家内河航道整治工程技术中心,重庆 400074

贵州乌江水电开发有限公司乌江渡发电厂,贵州 遵义 563104

流场可视化 Fortran语言 C#语言 AutoCAD二次开发

2024

水运工程
中交水运规划设计院有限公司

水运工程

CSTPCD
影响因子:0.428
ISSN:1002-4972
年,卷(期):2024.(5)
  • 13