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

problem with particle positions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 3, 2020, 09:25
Default problem with particle positions
  #1
Member
 
kostas
Join Date: Jun 2010
Posts: 43
Rep Power: 15
pankos is on a distinguished road
I need your help.
I have a problem with the "positions" file produced by the lagrange reacting cloud solver for the particle positions. This file contains four barycentric coordinates and topology infos with three numbers in the following format:
(one two three four) one two three, as you know.



I need to input these positions to another homemade visualizer so that I can visualize the particles but I cannot understand what these numbers stand for and how to compute the final global coordinates of the particles? How to get the topology? Is there any location I can get this info?


Thanks
pankos is offline   Reply With Quote

Old   February 4, 2020, 06:17
Default
  #2
Senior Member
 
Join Date: Aug 2014
Location: UK
Posts: 213
Rep Power: 12
fresty is on a distinguished road
From my MPPIC simulations I know that the 'positions' file generates coordinates of the particle locations [(x y z) cellID] in the global coordinate system. Are you sure you're not talking about the 'coordinates' file? as it generates the barycentric coordinates and topology information. Moreover, visualizing the data in ParaView initially may be useful to establish the process.
fresty is offline   Reply With Quote

Old   February 4, 2020, 06:33
Default
  #3
Member
 
kostas
Join Date: Jun 2010
Posts: 43
Rep Power: 15
pankos is on a distinguished road
There is not any "coordinates" files in "lagrangian" directory. I see only the "positions" file which contains the local barycentric coordinates. How can I create the "coordinates" file? Also, what openfoam version do you use? What I am saying happens in newer versions than v5.0.
pankos is offline   Reply With Quote

Old   February 5, 2020, 23:18
Default
  #4
KTG
Senior Member
 
Abe
Join Date: May 2016
Posts: 119
Rep Power: 9
KTG is on a distinguished road
I am struggling with Lagrangian particles myself, but saw this function object:


https://www.openfoam.com/documentati...d.html#details


Hopefully it helps-
KTG is offline   Reply With Quote

Old   February 6, 2020, 09:56
Default
  #5
Member
 
kostas
Join Date: Jun 2010
Posts: 43
Rep Power: 15
pankos is on a distinguished road
If i could know what are those last three topology numbers, maybe I could compute the global coordinates. The four first numbers are the barycentric coordinates. If I could get in direct way the global coordinates of the tetrahedral nodes I will be ok.
pankos 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
Number of positions in particle tracking sujay CFX 31 November 11, 2020 15:30
problem during export of particle tracking data (good decription of the problem) archetype CFX 0 August 1, 2017 11:23
solid particle positions sophie_l OpenFOAM Running, Solving & CFD 0 May 26, 2013 13:52
massless particle tracking problem Renold FLUENT 0 January 26, 2011 14:23
DPM UDF particle position using the macro P_POS(p)[i] dm2747 FLUENT 0 April 17, 2009 01:29


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