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

How to interprete lagrangian/reactingCloud1/positions file

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 6, 2019, 11:57
Default How to interprete lagrangian/reactingCloud1/positions file
  #1
New Member
 
Lukas
Join Date: Nov 2018
Posts: 4
Rep Power: 3
marf is on a distinguished road
Hello,


i have trouble understanding how the "lagrangian/reactingCloud1/positions" file is build up. I am trying to read the position of the parcels, to sort some of them out.


The file looks like this:


/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class Cloud<passiveParticle>;
location "0.500095986537923309/lagrangian/reactingCloud1";
object positions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

41014
(
(0.04753903383 0.434766501 0.4762304831 0.04146398213) 28744 117655 2
(0.006961554412 0.4965192228 0.4197940617 0.0767251611) 28704 117615 1
(0.6164434006 0.1857863924 0.005991907324 0.1917782997) 26639 53683 1
(0.9784032398 0.009054833427 0.01079838009 0.001743546664) 28737 57716 2
(0.6163029203 0.1918485398 0.09742480878 0.09442373106) 28007 56408 1
(0.00719176275 0.3643840212 0.4964041186 0.1320200975) 28743 117654 2
(0.02182411098 0.4890879445 0.2264545151 0.2626334294) 28746 117657 2
(0.08161980935 0.4591900953 0.17131057 0.2878795253) 28000 56401 1
(0.190755489 0.4046222555 0.3805322362 0.02409001934) 26640 53686 2


and so on.


Does somebody know how i can get the coordinates from this data? None of them seem to indicate to any coordinates.


Greeting
Marf
marf is offline   Reply With Quote

Old   September 7, 2019, 02:43
Default
  #2
New Member
 
liguangze
Join Date: Apr 2019
Posts: 4
Rep Power: 2
xgyn is on a distinguished road
As far as I know, the parcel coordinate is 'barycentric coordinate'.
xgyn is offline   Reply With Quote

Old   September 7, 2019, 05:49
Default
  #3
New Member
 
liguangze
Join Date: Apr 2019
Posts: 4
Rep Power: 2
xgyn is on a distinguished road
Please see the attachment, and you will see the values in the file 'position' are corresponding to barycentric coordinates, celli, tetFacei, tetPti of the partice, respectively.
Attached Images
File Type: png particle_H.png (30.9 KB, 8 views)
File Type: png particleIO_H.png (19.8 KB, 7 views)
xgyn is offline   Reply With Quote

Reply

Tags
lagrangian data

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
how to calculate mass flow rate on patches and summation of that during the run? immortality OpenFOAM Post-Processing 101 February 3, 2017 00:36
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 22:53
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 towanda OpenFOAM Community Contributions 6 September 5, 2015 22:03
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 12:44
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46


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