| 1 | 1/1 | 返回列表 |
| 查看: 992 | 回復(fù): 0 | ||
| 【懸賞金幣】回答本帖問題,作者wuzhenghai將贈送您 50 個金幣 | ||
wuzhenghai至尊木蟲 (職業(yè)作家)
|
[求助]
Workbench16.0 Fluent在編譯UDF時出現(xiàn)錯誤
|
|
|
報錯: unable to parse: include error: undefined read macro error object: () udf文件: #include "udf.h" real t, vis, s_mag, s_mag_c, sigma_y, n, k; real c_1 = 1.0; real c_2 = 1.0; real c_3 = 1.0; real c_4 = 1.0; int ia; define_property (cell_viscosity, c, t) { t=c_t(c, t); s_mag =c_strain_rate_mag (c, t); if (ia==0.0) { c_1 =rp_get_real ("c_1" ); c_2 =rp_get_real ("c_2" ); c_3 =rp_get_real ("c_3" ); c_4 =rp_get_real ("c_4" ); ia = 1; } k= c_1 ; n= c_2 ; sigma_y = c_3 ; s_mag_c = c_4 ; if (s_mag < s_mag_c) { vis = sigma_y*(2-s_mag/s_mag_c)/s_mag_c+k*((2-n)+(n-1)*s_mag/s_mag_c)*pow(s_mag_c, (n-1)); else vis = sigma_y/s_mag+k*pow(s_mag, (n-1)); } return vis; }@wuming524 |

| 1 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 求調(diào)劑推薦 +4 | 微辣不吃 2026-03-06 | 4/200 |
|
|---|---|---|---|---|
|
[考研] 求調(diào)劑 一志愿蘇州大學(xué),0856化工323分 | 本科應(yīng)化 | 有專利/競賽/科研助手經(jīng)歷 | +5 | 橙子cyx 2026-03-06 | 6/300 |
|
|
[考研] 哈爾濱理工大學(xué)2026年研究生調(diào)劑,材料科學(xué)與化學(xué)工程學(xué)院研究生調(diào)劑 +3 | xinliu866 2026-03-06 | 3/150 |
|
|
[考研] 材料專碩290求調(diào)劑 +8 | 杰尼龜aaa 2026-03-04 | 8/400 |
|
|
[考研] 材料與化工304求B區(qū)調(diào)劑 +4 | 邱gl 2026-03-06 | 4/200 |
|
|
[考研] 材料學(xué)碩318求調(diào)劑 +13 | February_Feb 2026-03-01 | 13/650 |
|
|
[考研] 289求調(diào)劑 +3 | 馳光絕景 2026-03-04 | 4/200 |
|
|
[考研] 287求調(diào)劑 +3 | 看看我. 2026-03-05 | 6/300 |
|
|
[考研] 材料與化工304求調(diào)劑 +7 | 邱gl 2026-03-05 | 10/500 |
|
|
[考研] 化工282求調(diào)劑一志愿211 +5 | NA0912 2026-03-05 | 6/300 |
|
|
[考研] 【求調(diào)劑】293分環(huán)境工程求調(diào)劑材料/化工,服從調(diào)劑,抗壓能力強! +8 | xiiiia 2026-03-04 | 8/400 |
|
|
[考研] 085602 293分求調(diào)劑 +3 | SivanNano. 2026-03-05 | 3/150 |
|
|
[考研] 304求調(diào)劑 +3 | 曼殊2266 2026-03-04 | 3/150 |
|
|
[考研] 267調(diào)劑求助 +5 | 聰少OZ 2026-03-04 | 5/250 |
|
|
[考研] 0703化學(xué)求調(diào)劑,總分320分,一志愿中南民族大學(xué) +3 | 19286712440 2026-03-04 | 3/150 |
|
|
[考研] 求調(diào)劑 +4 | 熬夜的貓頭鷹 2026-03-02 | 4/200 |
|
|
[考研] 291求調(diào)劑 +4 | Afy123456 2026-03-03 | 7/350 |
|
|
[考研] 求調(diào)劑 +4 | Guo_yuxuan 2026-03-02 | 5/250 |
|
|
[考研]
材料工程專碩283求調(diào)劑
5+8
|
,。 2026-03-02 | 10/500 |
|
|
[考研] 一志愿東北大學(xué)材料專碩328,求調(diào)劑 +3 | shs1083 2026-03-02 | 3/150 |
|