|
[Sponsors] |
April 26, 2003, 07:58 |
DPM UDF in fluent5.4.8
|
#1 |
Guest
Posts: n/a
|
Hello
Now I also use dpm for a solid combustion problem in fluent5.4.8. My problem is a combustion problem where I consider : powder (S) -> combustion gas (G). My code is such as: #include "udf.h" #include "dpm.h" #include "surf.h" DEFINE_DPM_LAW(alcombustionlaw,p,coupled) { . . . float oxisidef; . . . printf("oxisidef=%g\n",oxisidef); // debug statement . . . } DEFINE_DPM_SOURCE(dpm_source, c, t, S, strength, p) { . . . printf("bb=%g\n",bb); // debug statement . . . } DEFINE_DPM_SWITCH(dpm_switch,p,coupled) { . . . printf("bbb=%g\n",bbb); // debug statement . . . } I used Compiled UDFs.I activate DEFINE_DPM_LAW and DEFINE_DPM_SWITCH in FLUENT in the Custom Laws panel, which is opened from the Set Injection Properties panel.I also activate DEFINE_DPM_SOURCE in FLUENT in the Discrete Phase Model panel. When I iterate, it don't dispaly the value of my three variablexisidef,bb and bbb. Would you like to give me some advice? regards Mark |
|
April 28, 2003, 18:26 |
Re: DPM UDF in fluent5.4.8
|
#2 |
Guest
Posts: n/a
|
Hi
I would not display these type of commnet you must to use Message ()or CX_Message() instead of printf() Fluent rules what we can do??? Regards Alex Munoz |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DPM UDF particle position using the macro P_POS(p)[i] | dm2747 | FLUENT | 0 | April 17, 2009 02:29 |
DPM with UDF - Step-by-Step Procedure???? | Prashanth | FLUENT | 3 | April 3, 2009 18:45 |
DPM - UDF for fluctuating bubble size | Jaroslav Kotara | FLUENT | 1 | April 19, 2006 10:02 |
about DPM UDF fluent5.4.8 | Devy | FLUENT | 4 | May 2, 2003 00:00 |
about DPM UDF in fluent5.4.8 | devy | FLUENT | 0 | May 1, 2003 08:38 |