CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Is it possible that make sampling plane not triangulated (http://www.cfd-online.com/Forums/openfoam/75855-possible-make-sampling-plane-not-triangulated.html)

panda60 May 7, 2010 04:11

Is it possible that make sampling plane not triangulated
 
Dear All:
I am using sampling plane to sample an internal plane.
But the sampled plane is always triangulated.
Because my mesh is all cubic, so the cutting face is always beaufiful, doesn't need to be triangulated.

how could I modify the code to make the triangulated off ?

Thanks.

CedricVH May 7, 2010 15:36

Set triangulate to false in the sampling functionObject

Code:

   
    surfaces
    (   
        newPlane
        {
            type plane;
            basepoint (0 0 0);    // coordinates of basepoint of the plane
            normalVector (0 1 0);    // coordinates of the normal vector of the plane
            triangulate false;
        }
    )


panda60 May 26, 2010 23:25

Dear Cedric Van Holsbeke,
It seems that "type plane" is always triangulated, we can't select.
for "type patch", we can select triangulated or not.
So I think we should modify the code ,not controlDict.
Thanks for your reply.


All times are GMT -4. The time now is 03:42.