CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

Volume mesh instead of surface mesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 23, 2008, 22:24
Default Hello, I want to mesh a stl
  #1
New Member
 
Stephan Koerner
Join Date: Mar 2009
Posts: 4
Rep Power: 8
phan is on a distinguished road
Hello,

I want to mesh a stl file but any time I try Netgen creates a surface mesh.
At the beginning I thought that the volume mesh is just not shown when I used the clipping function because it did only show an empty inside. But I was not able to convert the mesh to the foam format. That's why I guess that the mesh information is not adequate (not a volume).
It always shows the message: "Trying to get back from bad stream"

Is there a way to mesh a volume out of a surface mesh or from a stl file with Netgen or any other Mesher?

Thanks a lot!
phan is offline   Reply With Quote

Old   September 2, 2009, 18:16
Default
  #2
Member
 
John
Join Date: Aug 2009
Posts: 93
Rep Power: 7
nomad is on a distinguished road
I use an IGES file in NetGen, then optimize volume in the mesh options. However, the mesh created as is fails in OpenFOAM unless I refine it in gmsh (Mesh-Refine).
nomad is offline   Reply With Quote

Old   October 17, 2009, 01:46
Default
  #3
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 112
Rep Power: 7
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
I have recently attempted to use netgen and cannot mesh volumes either. If I create a surface mesh first it shows elements created but I cannot view them. If i atempt to create a volume mesh before a surface mesh it crashes.

I am using the windows version and it is incredibly unstable. I would like to install the linux version but I strugled with the openfoam install and it was decently documented.
ericnutsch is offline   Reply With Quote

Old   October 17, 2009, 04:11
Default
  #4
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 530
Rep Power: 16
philippose will become famous soon enough
Hello Eric,

A Good day to you!!

Nice to see that you have been trying to use Netgen.... I hope I will be able to help you solve the issues you seem to be facing....

Usually, a failure in Volume mesh creation can come from one or a combination of the following situations:

1. First and foremost..... a bad geometry import
-- A message "Cannot visualise face <xxx>" in the console points to a definitely bad geometry
-- If you are working with STEP/IGES files, you can try the geometry healing options in Netgen (Geometry -> IGES/STEP Topology Explorer/Doctor)

2. A bad surface mesh (have you checked in the console whether all surfaces have been meshed without any errors?)

3. Memory limitations.... On 32-bit systems (Windows and linux), you are limited to a maximum memory of 2GB (even if your system has more physical RAM). Trying to create a mesh which requires more memory will result in a crash

4. Trying to make too fine or too coarse a mesh, or using very aggressive mesh grading (> 0.6 for example)


Personally.... I have not seen an open-source tetrahedral mesh generator which is as robust as Netgen :-)

Could you provide me with more details of your particular usage scenarios?

If you require more assistance with Netgen, it might be easier for you to use the Netgen forum on the Sourceforge website.

Have a nice day!

Philippose
philippose is offline   Reply With Quote

Old   October 18, 2009, 17:17
Default
  #5
Senior Member
 
Eric Nutsch
Join Date: Sep 2009
Location: Eugene, Oregon USA
Posts: 112
Rep Power: 7
ericnutsch is on a distinguished road
Send a message via Skype™ to ericnutsch
Thanks Philippose!

I will try the geometry healer and your other recommendations and post back.

It is much easier to be ambitious when you know that your not at a dead end.

Thanks!
ericnutsch 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
mesh algo for volume mesh in star ccm rohit CD-adapco 1 August 8, 2008 20:44
Gambit: Volume mesh starting from floating surface Peter FLUENT 0 July 31, 2007 13:26
How to create square surface mesh and volume(ICEM) Areriko CFX 3 July 16, 2007 03:38
Interpolating volume data onto quad surface mesh N.R. CFX 6 June 7, 2007 08:15
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10


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