CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

Fluent DPM bodyforce

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2017, 12:01
Default Fluent DPM bodyforce
  #1
New Member
 
ZHANG Jian
Join Date: May 2015
Posts: 2
Rep Power: 0
keith08 is on a distinguished road
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!
keith08 is offline   Reply With Quote

Reply

Tags
dpm bodyforce


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 17:10.