CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] How trajectory of particles from an Open Foam simulation

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 6, 2020, 03:54
Exclamation How trajectory of particles from an Open Foam simulation
  #1
New Member
 
Lucie Recurt
Join Date: Jun 2020
Posts: 17
Rep Power: 2
lucie.recurt is on a distinguished road
Hello everyone!


I'm currently trying to track particle using the solver icoUncoupledKinematicParcelFoam of OpenFoam 7.

My simulation runs well but the only positions for the particles that I get are barycentric coordinates. And I didn't find on Internet an easy method to switch barycentric coordinates to cartesian's ones...


So I tried to do it using Paraview by using this method:



1) run the simulation
2) type paraFoam on the terminal

3) add the filter extrudeBlocks and chose lagrangian data
4) open a new layout and select spreedsheet view
5) export date into .csv file


I was really happy with this method when I figured out there was a problem. Indeed, if, for exemple, in the file time1.csv, at the line 3 there is the coordinate of the particle 3 then in the file time2.csv, at the line 3 it's not the coordinate of the particle 3 anymore but of another one...



It's really a problem for me because I need to follow the trajectory of the particles...



I was wondering if there is a way in Paraview to print the trajectory of particles?

Thanks to all in advance, hope someone know how to do that...
lucie.recurt is offline   Reply With Quote

Reply

Tags
cartesian, coordinate, openfoam, particle, trajectory

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
SimpleFoam cannot open include file Marija OpenFOAM Running, Solving & CFD 1 October 28, 2020 10:35
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 01:22
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 18:45
OpenFOAM 1.6.x - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 68 April 22, 2013 11:03
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00


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