|
[Sponsors] |
April 21, 2016, 12:54 |
unstructured sampling in function objects
|
#1 |
Senior Member
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18 |
Hi,
I have a cutting plane in my function objects to export data for short times. However when I'm opening the files in matlab they are not Cartesian even though my grid is Cartesian. I can reorder grid and data in matlab to form a structure grid, but I need to have my original Cartesian grid on which I have solved my case. My function object looks like this: Code:
cuttingPlane { type surfaces; functionObjectLibs ("libsampling.so"); outputControl timeStep; outputInterval 15; surfaceFormat raw; fields ( U ); interpolationScheme cell; surfaces ( zNormal { type cuttingPlane; planeType pointAndNormal; pointAndNormalDict { basePoint (3.14 1 1.57); normalVector (0 0 1); } interpolate false; triangulate false; } xNormal { type cuttingPlane; planeType pointAndNormal; pointAndNormalDict { basePoint (3.14 1 1.57); normalVector (1 0 0); } interpolate false; triangulate false; } ); } I would appreciate any input as I'm tight with time. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 17:22 |
[Other] refineWallLayer Error | Yuby | OpenFOAM Meshing & Mesh Conversion | 2 | November 11, 2021 11:04 |
Question about function objects | ce73stargazer | OpenFOAM Post-Processing | 3 | January 8, 2016 02:22 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 09:56 |
Droplet Evaporation | Christian | Main CFD Forum | 2 | February 27, 2007 06:27 |