CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

How to get the cartesian coordinates using icoUncoupledKinematicParcelFoam or Paravie

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

LinkBack Thread Tools Search this Thread Display Modes
Old   August 5, 2020, 09:10
Question How to get the cartesian coordinates using icoUncoupledKinematicParcelFoam or Paravie
New Member
Lucie Recurt
Join Date: Jun 2020
Posts: 17
Rep Power: 3
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 positions. However, I really don't know how to understand them or create a code to transform them into cartesian's ones. And I'm not able to get any information on internet on how to do that (well I didn't find any yet...).

I already tried on Paraview with a method that I found on another thread which was the following:

1) run the simulation
2) type paraFoam
3) explodeblocks in Paraview and select lagrangian fields
4) open a new layout and select spreadSheet View
5) export data into .csv format

I was very happy with this method until I figured out that if for example at the time1.csv file, at the line 3 was the particle number 3 then at the time2.csv file, at the line 3 it's not the particle number 3 anymore but another one (the particle 5 for example).....
So I'm not able to follow the trajectory of one particle...

So I'm asking for help from you, if you have any solution to get the particle's Cartesian coordinates with Paraview or Openfoam and especially a solution that will allow me to follow one particle from the beginning to the end of the simulation?
lucie.recurt is offline   Reply With Quote


cartesian, coordinate, openfoam, paraview, particletracking

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
Shear stress distribution from cartesian to polar coordinates Dawood Al-Mosuli FLUENT 0 January 6, 2015 18:11
Difficulty In Setting Boundary Conditions Moinul Haque CFX 4 November 25, 2014 17:30
LES in DES can't be actived! shenying0710 CFX 17 January 23, 2014 04:45
[mesh manipulation] Mapping mesh from cartesian coordinates to cylindrical coordinates matteo_pellegri OpenFOAM Meshing & Mesh Conversion 0 December 10, 2013 10:31
Conversion of Toroidal Coordinates to Cartesian Coordinates go2saqi Main CFD Forum 0 May 8, 2013 02:51

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