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 Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By xgyn

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 6, 2019, 10:57
Default How to interprete lagrangian/reactingCloud1/positions file
  #1
New Member
 
Lukas
Join Date: Nov 2018
Posts: 4
Rep Power: 7
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, 01:43
Default
  #2
New Member
 
lgz
Join Date: Apr 2019
Posts: 4
Rep Power: 7
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, 04:49
Default
  #3
New Member
 
lgz
Join Date: Apr 2019
Posts: 4
Rep Power: 7
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, 50 views)
File Type: png particleIO_H.png (19.8 KB, 43 views)
ZhangPikai likes this.
xgyn is offline   Reply With Quote

Reply

Tags
lagrangian data


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 104 February 16, 2021 08:46
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 towanda OpenFOAM Community Contributions 6 September 5, 2015 21:03
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 11:46


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