|
[Sponsors] |
March 30, 2020, 00:08 |
Accessing Lagrangian Fields
|
#1 |
New Member
siavash
Join Date: Jul 2019
Location: Indiana, US
Posts: 11
Rep Power: 7 |
Hi,
I have lagrangian particles within interFoam solver. I would like to access particles' position at each time step. I cannot find anything how I can access lagrangian particles' positions from the main.cpp file without going into the lagrangian library. I appreciate any help on this, Thank you |
|
April 1, 2020, 09:15 |
|
#2 | |
Senior Member
Yan Zhang
Join Date: May 2014
Posts: 120
Rep Power: 12 |
an example:
https://github.com/ZhangYanTJU/ZYspr...Summary.H#L126 Quote:
__________________
https://openfoam.top |
||
Tags |
lagrangian openfoam, particle position |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Accessing PtrList of fields from boundary condition | Diro7 | OpenFOAM Programming & Development | 4 | April 8, 2020 12:58 |
Fields and mesh access from lagrangian submodel | klorfj | OpenFOAM Programming & Development | 2 | January 13, 2020 01:48 |
a reconstructPar issue | immortality | OpenFOAM Post-Processing | 8 | June 16, 2013 11:25 |
an odd(at least for me!) reconstructPar error on a field | immortality | OpenFOAM Running, Solving & CFD | 3 | June 3, 2013 22:36 |
domainIntegrate, dieselFoam and Lagrangian Fields | mturcios777 | OpenFOAM | 0 | May 14, 2010 15:16 |