|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Negar Naghash
Join Date: Mar 2017
Posts: 5
Rep Power: 9 ![]() |
Hi all,
I'm trying to add a piece of code to the reactingParcel foam source code. And for my purpose, I need to grab the containing cell of a sample particle in the domain and access its pressure and temperature to manipulate it for further actions. So far I found that each particle has a "celli_" defined in the particle.H class az and index of the containing cell of the particle. Now I need to pass that value to the mesh to be able to read that specific cell pressure and temperature but to be honest, this whole recursive use of classes in OpenFoam is extremely confusing to me. So I appreciate any thoughts or suggestions on this problem. |
|
![]() |
![]() |
![]() |
Tags |
mesh data, programming |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFD by anderson, chp 10.... supersonic flow over flat plate | varunjain89 | Main CFD Forum | 18 | May 11, 2018 07:31 |
[General] 2 datas on one plot | Akuji | ParaView | 46 | December 1, 2013 14:06 |
Using Workbench, CFX-Pre doesn't update mesh from upstream data | Shawn_A | CFX | 2 | November 25, 2012 13:06 |
Access raw field data (scalars, vectors) on mesh | haakon | OpenFOAM Programming & Development | 3 | September 25, 2012 10:01 |
how to pickup the mesh data and vector data | oga_shin | OpenFOAM | 2 | October 27, 2011 23:42 |