|
[Sponsors] |
Extracting lagrangian particle data in OpenFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 20, 2021, 05:03 |
Extracting lagrangian particle data in OpenFoam
|
#1 |
New Member
Danmark
Join Date: Nov 2021
Posts: 1
Rep Power: 0 |
Hello.
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 |
|
Tags |
icouncoupledkinematicp, lagrangian data |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Paraview python script, creating data using only CLI, saving in csv/excel file | Ash Kot | ParaView | 1 | September 24, 2021 13:23 |
Lagrangian particle position data at runtime | vishwesh | OpenFOAM Programming & Development | 3 | July 11, 2018 10:48 |
Possible Bug in pimpleFoam (or createPatch) (or fluent3DMeshToFoam) | cfdonline2mohsen | OpenFOAM | 3 | October 21, 2013 10:28 |
DPM UDF particle position using the macro P_POS(p)[i] | dm2747 | FLUENT | 0 | April 17, 2009 02:29 |
How to update polyPatchbs localPoints | liu | OpenFOAM Running, Solving & CFD | 6 | December 30, 2005 18:27 |