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

How to get the cartesian coordinates using icoUncoupledKinematicParcelFoam or Paravie

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 5, 2020, 10:10
Question How to get the cartesian coordinates using icoUncoupledKinematicParcelFoam or Paravie
  #1
New Member
 
Lucie Recurt
Join Date: Jun 2020
Posts: 17
Rep Power: 6
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

Old   August 6, 2024, 06:24
Default same problem
  #2
New Member
 
Join Date: Jun 2023
Posts: 10
Rep Power: 3
sarina is on a distinguished road
Hi Lucie, did you find a solution for your problem? I have the same except for the fact that I'm using Openfoam8.
Thank you!
sarina is offline   Reply With Quote

Reply

Tags
cartesian, coordinate, openfoam, paraview, particletracking


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


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