|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Khalifa
Join Date: May 2022
Posts: 1
Rep Power: 0 ![]() |
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 " << kinematicCloud.name() << endl; mu = laminarTransport.nu()*rhoInfValue; kinematicCloud.evolve(); labelList dia = kinematicCloud.d(); runTime.write(); runTime.printExecutionTime(Info); } 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. Regards Kinemaster Diamond APK Last edited by oosman; May 12, 2022 at 03:49. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 |