|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
Jiang
Join Date: Oct 2009
Location: Japan
Posts: 186
Rep Power: 5 ![]() |
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. |
|
|
|
|
|
|
|
|
#2 |
|
Member
Cedric Van Holsbeke
Join Date: Dec 2009
Location: Belgium
Posts: 81
Rep Power: 5 ![]() |
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;
}
)
|
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
Jiang
Join Date: Oct 2009
Location: Japan
Posts: 186
Rep Power: 5 ![]() |
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. |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| boundaries with gmshToFoam | ouafa | Open Source Meshers: Gmsh, Netgen, CGNS, ... | 7 | May 21, 2010 12:43 |
| Installation OF1.5-dev | ttdtud | OpenFOAM Installation | 46 | May 5, 2009 02:32 |
| Regarding FoamX running Kindly help out | hariya03 | OpenFOAM Pre-Processing | 0 | April 18, 2008 04:26 |
| OpenFOAM with IBM AIX | matthias | OpenFOAM Installation | 20 | March 25, 2008 03:36 |
| Problem with Gmsh | nishant_hull | Open Source Meshers: Gmsh, Netgen, CGNS, ... | 17 | December 7, 2007 01:33 |