CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Post-Processing

How to get cell data like center, volume/mass, velocity

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 19, 2014, 05:26
Default How to get cell data like center, volume/mass, velocity
  #1
New Member
 
Join Date: Mar 2014
Posts: 11
Rep Power: 3
julianschl is on a distinguished road
Hey,

I'm doing some simulations of IC engines with dynamic mesh.

For analysing my results I need to calculate the swirl and tumble numbers.

For these calculation I need the coordinates of each cell center, the mass or Density and volume of each cell and the velocity vector representative for the cell center.

So far I'm collecting these data with the probes function but I'm not really satisfied with this solution because I dont reach every part of my volume in the boundary regions.

So my Idea is to create a cell set based on a stl surrounding my combustion chamber.

But I dont know how to continue after creating the cell set. Is the sample tool the right choice? How can I use it with a cell set/stl on a volume?

After looking at the sampleDict I had the impression that one can only use it for collecting data over lines or surfaces?!

Thanks in advance!
Julian
julianschl is offline   Reply With Quote

Old   June 11, 2014, 04:56
Default
  #2
New Member
 
Join Date: Mar 2014
Posts: 11
Rep Power: 3
julianschl is on a distinguished road
up!

Anyone got an idea?
julianschl is offline   Reply With Quote

Old   June 11, 2014, 08:47
Default
  #3
Senior Member
 
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 368
Rep Power: 12
cnsidero is on a distinguished road
IHMO, your best bet is to investigate swak4Foam. In terms of learning it, there are numerous examples provided with the source code and you can find Bernhard Gschaider's (swak author) talks and training from almost every OF workshop.
cnsidero is offline   Reply With Quote

Old   June 13, 2014, 03:10
Default
  #4
New Member
 
Join Date: Mar 2014
Posts: 11
Rep Power: 3
julianschl is on a distinguished road
Thank you very much for your reply!

I will have a closer look to this tool.
julianschl is offline   Reply With Quote

Reply

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
fluentMeshToFoam multidomain mesh conversion problem Attesz OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 12 May 2, 2013 10:52
Exporting unstructured, face-based, cell data to VTK sbaffini ParaView 4 December 18, 2011 16:06
Motorbike Tutorial and No velocity data stark22 OpenFOAM Post-Processing 16 April 17, 2010 00:27
Cell Data to Point Data Issues mcintoshjamie OpenFOAM Paraview & paraFoam 2 November 19, 2009 04:55
How to update polyPatchbs localPoints liu OpenFOAM Running, Solving & CFD 6 December 30, 2005 18:27


All times are GMT -4. The time now is 19:15.