|May 19, 2014, 05:26||
How to get cell data like center, volume/mass, velocity
Join Date: Mar 2014
Posts: 11Rep Power: 4
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!
|June 11, 2014, 08:47||
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 391Rep Power: 13
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.
|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|