| 3 | 1/1 | 返回列表 |
| 查看: 3433 | 回復(fù): 2 | |||
zhuangzk金蟲 (小有名氣)
|
[交流]
DEFINE_DPM_SOURCE幾個(gè)常用量的請(qǐng)教
|
|
以下為手冊(cè)中的UDF: DEFINE_DPM_SOURCE(dpm_source, c, t, S, strength, p) { real mp_dot; Material *sp = P_METERIAL(p); /* mp_dot is the (positive) mass source to the continuous phase */ /* (Difference in mass between entry and exit from cell) */ /* multiplied by strength (Number of particles/s in stream) */ mp_dot = (P_MASS0(p) - P_MASS(p)) * strength; C_DPMS_YI(c,t,0) += mp_dot; /* add latent heat of vaporization to dpm energy source */ C_DPMS_ENERGY(c,t) -= mp_dot * MATERIAL_PROP(sp,PROP_latent_heat); /* Sensible heat dealt with by Fluent Automatically */ } 對(duì)于以上的UDF有以下疑惑: mp_dot一定是正值的么? C_DPMS_YI(c,t,0)與S->species[*_index]有什么區(qū)別? C_DPMS_YI(c,t,0)是指向連續(xù)相的吧? strength是無(wú)量綱的么? 求蟲友交流學(xué)習(xí)!謝謝! |

新蟲 (初入文壇)
銀蟲 (初入文壇)
| 3 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|