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

Tips for Stiff DPM model ?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 14, 2015, 06:18
Default Tips for Stiff DPM model ?
  #1
Member
 
Jim
Join Date: May 2015
Posts: 47
Rep Power: 11
CFDYourself is on a distinguished road
Hi there,
I'm interested whether any of you have any tips for getting a solution for a very numerically stiff DPM model I have.

Do you have any tips for solving DPM problems where:
- Changes in the particle happen abruptly over very short distances (eg: 1 mesh element), occuring all over the model (can't be sloved by mesh refinement).
- Initial guess of the simulation (eg: the 1st iteration) is way off, leading to unphysical flow conditions etc.

I'm looking for anyone with info on:
- solver settings. I've read some ansys lit on this, but I can't get it to work.
- one-way vs. two-way coupling. is there an easy way to get ansys to consider say, species transport only, (without drag on the particle etc.) ?
- any tips for avoiding stiffness in UDFs etc? I've heard that avoiding logical statements ("if" functions) in your UDFs can improve convergence for example.

many thanks,
JimmyB
CFDYourself is offline   Reply With Quote

Old   August 18, 2015, 08:49
Default
  #2
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
What causes the particles to change over very short distances? Fluent forces particles to have at least one step in each cell the particles passes through. Have you tried reducing the particle time step?

Is the initial guess inaccurate for the fluid flow or the discrete phase?

What particle tracking scheme are you using? Try using analytic or implicit instead of the higher order methods.

Ignore drag forces by specifying a custom drag law where you return zero via the DEFINE_DPM_DRAG macro.

I suppose numerical stiffness in UDFs depends on what the logical statements are enforcing and if they're using continuous / nicely behaved functions.
`e` is offline   Reply With Quote

Old   August 19, 2015, 12:55
Default
  #3
Member
 
Jim
Join Date: May 2015
Posts: 47
Rep Power: 11
CFDYourself is on a distinguished road
Hi 'e', thankyou for the reply.

I tried the stuff you've mentioned, briefly, seemed to be an improvement

Cheers for the tip on deactivating momentum exchange using a UDF btw, that seems to have made things easier.

(here is the UDF for anyone searching this in the future. Needs to be interpreted (or compiled) and hooked as per any UDF.)
/************************************************** ***********
UDF for ignoring drag force
************************************************** ************/
#include "udf.h"
DEFINE_DPM_DRAG(zero_drag_force,Re,p)
{
real drag_force;
drag_force = 0;
return (drag_force);
}


As a side, do you know where I can find out more on the effect of "if" functions ?
CFDYourself is offline   Reply With Quote

Old   August 19, 2015, 18:59
Default
  #4
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
I've not heard of people having issues with if statements in their UDFs. It'd depend on how you used said logical statements.

I suppose where an if statement is used with a random condition (say the particle has a chance of being affected by some force or otherwise) then the trajectory wouldn't be resolved with refinements (within one particle time step). A similar issue is encountered when including Brownian motion via a UDF. If there's no way of removing the random nature for each particle trajectory refinement, then set this limit to one (otherwise the particle time step tends to a very small number).
`e` is offline   Reply With Quote

Reply


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
DPM Erosion Model Question CFDD FLUENT 0 August 21, 2013 20:06
DPM model doskivish Main CFD Forum 0 July 3, 2013 06:35
Water subcooled boiling Attesz CFX 7 January 5, 2013 04:32
DPM model in FLUENT Jürgen Schmidt FLUENT 0 October 27, 2005 15:39
DPM vs Species transport model osh FLUENT 0 August 19, 2005 23:15


All times are GMT -4. The time now is 18:35.