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

A question about source term of drag force

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2021, 09:24
Default A question about source term of drag force
  #1
New Member
 
Felix
Join Date: Apr 2020
Posts: 4
Rep Power: 6
DHSYNE is on a distinguished road
Hello I am simulating the motion of particles in an unsteady fluid (air) field by coupling DEM code as UDF with Fluent. The drag force is calculated in DEM, and it will be passed back to Fluent as a source term. But the error will occur when the particles are dense (e.g. 10,000 5um particles agglomerate together). In that case, when the drag force is passed back to Fluent as the source term, the flow field cannot converge (abnormal residual fluctuations), resulting in excessive local flow field velocity and errors.

Below is the source term code. I can be sure that the drag force is calculated correctly because if the source term is not activated, everything looks reasonable.

DEFINE_SOURCE(xmom_source,c,t,dS,eqn)
{
real source = 0.;
if(initialized)
{
int cellIndex = C_UDMI(c,t,0);
source = cfdcell[cellIndex].dragFX/C_VOLUME(c,t);
}
dS[eqn] = 0.0;
return source;
}

Can someone help me? I have been stuck with this problem for many days. Thank you
DHSYNE is offline   Reply With Quote

Reply

Tags
dense particles, drag force, source term, udf


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
Finding Drag Force from Skin Friction Rob Wilk Main CFD Forum 0 May 8, 2020 07:04
ActuatorDiskExplicitForce in OF2.1. Help be_inspired OpenFOAM Programming & Development 10 September 14, 2018 12:12
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 07:42
[swak4Foam] swak4Foam-groovyBC build problem zxj160 OpenFOAM Community Contributions 18 July 30, 2013 14:14
Simple question (source term) MASOUD FLUENT 0 February 21, 2011 20:57


All times are GMT -4. The time now is 14:59.