CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Netgen] Netgen now on Sourceforge

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 8, 2010, 14:40
Default
  #41
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
Hello and a Good Evening...!

Just wanted to inform the OpenFOAM community that Netgen-4.9.12 is now available for download on the Sourceforge project page.

Some of the changes in the version are:
1. Meshes can now be directly exported in the OpenFOAM 1.5+ Format
2. Improved Colourisation of meshes as a function of mesh size
3. Bugfixes for surface mesh size specification in OpenCascade Geometry
4. Netgen now also works with the Windows SDK v7.0
5. Improvements to the mesh optimisation core system
6. Various fixes to the higher order meshing core system
7. Mesh refinement functions added to nglib


I guess the direct export to OpenFOAM format would be quite interesting... :-)! Hope there are no bugs which I did not catch!

Windows installers are also available for 32-bit and 64-bit with OpenCascade support.

Unfortunately, "official" versions of Linux RPMs are not yet out, but I guess (hope ;-)!) Alberto will update his Linux RPM to the 4.9.12 version.

If anyone finds any critical bugs it will be nice if I could be informed, and ofcourse, "realistic" feature requests are always welcome :-)!

Have a nice day!

Philippose
philippose is offline   Reply With Quote

Old   March 8, 2010, 16:54
Default
  #42
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by philippose View Post
Unfortunately, "official" versions of Linux RPMs are not yet out, but I guess (hope ;-)!) Alberto will update his Linux RPM to the 4.9.12 version.
It all depends on the number of dependencies that changed, and how many weird libraries were included in addition to the previous version

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   March 8, 2010, 17:49
Default
  #43
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
Hello Alberto :-)!

Nice to hear from you so soon :-)!

I guess I have good news for you.... we have made no changes to any of the dependencies for Netgen-4.9.12... everything is as it has always been. The only changes made are internal to Netgen itself.

I am quite sure the SPEC file that you used for Netgen-4.9.11 should work without any modifications for Netgen-4.9.12 too....

Have a nice evening !

Philippose
philippose is offline   Reply With Quote

Old   March 8, 2010, 18:03
Default
  #44
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by philippose View Post
Hello Alberto :-)!

Nice to hear from you so soon :-)!

I guess I have good news for you.... we have made no changes to any of the dependencies for Netgen-4.9.12... everything is as it has always been. The only changes made are internal to Netgen itself.

I am quite sure the SPEC file that you used for Netgen-4.9.11 should work without any modifications for Netgen-4.9.12 too....

Have a nice evening !

Philippose
You're correct :-)

At the moment I just packaged it for openSUSE 11.2 in my home repository. Packages for the supported versions (11.0 and newer) of openSUSE will come soon.
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.

Last edited by alberto; March 9, 2010 at 00:56. Reason: Removed old link
alberto is offline   Reply With Quote

Old   March 9, 2010, 01:04
Default
  #45
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
The new version of netgen is now available for the following platforms (both 32 and 64 bit):
Simply click on the corresponding link and the usual 1-click guided installation procedure will appear.

Notes:

  1. I did not test the packages, so, if they do not work, please report it.
  2. As soon as the packages will be approved, they'll become part of the openSUSE/science repository
Thanks Philippose for informing me of the new version, and to openSUSE, who offer the amazing build service
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   March 9, 2010, 09:29
Default
  #46
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27
linnemann will become famous soon enough
Hi

and thx for the big effort.

I'm uploading a freshly compiled Netgen, with OCC included, to my centFOAM SF page.

again this is verified to work on CentOS/SL/RHEL and derivations from 5.x 64bit.
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Old   March 9, 2010, 12:38
Default
  #47
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
Hey guys,

Thanks a million Alberto and Linnemann..... for creating and maintaining the OpenSUSE and CentOS binary versions of Netgen :-)!

I shall link to these files from the Netgen Mediawiki site as contributed linux binaries.... I am sure there are a lot of people who would prefer the ease of an automated install !!

Currently I am back to my efforts of putting together an RPM version for Fedora :-)! I had done this earlier (as Alberto might remember), but then I got stuck with some issues with paths and install philosophies......

I am tinkering with the idea of creating a "plugin" in netgen specifically for OpenFOAM :-)! Lets see how that pans out....

Have a nice day!

Philippose
philippose is offline   Reply With Quote

Old   May 11, 2010, 09:19
Default
  #48
Senior Member
 
Join Date: Feb 2010
Posts: 213
Rep Power: 17
vaina74 is on a distinguished road
Granted that I've been learning OpenFOAM (and Ubuntu) since March and I'm a beginner, I have a problem with Netgen installing - and it could be a stupid question.

First I added PPA CAE Team to my system (Lucid Lynx) and tried to install Netgen and all dependencies, but I got the output:
Code:
netgen:
Depends: libtogl1  but it is not installable
So I tried the manual installation, according to this procedure. I think I had a problem in Togl compiling or in the last commands (and Netgen doesn't find Toegl library):
Code:
/opt/netgen/bin/netgen
Please, can anyone help me?

Maurizio

UPDATE1

There was a stupid error: the right path is /usr/lib/Togl1.7 and not
/usr/lib/Togl-1.7. Netgen seems to start but I immediately have an other error:
Code:
/opt/netgen/bin/netgen
NETGEN-4.9.12
Developed at RWTH Aachen University, Germany
and Johannes Kepler University Linz, Austria
Error in Tcl-Script:
result = couldn't read file "./ng.tcl": no such file or directory
Any idea?

UPDATE2

I added the command
Code:
export NETGENDIR=/opt/netgen/bin
and finally I can start Netgen. It only complains that
Code:
optfile ./ng.opt does not exist - using default value
but I think it's not a critical error.

Last edited by vaina74; May 11, 2010 at 10:10.
vaina74 is offline   Reply With Quote

Old   May 11, 2010, 14:48
Default
  #49
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
Hello there,

A Good Evening to you :-)!

Looks like you finally solved the problem without any external help :-)! Thanks for sharing the steps required on the forum here for others....

I am not sure who maintains the Ubuntu packages, so I don't know how the installation looks finally, but as you rightly found out, you need to necessarily use Togl-1.7 (Netgen does not work with the latest version Togl-2.0 yet).

In addition, unless the .tcl files which netgen uses are not located in the folder in which the netgen executable is present, you need to set the environment variable "NETGENDIR" to the correct location.

If you have further questions, you can always pop by the Netgen Sourceforge page and post your query in the discussion board there....

Have a nice day ahead!

Philippose
philippose is offline   Reply With Quote

Old   May 14, 2010, 07:42
Default
  #50
Senior Member
 
Join Date: Feb 2010
Posts: 213
Rep Power: 17
vaina74 is on a distinguished road
My compiled Netgen can't import IGES geometries and I'd manually compile OpenCascade geometry kernel. Quite a mess for me, I'm not a linux expert. In the meantime I reported PPA CAE Team Togl bug and Mr Taverne fixed it. Then I installed NETGEN via PPA CAE Team and it works, now I can import IGES geometries without other compiling operations and so on. I recommend PPA CAE Team to all Ubuntu newbie users.
vaina74 is offline   Reply With Quote

Old   May 16, 2010, 15:43
Default
  #51
New Member
 
ggruber
Join Date: May 2009
Posts: 12
Rep Power: 17
ggruber is on a distinguished road
Quote:
Originally Posted by vaina74 View Post
My compiled Netgen can't import IGES geometries and I'd manually compile OpenCascade geometry kernel. Quite a mess for me, I'm not a linux expert. In the meantime I reported PPA CAE Team Togl bug and Mr Taverne fixed it. Then I installed NETGEN via PPA CAE Team and it works, now I can import IGES geometries without other compiling operations and so on. I recommend PPA CAE Team to all Ubuntu newbie users.
Installing Netgen from the PPA CAE Team works fine. But every time I select an item from the Menu Bar i get the following error:

Code:
ggruber@vostro1710:~$ netgen
NETGEN-4.9.12
Developed at RWTH Aachen University, Germany
and Johannes Kepler University Linz, Austria
Including OpenCascade geometry kernel
Parsing ng.tcl
optfile ./ng.opt does not exist - using default values
ERROR: can't read "data(isActive)": no such element in array
errinfo: can't read "data(isActive)": no such element in array
    while executing
"if {$data(isActive)} {
    tixBalloon:Deactivate $w
    } else {
    set data(cancel) 1
    }"
    (procedure "tixBalloon:XXButton" line 8)
    invoked from within
"tixBalloon:XXButton $w $rootX $rootY $b"
    (procedure "tixBalloon_XXButton" line 5)
    invoked from within
"tixBalloon_XXButton   667 251 1"
    (command bound to event)
ggruber is offline   Reply With Quote

Old   May 17, 2010, 08:40
Default
  #52
Senior Member
 
Join Date: Feb 2010
Posts: 213
Rep Power: 17
vaina74 is on a distinguished road
Sorry, I can't help you :-(
Post your problem in the Netgen forum (if you don't find any similar thread) or contact the CAE Team to report your bug (you must register to Launchpad).
vaina74 is offline   Reply With Quote

Old   May 26, 2010, 07:50
Default
  #53
Senior Member
 
Join Date: Feb 2010
Posts: 213
Rep Power: 17
vaina74 is on a distinguished road
I installed NETGEN via PPA CAE Team on Ubuntu 10.04 LTS, but I have a problem with the GUI. The terminal output is:
Code:
NETGEN-4.9.12
Developed  at RWTH Aachen University, Germany
and  Johannes Kepler University Linz, Austria
Including OpenCascade  geometry kernel
Parsing ng.tcl
optfile ./ng.opt does not exist -  using default values
ERROR: can't read "data(isActive)": no such  element in array
errinfo: can't read "data(isActive)": no such  element in array
    while executing
"if {$data(isActive)} {
      tixBalloon:Deactivate $w
    } else {
    set data(cancel) 1
      }"
    (procedure "tixBalloon:XXButton" line 8)
    invoked from  within
"tixBalloon:XXButton $w $rootX $rootY $b"
    (procedure  "tixBalloon_XXButton" line 5)
    invoked from within
"tixBalloon_XXButton     872 563 1"
    (command bound to event)
ERROR: can't read  "data(isActive)": no such element in array
errinfo: can't read  "data(isActive)": no such element in array
    while executing
"if  {$data(isActive)} {
    tixBalloon:Deactivate $w
    } else {
      set data(cancel) 1
    }"
    (procedure "tixBalloon:XXButton"  line 8)
    invoked from within
"tixBalloon:XXButton $w $rootX  $rootY $b"
    (procedure "tixBalloon_XXButton" line 5)
     invoked from within
"tixBalloon_XXButton   1222 927 1"
     (command bound to event)
ERROR: can't read "data(isActive)": no such  element in array
errinfo: can't read "data(isActive)": no such  element in array
    while executing
"if {$data(isActive)} {
      tixBalloon:Deactivate $w
    } else {
    set data(cancel) 1
      }"
    (procedure "tixBalloon:XXButton" line 8)
    invoked from  within
"tixBalloon:XXButton $w $rootX $rootY $b"
    (procedure  "tixBalloon_XXButton" line 5)
    invoked from within
"tixBalloon_XXButton     1222 927 1"
    (command bound to event)
I already installed NETGEN on a notebook without troubles, with the same OS. I was suggested I miss Tix package but I checked it out but I have already Tix 8.4.0 installed. Please, can you help me?
vaina74 is offline   Reply With Quote

Old   May 26, 2010, 11:54
Default
  #54
Senior Member
 
Join Date: Feb 2010
Posts: 213
Rep Power: 17
vaina74 is on a distinguished road
I noticed that Ubuntu 'standard' repositories - and my pc too - include Tix 8.4.0 and not Tix 8.4.3. On the base of this guide, I installed the required packages (some of them already installed):
Code:
sudo apt-get 
install build-essential tcl8.5 tcl8.5-dev tk8.5 tk8.5-dev glutg3 
glutg3-dev libxmu-dev liblapack-dev
and downloaded Tix8.4.3-src.tar.gz
Code:
tar xfs 
Tix8.4.3-src.tar.gz
cd Tix8.4.3
./configure --with-tcl=/usr/lib/tcl8.5/ --with-tk=/usr/lib/tk8.5/
make
sudo make install
So I installed again NETGEN via PPA CAE Team and now everything is ok.
vaina74 is offline   Reply With Quote

Old   September 7, 2010, 06:49
Default
  #55
New Member
 
zhuqin
Join Date: Sep 2010
Posts: 2
Rep Power: 0
zhuqin is on a distinguished road
I want to write .in2d format file as my input file in Netgen.

Is there a detailed description of this file format? such as "# dl dr np p1 p1 flaglist" in "Segments", how many flags int the "flaglist" totally? What they mean?

Aslo, Is there a flaglist in "materials"? What are they?
zhuqin is offline   Reply With Quote

Old   September 7, 2010, 13:52
Default
  #56
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
Hi there,

This is a Netgen specific question, and should be posted as a question on the Netgen Mesher forum available at the following link:

Netgen Help Forum

Anyway, I shall see if I can find something regarding this particular file format.

Have a great day ahead!

Philippose
philippose is offline   Reply With Quote

Old   September 7, 2010, 21:54
Default
  #57
New Member
 
zhuqin
Join Date: Sep 2010
Posts: 2
Rep Power: 0
zhuqin is on a distinguished road
Thanks very much for your reply! I will see the link: Netgen Help Forum.

Also, I am expecting a detailed description of in2d file format!

Best wishes!

zhuqin
zhuqin is offline   Reply With Quote

Old   September 8, 2010, 04:01
Default
  #58
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
Hello again,

A Good Day to you!

I was just looking up, and I found that the ".in2d" file format has been described in sufficient detail on pages 17 and 18 of the Netgen user manual "ng4.pdf" which is provided within the "doc" folder of a normal Netgen installation (in Windows and Linux).

In addition, there are a couple of examples of ".in2d" files in the samples folder (called "tutorials" in Windows and "share\netgen" in Linux) to illustrate the explanation in the PDF file.

Hope this helps!

Have a nice day!

Philippose
philippose is offline   Reply With Quote

Old   May 6, 2011, 09:45
Default Help in installing Netgen with OCC library on win x32
  #59
New Member
 
Manoj L Das
Join Date: Mar 2011
Location: Calcutta, India
Posts: 25
Rep Power: 15
run_cfd is on a distinguished road
Hi Philipose,

Greetings!!!

I installed Netgen 4.9.13 on windows x32, I have to import *.iges file, and for that it asks for Opencascade library. I downloaded OpenCASCADE650.exe from the OpenCascade website and installed, but still not able to load iges file in Netgen. Could you please help me in getting the OpenCascade library & Clubbing it with Netgen installation?

thanks in advance,
Regards,

MLD
run_cfd is offline   Reply With Quote

Old   May 7, 2011, 13:20
Default
  #60
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
philippose will become famous soon enough
Hello and a Good Evening :-)!

Great to see that you are trying out Netgen :-)!

Did you install Netgen for windows using the Installer, or did you compile it yourself? If you used the installer, you can ask it to install the version of Netgen with OpenCascade support by selecting the right option in the GUI of the Installer.

When you choose to install Netgen with OpenCascade support, the Installer also automatically installs the required OpenCascade DLLs too.... Then things should work automatically.

- Philippose
philippose is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Netgen] Netgen - News philippose OpenFOAM Meshing & Mesh Conversion 0 May 2, 2013 16:59
[Netgen] Netgen - Queries Batchmode & Verbose Mode shivaprasad123 OpenFOAM Meshing & Mesh Conversion 1 July 17, 2011 12:06
[Netgen] Netgen segfaults tetmeshing on Redhat EL5 djvictoid OpenFOAM Meshing & Mesh Conversion 1 June 11, 2011 07:53
[Netgen] Geometry > Netgen > OpenFOAM ericnutsch OpenFOAM Meshing & Mesh Conversion 9 February 22, 2010 08:39
[Netgen] Netgen v45 Release Candidate 2 philippose OpenFOAM Meshing & Mesh Conversion 2 April 29, 2008 17:58


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