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

Lagrangian - ParticleTracks function

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2019, 19:22
Default Lagrangian - ParticleTracks function
  #1
Member
 
Joaquín Neira
Join Date: Oct 2017
Posts: 38
Rep Power: 5
cojua8 is on a distinguished road
Hello!,

I'm running a turbulent channel with thousands of particles. I'm interested on the particle tracks, and im using the ParticleTracks function.

The thing is that I use
Code:
purgeWrite 1
, which deletes the previous written time from the directory, leaving only the last time of the simulation. This forces me to set
Code:
resetOnWrite 0
, so I get the full track of all particles. Doing this, I get an "out of memory" error.

Is there a way to set ParticleTracks to write the tracks of only a few particles?. I've found that there is no identifier for particles more than
Code:
origId
and
Code:
origProcID
, which changes from one simulation to another.

Thank you!
cojua8 is offline   Reply With Quote

Old   October 3, 2020, 11:48
Default
  #2
New Member
 
Riddhideep Biswas
Join Date: May 2020
Posts: 22
Rep Power: 2
Rid@foam is on a distinguished road
Hello Joaquín. My question to you is how are you utilising the data generated by the particleTracks function?
I want to get my particle trajectories as shown in the attached picture. Can you help me how to do so.
Attached Images
File Type: jpg Screenshot from 2020-09-04 12-34-04.jpg (57.3 KB, 7 views)
Rid@foam is offline   Reply With Quote

Old   October 3, 2020, 12:17
Default
  #3
Member
 
Joaquín Neira
Join Date: Oct 2017
Posts: 38
Rep Power: 5
cojua8 is on a distinguished road
I think paraview has the option for particle tracks.

Also, if you simulation has a small dt so that every point of the trajectory is close to the previous, you should consider using the output of each dt instead of of the particle tracks function, which is too heavy is you have too many particles.

Hope this helps!

Good luck
cojua8 is offline   Reply With Quote

Reply

Tags
cloud function, lagrangian, particle tracks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[Other] refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 1 May 19, 2017 11:13
compressible flow in turbocharger riesotto OpenFOAM 50 May 26, 2014 02:47
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 10:56
Compilation errors in ThirdPartymallochoard feng_w OpenFOAM Installation 1 January 25, 2009 07:59
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50


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