|
[Sponsors] |
Accessing the position and diameter of lagrangian particles |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 22, 2014, 09:35 |
Accessing the position and diameter of lagrangian particles
|
#1 |
New Member
Ah Cai
Join Date: Dec 2010
Location: Malaysia
Posts: 16
Rep Power: 15 |
Hi all,
I am working on a code to track lagrangian particles by refering to Jelena Andric's work: http://www.tfd.chalmers.se/~hani/kur...dric_Final.pdf I successfully replicated the work in OF20x. My problem now is that I am unable to access the position and diameter of the particles. I know that there is a function in particle.H to access position but I don't know how to tap into it and get access it. I tried Code:
const particle& par = particle.Foam::particle::position(); Anyone have any idea how to output the diameter and positions of all the particles inside the domain?? Thanks. Regards, Ahcai |
|
Tags |
diameter, lagrangian particle, position |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Lagrangian material particles | bramv101 | STAR-CCM+ | 5 | October 23, 2017 05:27 |
foamToVTK not working on lagrangian particles | BigBlueDart | OpenFOAM Post-Processing | 1 | July 25, 2013 03:26 |
Histogram on a selected volume, Droplet diameter profile | crevoise | STAR-CCM+ | 0 | May 17, 2013 06:12 |
Straight through cyclone with particles | rogerhoffmann | CFX | 1 | May 21, 2012 18:42 |
Lagrangian particles (change density and diameter) | kel85uk | OpenFOAM | 1 | July 22, 2011 04:01 |