|
[Sponsors] |
March 13, 2003, 14:23 |
Reply to Xiaoliang Wang me.umn
|
#1 |
Guest
Posts: n/a
|
Tried to reply to your e-mail but your system replied with the somewhat rude message that it didn't accept e-mail from spammers. Dude, if you expect a reply, you had better talk to your system administrator.
Anyway, since I had already taken the time to write something up, here it is: Xiaoliang, I really don't know much about DPM laws in versions 5 and 6 of Fluent. I am mostly using version 4.5 where subroutines are written in FORTRAN. I have modified the DPM laws in version 6 to try it out, even though I had not used C++ before. Your code looked similar - with the same include statements and implementations. As I look at my code, in one subroutine I include the statement: Material *sp = p->injection->material; as the first statement after the DEFINE_DPM_ ..... statement. I don't know if it is required. Otherwise, I don't think I can help you. Regards. |
|
March 13, 2003, 17:16 |
Re: Reply to Xiaoliang Wang me.umn
|
#2 |
Guest
Posts: n/a
|
Thank you anyway, Allan. But adding "Material *sp = p->injection->material;" won't help to get the local pressure and temperature.
|
|
|
|