CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Pointwise & Gridgen (
-   -   Structured or unstructured meshing of a STL file (surface) (

Milad06 April 10, 2013 07:29

Structured or unstructured meshing of a STL file (surface)
Hi everyone,

I have a surface in stl format and I want to use structured mesh for it and later I want to export it to OpenFOAM. So, I want to have a cubic which the bottom surface is my stl file and then I can apply OpenFOAM boundary conditions to it.

I import the stl file, create the connectors and define the space averaging and do the unstructured mesh on the surface but I cannot make that cubic (like in OpenFOAM). How should I do that? I used extrusion but the result was awful. In addition, I want to have structured mesh, so you think it is possible? :confused: when I use the structured option, no domain is created but with unstructured at least the surface is meshed good. what should I do?


Hybrid April 10, 2013 10:07

Post figures.

Milad06 April 11, 2013 05:21

4 Attachment(s)
Attachment 20656

Attachment 20657

Attachment 20658

Here are the zoom of the surfaces. sorry I don have the linux access right now so i cannot show the pic from Paraview.

Hybrid April 11, 2013 11:12

The figures are not understandable look like some grass fields.

Try to import STL file as database then mesh on that.

rmatus April 25, 2013 11:55

Here is something similar
Hi Milad:

Here is a brief article about someone else doing what I think you are trying to do:

To make a structured grid on this surface you will need 4 edge curves, and opposite edges need to have the same number of grid points on them. If the outer boundary of your STL geometry does not have a roughly quadrilateral shape, you may have to manually break up and/or join the connectors Pointwise automatically creates to get 4 connectors and manually redimension them to have the same number of grid points on opposite edges.

Then select all 4 connectors and hit the "Assemble Domains" toolbar button to make a structured domain. You may have to project it onto the STL geometry after it is created.


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