CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

unstructured sampling in function objects

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 21, 2016, 12:54
Default unstructured sampling in function objects
  #1
Senior Member
 
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18
anishtain4 is on a distinguished road
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;
            }

        );
    }
Also when I have the interpolate on, my data show up on two different planes!! the second one usually is at a patch.
I would appreciate any input as I'm tight with time.
anishtain4 is offline   Reply With Quote

Reply


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


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


All times are GMT -4. The time now is 09:54.