CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

How to track the lifetime of a particle

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 28, 2023, 01:39
Default How to track the lifetime of a particle
  #1
New Member
 
han
Join Date: Jul 2021
Posts: 7
Rep Power: 4
han-1 is on a distinguished road
Hi everyone.
The case is simple . One inlet, One outlet and some walls. All of the walls are set as stick/trap.
Openfoam uses a particle property named ' active' to decide whether a particle is trapped to a wall and is therefore not considered.
There is another properties named 'age' to tell us the time passed since the particle was injected.
However, it seems that 'age' keeps growing when the particle is already trapped to the walls. I cannot find a way to the lifetime of the trapped particle since the injection time of specific particle is not recorded.
I guessed the injection time can be calculated by 'orginId' but it failed to give me the right answer. (The number of the particles/parcels during a time step injected is fixed)
han-1 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
Particle tracking error alchem OpenFOAM Bugs 5 May 6, 2017 16:30
particles leave domain Steffen595 CFX 9 March 7, 2016 16:19
injection problem Mark New FLUENT 0 August 4, 2013 01:30
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 01:29
Particle track files Sankalp CFX 1 August 25, 2004 23:25


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