|
[Sponsors] |
April 27, 2017, 12:01 |
Fluent DPM bodyforce
|
#1 |
New Member
ZHANG Jian
Join Date: May 2015
Posts: 2
Rep Power: 0 |
Hello, everyone.
I'm using DPM model to simulate the flow of air and water droplets, where droplets are regarded as discrete phase. Now I need give an force for motion of droplets. Fx=-2.4*(ux-4)/ √t Fy=-2.4*(uy)/ √t And i used DEFINE_DPM_BODY_FORCE macro. Here is the case. #include "udf.h" #define TSTART 0.0 /* field applied at t = tstart */ DEFINE_DPM_BODY_FORCE(particle_body_force, p, i) { real bforce; if(P_TIME(p)>TSTART) { if(i==0) bforce=-2.4*(P_VEL(p)[0]-4)/sqrt (P_TIME(p)); else if(i==1) bforce=-2.4*(P_VEL(p)[1]-0)/sqrt (P_TIME(p)); } else bforce=0.0; /* an acceleration should be returned */ return (bforce/P_MASS(p)); } Fluent shows it’s right. But it works very slowly. Even max number of steps is very big, like 100000000, it shows the particle trajectory is still incompleted. I hope you can tell the reason if you know. Thank you! |
|
Tags |
dpm bodyforce |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to put melting point data of inert particle in DPM model of Fluent | subhankar_bhandari | Fluent UDF and Scheme Programming | 1 | February 5, 2018 08:08 |
Scaling down Fluent Model - Multiphase Flow and DPM Injections | salmanayon | Fluent Multiphase | 0 | October 13, 2016 01:29 |
Particle mass in DPM in Fluent | Abhiroop | Fluent Multiphase | 0 | August 1, 2016 05:08 |
Injection file problem with FLUENT DPM | nav | FLUENT | 0 | November 16, 2013 20:03 |
How to put melting point data of inert particle in DPM model of Fluent | subhankar_bhandari | FLUENT | 0 | July 28, 2010 08:40 |