CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Mesh Utilities (http://www.cfd-online.com/Forums/openfoam-meshing-utilities/)
-   -   SurfaceMeshTriangulate (http://www.cfd-online.com/Forums/openfoam-meshing-utilities/61573-surfacemeshtriangulate.html)

lam April 27, 2007 11:41

Hi all, I have used "surfac
 
Hi all,

I have used "surfaceMeshTriangulate" in order to remesh.
So I did:

surfaceMeshTriangulate . mycase res.stl


It works and I have this file (in fact it's just an extract of the whole file, otherwise the message is too long):

solid entree
facet normal 0 0 -1
outer loop
vertex -0.0451229 0.0174211 0.11
vertex -0.0531569 0.0222913 0.11
vertex -0.0456122 0.0267491 0.11
endloop
endfacet
facet normal 0 0 -1
outer loop
vertex -0.0537543 0.0327313 0.11
vertex -0.0456122 0.0267491 0.11
vertex -0.0531569 0.0222913 0.11
endloop
endfacet
[...]
facet normal 0 0 -1
outer loop
vertex -0.0167452 0.0227839 0.11
vertex -0.0196248 0.029134 0.11
vertex -0.0127821 0.0308252 0.11
endloop
endfacet
endsolid entree
solid sortie
facet normal 0 -0 1
outer loop
vertex -0.079257 0.000699875 0.269
vertex -0.078697 0.000987905 0.269
vertex -0.079297 0.00143508 0.269
endloop
endfacet
facet normal -0 0 1
outer loop
vertex -0.0799916 0.0051377 0.269
vertex -0.0796311 0.00441747 0.269
vertex -0.0791138 0.00521092 0.269
endloop
endfacet
[...]
facet normal -0 0 1
outer loop
vertex -0.0710554 0.000510335 0.269
vertex -0.07024 0 0.269
vertex -0.0702888 0.000965258 0.269
endloop
endfacet
endsolid sortie



So my problem is that I can not remesh (by GMSH), because it shows me only the first face (here it's "entree"), and doesn't show me the others surfaces (e.g. "sortie")

How can I rebuilt all the surface (in order to remesh)?
How gmsh can show me all my patches?

I have tryed to removed the words "solid sortie", "endsolid sortie" and just keep the patch "entree", and it works: Gmsh can recognize several patches in the same time. But this process is too manual! I think that there is a better way to do it.


I need some help
could anyone give me a hand?

Cheers,

Lam


All times are GMT -4. The time now is 02:29.