|
[Sponsors] |
February 3, 2020, 09:25 |
problem with particle positions
|
#1 |
Member
kostas
Join Date: Jun 2010
Posts: 43
Rep Power: 15 |
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 |
|
February 4, 2020, 06:17 |
|
#2 |
Senior Member
Join Date: Aug 2014
Location: UK
Posts: 213
Rep Power: 12 |
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.
|
|
February 4, 2020, 06:33 |
|
#3 |
Member
kostas
Join Date: Jun 2010
Posts: 43
Rep Power: 15 |
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.
|
|
February 5, 2020, 23:18 |
|
#4 |
Senior Member
Abe
Join Date: May 2016
Posts: 119
Rep Power: 9 |
I am struggling with Lagrangian particles myself, but saw this function object:
https://www.openfoam.com/documentati...d.html#details Hopefully it helps- |
|
February 6, 2020, 09:56 |
|
#5 |
Member
kostas
Join Date: Jun 2010
Posts: 43
Rep Power: 15 |
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.
|
|
|
|
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 |