|
[Sponsors] |
April 25, 2017, 21:42 |
UDF charge density in mhd model dpm
|
#1 |
New Member
Jinho
Join Date: Apr 2017
Posts: 1
Rep Power: 0 |
I want to use the charge density of the inert particles with udf when I turn on the mhd model and use dpm.
However, when using discrete phase sample on reports, it caused an error even writing code that only takes very simple constants. Error at Node 2: get_udf_function: function charge_density :: abc has wrong type: 2! = 43 I wonder what kind of type requires and what the wrong type means. If anyone has applied udf to charge density, please help. P.S. code is very simple #include "udf.h" DEFINE_DPM_PROPERTY(charge_density,c,t,p,i) { return 5; } Thanks for read my post. Last edited by G-NO; April 26, 2017 at 02:51. |
|
Tags |
charge density, dpm in fluent, mhd, udf code |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to access only one phase in multiphase model by UDF | wersoe | Fluent UDF and Scheme Programming | 1 | January 4, 2017 08:11 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |
UDF fails to model 9.81m/s^2 gravity | jpo | Fluent UDF and Scheme Programming | 2 | January 24, 2012 19:15 |
DPM model w/ Wave model - errors in documentation | HS | FLUENT | 0 | April 12, 2006 05:37 |
DPM; particle seeded / deleted by UDF | Laika | FLUENT | 6 | January 23, 2006 00:40 |