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

DPM in fluent

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By CeesH

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2016, 09:40
Default DPM in fluent
  #1
New Member
 
Walid Abou Hweij
Join Date: Oct 2014
Posts: 10
Rep Power: 12
walid abou hweij is on a distinguished road
Hello fluent users,

Currently I am working on Discrete Phase Modeling (DPM) and I am encountering few problems. I appreciate it if you can help.

My case is steady continuous flow with steady particle injections, one way coupling with no interactions.

1. I am using surface type injection from inlet, however, the number of particles is restricted by the number of meshed cells at the inlet (no specified number of streams like point or group injection types) . Can I increase the number of particles without changing mesh density?

2. I would like to display contours of the particle distribution on a 2 D plane; is their a method to do this?

3. How can I plot the residence time distribution at outlet knowing that my study is steady bulk/ continuous flow and steady particle injections?

Thanks in advance
walid abou hweij is offline   Reply With Quote

Old   November 7, 2016, 04:20
Default
  #2
New Member
 
Walid Abou Hweij
Join Date: Oct 2014
Posts: 10
Rep Power: 12
walid abou hweij is on a distinguished road
Any answer please it is urgent !!
walid abou hweij is offline   Reply With Quote

Old   November 7, 2016, 17:45
Default
  #3
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
Quote:
Originally Posted by walid abou hweij View Post
1. I am using surface type injection from inlet, however, the number of particles is restricted by the number of meshed cells at the inlet (no specified number of streams like point or group injection types) . Can I increase the number of particles without changing mesh density?
Not with the surface injection type, use an injection file instead.

Quote:
Originally Posted by walid abou hweij View Post
2. I would like to display contours of the particle distribution on a 2 D plane; is their a method to do this?
The particles are tracked in the Lagrangian reference frame, how are you expecting Fluent to create the contours?

Quote:
Originally Posted by walid abou hweij View Post
3. How can I plot the residence time distribution at outlet knowing that my study is steady bulk/ continuous flow and steady particle injections?
You could write a boundary condition UDF for DPM where the particle residence time and location are saved to a text file.
`e` is offline   Reply With Quote

Old   November 8, 2016, 03:07
Default
  #4
New Member
 
Walid Abou Hweij
Join Date: Oct 2014
Posts: 10
Rep Power: 12
walid abou hweij is on a distinguished road
Thanks for your reply.

What i need to display on a 2 d plane is the particle location not the contours of velocity or anything else. Do you have an idea how to plot them ?
walid abou hweij is offline   Reply With Quote

Old   November 8, 2016, 03:17
Default
  #5
New Member
 
Hannes
Join Date: Nov 2016
Location: Austria
Posts: 12
Rep Power: 10
MetricDevice is on a distinguished road
Quote:
Originally Posted by walid abou hweij View Post

1.Can I increase the number of particles without changing mesh density?

2. I would like to display contours of the particle distribution on a 2 D plane; is their a method to do this?

3. How can I plot the residence time distribution at outlet knowing that my study is steady bulk/ continuous flow and steady particle injections?
1) You could use the Discrete Random Walk - Model
2) Nope
3) Create a sample at the outlet and import the data into MS Excel
MetricDevice is offline   Reply With Quote

Old   November 8, 2016, 03:27
Default
  #6
New Member
 
Walid Abou Hweij
Join Date: Oct 2014
Posts: 10
Rep Power: 12
walid abou hweij is on a distinguished road
Thanks for your reply.

I am working with laminar flow not turbulent flow so I can't use the RWM . Do you suggest another method to increase number of injections from the surface independent of mesh ?

Regarding the 2 d plane, how could I display how the particle poaitions are changing as they move in the pipe. In other words how can i see the effect of bortices on the particle positions?

Regards
walid abou hweij is offline   Reply With Quote

Old   November 8, 2016, 03:28
Default
  #7
New Member
 
Walid Abou Hweij
Join Date: Oct 2014
Posts: 10
Rep Power: 12
walid abou hweij is on a distinguished road
Vortices not bortices "wrong typing"
walid abou hweij is offline   Reply With Quote

Old   November 8, 2016, 03:57
Default
  #8
New Member
 
Hannes
Join Date: Nov 2016
Location: Austria
Posts: 12
Rep Power: 10
MetricDevice is on a distinguished road
Vortices in completely laminar flow? Sounds strange to me...
MetricDevice is offline   Reply With Quote

Old   November 8, 2016, 04:44
Default
  #9
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
Quote:
Originally Posted by walid abou hweij View Post
What i need to display on a 2 d plane is the particle location not the contours of velocity or anything else. Do you have an idea how to plot them ?
Plot the particle positions via Results > Graphics > Particle Tracks and orient the view to the plane. Note: all particles are shown, not one "plane" of particles, because a plane would intersect no discrete particles (simulated as point masses in DPM).

Quote:
Originally Posted by walid abou hweij View Post
I am working with laminar flow not turbulent flow so I can't use the RWM . Do you suggest another method to increase number of injections from the surface independent of mesh ?
As pointed out earlier, I recommend you use an injection file.

Quote:
Originally Posted by walid abou hweij View Post
Regarding the 2 d plane, how could I display how the particle poaitions are changing as they move in the pipe. In other words how can i see the effect of bortices on the particle positions?
As above and save figures at each time step. Or save particle positions to files and visualise with another program.

Quote:
Originally Posted by MetricDevice View Post
Vortices in completely laminar flow? Sounds strange to me...
Vortices can occur in laminar flow, here's a discussion.
`e` is offline   Reply With Quote

Old   November 8, 2016, 04:55
Default
  #10
New Member
 
Hannes
Join Date: Nov 2016
Location: Austria
Posts: 12
Rep Power: 10
MetricDevice is on a distinguished road
You are right, sorry.

Vortices (which can be present in laminar flow) and turbulent eddies are two different phenomena, I've mixed that up.

By the way:
You can filter your particle tracks using a mesh coordinate. It is not possible to view the tracks in a 2D plane but in this way you can isolate the results a bit.
MetricDevice is offline   Reply With Quote

Old   November 8, 2016, 04:56
Default
  #11
New Member
 
Walid Abou Hweij
Join Date: Oct 2014
Posts: 10
Rep Power: 12
walid abou hweij is on a distinguished road
Once I save the position of particles, which program can plot the particle position and visualize them?
walid abou hweij is offline   Reply With Quote

Old   November 8, 2016, 05:03
Default
  #12
Senior Member
 
Cees Haringa
Join Date: May 2013
Location: Delft
Posts: 607
Rep Power: 0
CeesH is on a distinguished road
for point 2, you could make a UDF which loops over all particles, and adds a count in a user defined memory when a particle is registered.
Below should do the trick:

Code:
DEFINE_ADJUST(meancounter,d)
{
Injection *I;
Injection *dpm_injections = Get_dpm_injections();
Particle *p;

Domain *domain;
cell_t cell;
Thread *tr;

domain=Get_Domain(1);

// clean instantaneous
  thread_loop_c (tr,domain)
{
 begin_c_loop (cell,tr)
         {

C_UDMI(cell,tr,0) = 0;


         }
       end_c_loop (cell,tr)
}




loop(I,dpm_injections)
{
loop(p,I->p)
{
C_UDMI(P_CELL(p),P_CELL_THREAD(p),0) +=1;
}
}
}
Now, you can just make a plot-plane like you would do for any parameter. Do keep in mind that, unless no. particles >>> no. cells, the results will be highly noisy. If your simulation is steady on average (i.e. you expect no changes in the mean particle distribution in time), you can average over a large number of instantaneous fields to get an idea of the particle distribution. May be easiest to do that in an external program, but you can also add a second UDM:

Code:
  thread_loop_c (tr,domain)
    {
       begin_c_loop (cell,tr)
         {


C_UDMI(cell,tr,1) = ((C_UDMI(cell,tr,1)*NS)+ C_UDMI(cell,tr,0))  /(NS+1) ;    

         }
       end_c_loop (cell,tr)
This would keep a moving average of the number of particles for each cell, with NS the averaging window size (in number of timesteps - this is for fixed timestepping).
wc34071209 likes this.
CeesH is offline   Reply With Quote

Old   November 8, 2016, 05:10
Default
  #13
New Member
 
Walid Abou Hweij
Join Date: Oct 2014
Posts: 10
Rep Power: 12
walid abou hweij is on a distinguished road
I am very thankfull for your help.I will check thant and see what I will get .

Regards
walid abou hweij is offline   Reply With Quote

Old   March 14, 2018, 05:43
Exclamation DPM in Fluent
  #14
New Member
 
NITIN
Join Date: Sep 2017
Location: Warangal
Posts: 10
Rep Power: 9
kattulanitin is on a distinguished road
Hi all,
1.) I have a problem in which I am injecting nanometer-sized particles into a
pipe with water as fluid and giving the heat flux boundary condition on the
wall but there is no interaction with the continuous phase although the
option of interaction with continuous phase is selected.
2.) I am not sure, How to give volume fraction of nanoparticles?
kattulanitin is offline   Reply With Quote

Old   October 5, 2021, 02:09
Default Number of particles
  #15
New Member
 
HASAN
Join Date: Oct 2016
Location: canada
Posts: 9
Rep Power: 10
alburkatyhasan@yahoo.com is on a distinguished road
Hello, For injection of the particles, I am using surface type injection from the inlet to produce the most accurate solution; however, the number of particles is limited by the number of meshed cells at the inlet. The particle tracking scheme utilized within the injection system thus allowed the use of the previously mentioned two-way step coupling. So, my question is, how do get particle numbers in the parcel when I use surface type injection from the inlet? Is there a way to use the number of particles in the inlet with the surface type injection? thank you.
alburkatyhasan@yahoo.com is offline   Reply With Quote

Reply

Tags
discrete phase model, dpm fluent model, particle distribution, residence time


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:22.