CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

netgen + refineMesh

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

LinkBack Thread Tools Display Modes
Old   April 23, 2010, 04:45
Default netgen + refineMesh
New Member
Markus Trenker
Join Date: Feb 2010
Location: Vienna, Austria
Posts: 11
Rep Power: 9
maksen is on a distinguished road
Hi All,

has anybody succeeded in refining a tet-mesh generated with netgen by using refineMesh and share the experience?

my mesh is generated with netgen and converted successfully to foam-format. it works fine for solving RANS, however using refineMesh i get the following warning

--> FOAM Warning :
From function Foam::cellCuts::edgeEdgeToFace(const label cellI, const label edgeA,const label edgeB) const
in file meshCut/cellCuts/cellCuts.C at line 258
cellCuts : Cannot find face on cell 33282 that has both edges 2119295 702794
faces : 4(124488 124489 124490 124491)
edgeA : (279809 453564)
edgeB : (85294 453565)
Marking the loop across this cell as invalid

for lots of cells which then ends with

edgeFaces_ full at entry:68 for edge 5 4

From function calcEdgeAddressing(const faceList&, const label)
in file meshes/meshShapes/cellMatcher/cellMatcher.C at line 202.

FOAM aborting

Any ideas, hints.... any advice is most welcome!

maksen is offline   Reply With Quote

Old   April 29, 2010, 08:32
Default netgen+iges/step
New Member
Join Date: Apr 2010
Posts: 6
Rep Power: 9
Gobinath is on a distinguished road
Hi all. To import the iges/step file the netgen requires Open Cascade Geometry Kernal. Does anyone know the procedure to install this Open Cascade?

Thanks & Regards,
Gobinath is offline   Reply With Quote

Old   April 29, 2010, 13:29
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 549
Rep Power: 18
philippose will become famous soon enough
Hello Gobinath,

A Good Evening to you :-)!

It depends on which operating system you want to install OpenCascade on....

For Windows, you can directly download 32-bit binaries from the OpenCascade webpage..... but there are no 64-bit binaries on their website.

For Linux, you need to compile it on your own on your machine. OpenCascade does not distribute binaries for linux anymore. However, if you are using Ubuntu, OpenSuse or I think... even CentOS, you should be able to find OpenCascade in the respective package repositories which can then be installed using the normal package management system.

If you want to use Netgen on Windows, the simplest option is to download the Installer available from the Netgen Sourceforge project page.... there you can download Installers for 32-bit and 64-bit Windows systems.

The installers also contain the OpenCascade DLLs which are required for running Netgen with OCC support.

Have a nice day!

philippose is offline   Reply With Quote

Old   May 3, 2010, 00:39
New Member
Join Date: Apr 2010
Posts: 6
Rep Power: 9
Gobinath is on a distinguished road
Thanks philippose. I have KUbuntu 9.10 32 bit operating system. I have downloaded the "OpenCascadeModule.tar.gz" from Netgen website. But I don't know how to install it? Could u plz tell me the step by step procedure?

Thanks & Regards,
Gobinath is offline   Reply With Quote

Old   November 11, 2013, 10:46
Default refineMesh
Senior Member
Bernhard Linseisen
Join Date: May 2010
Location: Magdeburg/Geneva
Posts: 182
Blog Entries: 1
Rep Power: 9
Linse is on a distinguished road
Dear all,

could you please avoid completely changing the subject on a thread? It definitely makes looking for answers more difficult!

As I still have that problem: Did anyone solve that issue concerning "refineMesh" for meshes not consisting of hexahedrons?
Linse is offline   Reply With Quote


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
Geometry > Netgen > OpenFOAM ericnutsch Open Source Meshers: Gmsh, Netgen, CGNS, ... 9 February 22, 2010 08:39
Cannot refineMesh with useHexTopology true ver141 naoki OpenFOAM Bugs 5 June 11, 2008 04:07
Netgen v45 Release Candidate 2 philippose Open Source Meshers: Gmsh, Netgen, CGNS, ... 2 April 29, 2008 16:58
RefineMesh does not perform 2x2 refinement through the middle of edges nicasch OpenFOAM Running, Solving & CFD 3 March 14, 2008 05:12

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