CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Could I define DEFINE_DPM_DRAG AND BODY_FORCE (https://www.cfd-online.com/Forums/fluent/32003-could-i-define-define_dpm_drag-body_force.html)

KE August 19, 2003 16:17

Could I define DEFINE_DPM_DRAG AND BODY_FORCE
 
Could I activate the DPM_DRAG and DPM_BODY_FORCE at the same time? I can activate only one of them on the same panel, could i write the two codes into one file.c and compile it?

Thanks a lot!

Chen Fangzhi August 19, 2003 22:29

Re: Could I define DEFINE_DPM_DRAG AND BODY_FORCE
 
Of course you can use these two together, but at one time you can only compile one udf file. Just put all of your udfs in a single file.

KE August 19, 2003 22:40

Re: Could I define DEFINE_DPM_DRAG AND BODY_FORCE
 
Yes, I put two files into the same file, what I want to do is activate the body force and the drag force at the same time (coupled with bulk gas iteration). could you give me some suggestion?

Thanks!

Chen Fangzhi August 19, 2003 23:37

Re: Could I define DEFINE_DPM_DRAG AND BODY_FORCE
 
Yes, you can define "user defined function->body force" for the body force and specify "drag law" for your drag law, individually. I think you didn't click the pull-down of "drag law" of "drag parameters".


All times are GMT -4. The time now is 00:08.