|
[Sponsors] |
March 30, 2020, 12:45 |
Reading Lagrangian Position Data
|
#1 |
Member
Conor Crickmore
Join Date: Jan 2020
Location: Leicestershire, United Kingdom
Posts: 36
Rep Power: 6 |
Hello everyone,
I'm currently working on a custom (PISO-based) Eulerian-Lagrangian Solver in OpenFOAM 7, primarily based on this presentation and existing work carried out by my department in OpenFOAM 2.4. I'm trying to extract the data for post-processing in MATLAB, OpenFOAMs built-in 'particleTracks' function doesn't seem overly versatile, unless I am missing something here also. My problem is reading the position data from: Code:
*/lagrangian/kinematicCloud/positions Code:
(0.08930289 0.6773368 0.1431805 0.09017981) 1135715 3437655 1 Whereas data I have from the work in 2.4 (albeit from a different problem) is formatted as so: Code:
(-0.189055 -0.169927 0.157027) 22739688 Taking a rather crude measurement (using the ruler) of the corresponding particle position in ParaView shows an actual position of: Code:
expectedPosition = [1.50022 0.031163 0.56261] Code:
injectorPosition = [1.01, -0.15, 0.414] If anyone has any experience in this regard I would be extremely grateful!
__________________
Conor Crickmore PhD Researcher in Automotive Aerodynamics Aeronautical and Automotive Engineering Loughborough University LE11 3TU |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Lagrangian particle position data at runtime | vishwesh | OpenFOAM Programming & Development | 3 | July 11, 2018 09:48 |
CFD by anderson, chp 10.... supersonic flow over flat plate | varunjain89 | Main CFD Forum | 18 | May 11, 2018 07:31 |
Tecplot reading particle data error | ali hemmati | FLUENT | 1 | February 13, 2016 06:17 |
Cht tutorial in 15 | braennstroem | OpenFOAM Running, Solving & CFD | 197 | June 10, 2015 03:02 |
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem | Attesz | OpenFOAM Meshing & Mesh Conversion | 12 | May 2, 2013 10:52 |