{"id":162556,"date":"2023-01-31T08:54:08","date_gmt":"2023-01-31T08:54:08","guid":{"rendered":"\/knowledge\/forums\/topic\/define-vr-rate%e3%81%a8define-net-reaction-rate%e3%81%ae%e4%bd%bf%e3%81%84%e5%88%86%e3%81%91\/"},"modified":"2023-07-31T12:37:05","modified_gmt":"2023-07-31T12:37:05","slug":"define-vr-rate%e3%81%a8define-net-reaction-rate%e3%81%ae%e4%bd%bf%e3%81%84%e5%88%86%e3%81%91","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/define-vr-rate%e3%81%a8define-net-reaction-rate%e3%81%ae%e4%bd%bf%e3%81%84%e5%88%86%e3%81%91\/","title":{"rendered":"DEFINE VR RATE()\u3068DEFINE NET REACTION RATE()\u306e\u4f7f\u3044\u5206\u3051"},"content":{"rendered":"<p>\u5316\u5b66\u7a2e\u8f38\u9001\u30e2\u30c7\u30eb(Species Transport)\u3092\u5229\u7528\u3059\u308b\u5834\u5408\u3001UDF\u306b\u3088\u308a\u53cd\u5fdc\u901f\u5ea6\u3092\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002 \u5229\u7528\u3067\u304d\u308b\u30de\u30af\u30ed\u306f\u4e0b\u8a18\u306b\u306a\u308a\u307e\u3059\u3002 DEFINE_VR_RATE\u3068DEFINE_NET_REACTION \u4f7f\u3044\u5206\u3051\u306f\u4ee5\u4e0b\u306b\u793a\u3057\u307e\u3059\u3002  (1) \u5316\u5b66\u7a2e\u8f38\u9001\u30e2\u30c7\u30eb: Finite-Rate\/No TCI\u3000(\u6709\u9650\u53cd\u5fdc\u901f\u5ea6) Finite-Rate\/Eddy-Dissipation\u3000(\u6709\u9650\u53cd\u5fdc\u901f\u5ea6\/\u6e26\u6d88\u6563\u30e2\u30c7\u30eb) Eddy-Dissipation\u3000(\u6e26\u6d88\u6563\u30e2\u30c7\u30eb)    \u53cd\u5fdc\u901f\u5ea6\u3092\u5b9a\u7fa9\u3059\u308b\u30de\u30af\u30ed\uff1a\u3000DEFINE_VR_RATE \u5404\u53cd\u5fdc\u5f0f\u306e\u4f53\u7a4d\u53cd\u5fdc\u901f\u5ea6\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u3000(The MOLAR(per reaction) reaction rate [kgmol\/m3-s])  (2) \u5316\u5b66\u7a2e\u8f38\u9001\u30e2\u30c7\u30eb: Finite-Rate\/No TCI (Stiff Chemistry Solver) Eddy-Dissipation Concept    \u53cd\u5fdc\u901f\u5ea6\u3092\u5b9a\u7fa9\u3059\u308b\u30de\u30af\u30ed\uff1a\u3000DEFINE_NET_REACTION_RATE \u5404\u5316\u5b66\u7a2e\u306e\u6b63\u5473\u53cd\u5fdc\u901f\u5ea6\uff08\u751f\u6210\u3001\u6d88\u6ec5\u901f\u5ea6\uff09\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002(The NET \uff08per species) reaction rate[kgmol\/m3-s])  \u4ee5\u4e0b\u306b\u540c\u69d8\u306a\u53cd\u5fdc\u5f0f\u3092\u5229\u7528\u3057\u3001\u5404\u30de\u30af\u30ed\u3092\u4f7f\u7528\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3092\u793a\u3057\u307e\u3059\u3002   \u53cd\u5fdc\uff1a CH4+H2O=CO+3H2 (1) CO+H2O\uff1dCO2+H2 (2)  \u95a2\u4e0e\u3059\u308b\u5316\u5b66\u7a2e\uff1a CH4, H2O, CO, CO2, H2  \/* DEFINE_VR_RATE\u3092\u5229\u7528\u3057\u5404\u53cd\u5fdc\u5f0f\u306e\u53cd\u5fdc\u901f\u5ea6\u3092\u5b9a\u7fa9\u3059\u308b *\/  DEFINE_VR_RATE(user_rate, c, t, r, wk, yk, rr_l, rr_t) { real rate1, rate2;    \/* reaction rate of reaction 1, 2 *\/ if (!strcmp(r->name, &#8220;reaction-1&#8221;)) {  *rr_l = rate1;       \/* \u5c64\u6d41\u53cd\u5fdc\u901f\u5ea6 *\/  *rr_t = *rr_l;       \/* \u4e71\u6d41\u53cd\u5fdc\u901f\u5ea6 *\/ } else if (!strcmp(r->name, &#8220;reaction-2&#8221;)) {  *rr_l = rate2;   *rr_t = *rr_l;  } }  \/* DEFINE_NET_REACTON\u3092\u5229\u7528\u3057\u5404\u5316\u5b66\u7a2e\u306e\u6b63\u5473\u306e\u53cd\u5fdc\u901f\u5ea6\u3092\u5b9a\u7fa9\u3059\u308b *\/  DEFINE_NET_REACTION_RATE(my_net_rr, c,t,particle, pressure, temp, yi, rr, jac) { int i; real rate1, rate2;  \/* reaction rate of reaction1, 2  *\/  rr[ch4index] = -(rate1);  rr[h2oindex] = -(rate1)-(rate2);  rr[coindex] = (rate1)-(rate2);  rr[h2index] = 3.0*(rate1)+(rate2);  rr[co2index] = (rate2); }<\/p>\n","protected":false},"template":"","class_list":["post-162556","topic","type-topic","status-publish","hentry","topic-tag-2019-r3","topic-tag-fluent","topic-tag-scripting-journaling-udf","topic-tag-species-reactions"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"_bbp_last_active_time":["1-31-2023  20:20:28"],"_bbp_forum_id":["162343"],"_bbp_author_ip":["209.182.204.162"],"_btv_view_count":["843"],"siebel_km_number":["2061834"],"product_version":["2019 R3"],"km_published_date":["12\/4\/2019 1:05"],"family":["Fluid Dynamics"],"application_name":["FLUENT"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/162556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/162556\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=162556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}