CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Accessing parcel properties

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

LinkBack Thread Tools Display Modes
Old   March 26, 2013, 08:34
Default Accessing parcel properties
Join Date: Jun 2011
Posts: 32
Rep Power: 8
Smed is on a distinguished road
I would like to find the number of parcels in a cell along with the properties of each parcel in a specified cell. I'm using the sprayFoam solver and I know that the parcels are stored in the 'parcels' object of the basicSprayParcel class, but I'm not sure how to access its properties such as mass or number of parcels.

I've seen this post and suggested code,

inline label Particle::cell() const
But when I add this to sprayFoam.C, it gives an error stating that particle has not been defined.

Smed is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing The Two Phase Properties miliante OpenFOAM Running, Solving & CFD 5 June 20, 2013 05:04
Accessing Cell Properties arkangel OpenFOAM 0 March 29, 2010 12:00
Accessing flow properties at certain points inUDFs nicolas FLUENT 2 February 14, 2005 21:42
Accessing material properties in UDF Henrik Widell FLUENT 0 March 18, 2002 10:49
UDF & Accessing Turbulence Properties Dimal FLUENT 0 March 5, 2002 14:14

All times are GMT -4. The time now is 10:25.