声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 2979|回复: 0

[UDF专题] [转帖]UDF的快捷编译方式及系统

[复制链接]
发表于 2005-9-18 09:45 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
大家现在普遍面临fluent中UDF编译不便,这里开发了一个很好的利用VC++的快捷编译系统,需要者请与Eric博士联系。huangpeng8@163.com

This is a demo program of developing fluent UDF by virsual c++

using this software, you can write c++ style udf programs, and you can use standard c++ libraries, MFC, and other C++ libraries if you like.

In the domo program, you can only choose 2d Fluent project, and you can only use DEFINE_ON_DEMAND macro. But in a registered edition, you can choose any type of project and freely use all mocroes supplied by FLUENT coopration .

How to use the program

0 It assumes you have installed FLUENT6.x in C:\fluent.inc directory. if you have install the FLUENT in other dirctory, please reinstall the Fluent again as requirement.

1 choose the type of Fluent project. 2d, 2ddp, 3d,or 3ddp

2 type the FLUENT project directory.also you can choose the directory by click SEARCH button

3 click the START button and will make progam and open the vc++ progam for you,if a vc++6.0 has installed on your computer.

4 in the function.cpp file in the vc++ project, you can write your C++ style program as you like.

5 compile the program to a dll file,Open FLUENT, load a cas file, load the udf dll file, and then you can run the function in it.

The demo program isn't convenience, but the registered edtion has good qulity.

评分

1

查看全部评分

回复
分享到:

使用道具 举报

您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-11-26 09:57 , Processed in 0.071270 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表