CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Mesh Utilities

SurfaceMeshTriangulate

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 27, 2007, 11:41
Default Hi all, I have used "surfac
  #1
lam
Member
 
Hoang-Lam
Join Date: Mar 2009
Location: Lausanne, Switzerland
Posts: 60
Rep Power: 8
lam is on a distinguished road
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
lam is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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



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