久久精品草-久久精品成人-久久精品成人免费网站-久久精品成人欧美大片免费-香港三级大全-香港三级日本三级a视频

SDK 解決FLUENT 中udf 編譯問題

2017-01-11  by:CAE仿真在線  來源:互聯網

錯誤原因與解決方法:fluent udf在compiled時出現錯誤:'nmake' 不是內部或外部命令

對比了兩臺主機上的環境變量 Path、 lib 以及 include 之后發現可以正常運行udf的舊的主機(A)與新的主機(B)之間的差別,發現Path等并沒有太多異常,甚至A上幾乎沒有添加環境變量。于是采用下方案


解決方案:

從Microsoft 官網下載 軟件開發補丁: NET Framework 2.0 Software Development Kit (SDK) (x64)

安裝補丁

從開始快捷鍵中 以管理員身份運行 SDK 命令行,SDK Command Prompt

命令行中 切換至fluent 啟動項位置,運行fluent

切換fluent工作目錄至case 目錄,運行。

udf 可以成功運行

在SDK 運行代碼為:

——————————————————

隨后,刪除了libudf之后 以正常方式打開case之后仍然失敗。

不刪除libudf,正常方式打開case之后成功。

因此推斷 在編譯過程中有點問題,可能還是VS與 fluent 之間配合不好。 在編譯完成之后udf即可正常運行

SDK 解決FLUENT 中udf 編譯問題fluent圖片1

附上一張圖片和參考方案來源

How can I manage to compile my UDF with Windows 7 64bit?

This problem sometimes looks similar to the one concerning the missing 'nmake'.

  • Install Visual Studio. Most of the time the Visual C++ 2008 Express Edition[3]is recommended. On my system it even works with the new Visual Studio 2010 Professional Release Candidate[4].

  • Set the correct environment variables. Browse your way through the Windows system control to 'System'. There you will find a section 'Advanced system settings'. In the following dialog go to the 'Advanced' tabulator and click on 'Environment variables' (lower right corner). Go through the 'System variables' list and search for the 'Path' entry. Add the following to the variable: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin;C:\Program Files\ANSYS Inc\v120\fluent\ntbin\win64. Adjust this entry to your system concerning the installation directories! The Visual Studio entry should point to the location where 'nmake' is located.

  • Install a Software Development Kit (SKD) for 64bit systems. This may be the difference between 32bit and 64bit systems. I have used the .NET Framework 2.0 Software Development Kit (SDK) (x64) from 2006[5]because it is explicitly for 64bit systems and I was not sure if more recent versions are for 64bit systems as well.

  • Start FLUENT from the SDK command prompt.Do not use the Visual Studio command prompt, use the SDK command prompt! Go to the directo是、ry your case is in and type 'fluent'.


開放分享:優質有限元技術文章,助你自學成才

相關標簽搜索:SDK 解決FLUENT 中udf 編譯問題 Fluent培訓 Fluent流體培訓 Fluent軟件培訓 fluent技術教程 fluent在線視頻教程 fluent資料下載 fluent分析理論 fluent化學反應 fluent軟件下載 UDF編程代做 Fluent、CFX流體分析 HFSS電磁分析 

編輯
在線報名:
  • 客服在線請直接聯系我們的客服,您也可以通過下面的方式進行在線報名,我們會及時給您回復電話,謝謝!
驗證碼

全國服務熱線

1358-032-9919

廣州公司:
廣州市環市中路306號金鷹大廈3800
電話:13580329919
          135-8032-9919
培訓QQ咨詢:點擊咨詢 點擊咨詢
項目QQ咨詢:點擊咨詢
email:kf@1cae.com




主站蜘蛛池模板: 妹子草网 | 一卡2卡三卡4卡在线不卡 | 亚洲tv精品一区二区三区 | 国产swag在线 | 国产在线看不卡一区二区 | 男女网站在线观看 | 99re在线这里只有精品免费 | 国产成人禁片免费观看 | 免费看动漫网站 | 自拍偷拍亚洲区 | 自拍偷拍网| 日韩一区二区三区在线观看 | 久久国产欧美日韩精品免费 | 成年人黄色一级片 | 亚洲性欧美 | 国产在线观看91精品2022 | 国内精品久久久久久久97牛牛 | 欧美日本日韩aⅴ在线视频 欧美日本日韩 | 日本在线资源 | 国产精品久久久久久吹潮 | 国产乱在线观看完整版视频 | 国产码欧美日韩高清综合一区 | 91专区 | 性欧美久久 | 成人伊在线影院 | 欧美一区二区三区久久久 | 婷婷丁香在线视频 | 四虎高清成人永久免费影院 | 日韩2页 | www.五月婷 | 国产成人亚洲精品大帝 | 亚洲国产精品一区二区三区 | 亚洲国产最新在线一区二区 | 国产欧美自拍视频 | 天天艹逼| 免费视频久久看 | 亚洲毛片在线播放 | 黄网站在线免费 | 久热国产在线 | 91视频久久| 茄子黄瓜石榴香蕉草莓绿巨人 |