CFD Online Logo CFD Online URL
Home > Forums > General Forums > Main CFD Forum

Extracting the lagrangian particle data

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

LinkBack Thread Tools Search this Thread Display Modes
Old   May 11, 2022, 03:35
Default Extracting the lagrangian particle data
New Member
Join Date: May 2022
Posts: 1
Rep Power: 0
oosman is on a distinguished road
Greetings Everyone,

I am new to OpenFoam and are writing a solver based on icoUncoupledKinematicParcelFoam.

I would like to define a list of all the particle diameters and individual velocities. My first guess was to write something like:

while (runTime.loop())
Info<< "Time = " << runTime.timeName() << nl << endl;

Info<< "Evolving " << << endl;

mu =*rhoInfValue;


labelList dia = kinematicCloud.d();




where dia is a list of all the diameters. However, when I try to compile it says:
error: ‘Foam::basicKinematicCollidingCloud {aka class Foam::CollidingCloud<Foam::KinematicCloud<Foam::Cl oud<Foam::CollidingParcel<Foam::KinematicParcel<Fo am:article> > > > >}’ has no member named ‘d’

From the OpenFoam API website, I can see that KinematicParcel has a member called d. I thought that the basicKinematiCollidingCloud would inherit this member.

Is this understanding wrong and how could I extract the diameter values?

If anyone has some insight into this I would be very grateful.

Kinemaster Diamond APK

Last edited by oosman; May 12, 2022 at 03:49.
oosman is offline   Reply With Quote


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
Lagrangian Particle Data Export ajjadhav CFX 15 December 8, 2020 05:52
Lagrangian particle tracking in mechanically agitated mono-dispersed and poly-dispers anandjjadhaviitr ANSYS 0 September 18, 2020 15:19
Lagrangian particle position data at runtime vishwesh OpenFOAM Programming & Development 3 July 11, 2018 09:48
Post processing of Lagrangian particle field marialhm OpenFOAM Post-Processing 0 October 8, 2017 22:02
Saving particle (DPM) data to file? Philip FLUENT 2 June 12, 2006 01:41

All times are GMT -4. The time now is 01:43.