CFD Online URL
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

problem with export mesh to file

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 26, 2011, 13:01
Default problem with export mesh to file
  #1
New Member
 
gm
Join Date: Jan 2011
Posts: 3
Rep Power: 5
gm2011 is on a distinguished road
Hi, Dear all,

I am trying to use Netgen to generate a surface meshing. However, I cannot export mesh to file. On my screen it shows that

Export mesh to file /opt/netgen/share/netgen/FILENAME, format is Surface Mesh Format Write Surface Mesh

However, I cannot find it. Is there anyone has any idea about this? Any commands will be appreciated.

Gm
gm2011 is offline   Reply With Quote

Old   January 26, 2011, 16:44
Default
  #2
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 527
Rep Power: 15
philippose will become famous soon enough
Hi,

And a good evening to you too!

Just wondering.... do you have write access to the folder "/opt/netgen/share/netgen/" ? Usually only root has write access to files and folders under "/opt/...."

Maybe you should try to save the file somewhere else, for example, in your home directory... and see if that works.

Hope this helps!

Have a nice day!

Philippose
philippose is offline   Reply With Quote

Old   January 26, 2011, 17:27
Default
  #3
New Member
 
gm
Join Date: Jan 2011
Posts: 3
Rep Power: 5
gm2011 is on a distinguished road
Hi, Philippose,

Thank you for responding! I really appreciate it.

I tried to save it in other directions, however, I cannot find the files no matter where did I save it. I followed the instruction here http://sourceforge.net/apps/mediawik...ling_on_Ubuntu to install Netgen, but I failed when I install the last one ngsolve. Now I can start Netgen, but I cannot save the meshes.

Do you think it is something relate to ngsolve?

Thank you so much for your response and for your time.

Gm
gm2011 is offline   Reply With Quote

Old   January 26, 2011, 18:14
Default
  #4
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 527
Rep Power: 15
philippose will become famous soon enough
Hi again,

Nope.... It cannot have anything to do with the "ngsolve" part, because "ngsolve" is loaded into netgen as a DLL purely at run-time, and its absence does not affect netgen in any way.

Hmmmm.... have you tried saving another type of mesh? For example, can you try loading say... an STL file from the netgen sample files, creating a quick volume mesh, and saving it as a normal netgen mesh (using the "save mesh" option)? If this works... the next step would be to try and export (not save... but export) the mesh in the "netgen neutral" format and see if that works.

If these two functions do not work, then we definitely need to look into the matter in more depth.

Have a nice day!

Philippose
philippose is offline   Reply With Quote

Old   January 26, 2011, 18:28
Default
  #5
New Member
 
gm
Join Date: Jan 2011
Posts: 3
Rep Power: 5
gm2011 is on a distinguished road
Hi again, Philippose,

Thank you for trying to help. If it is not about ngsolve, it must be something about my system.

I did what you said, load a STL file from the samples,
and created a volume mesh. However, when I click on 'same mesh' and save it to my Desktop, I got the error message:

can't read "inifilename": no such variable

Any suggestion? I have no idea what did I massed up. I have been using Ubuntu for a while, but still very bad at it.

Thank you immensely!

Gm
gm2011 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
GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM 300 October 29, 2014 20:00
SnappyHexMesh for internal Flow vishwa OpenFOAM Native Meshers: snappyHexMesh and Others 23 August 6, 2014 04:50
mesh missing after export in gambit morteza08 ANSYS Meshing & Geometry 1 July 26, 2010 02:10
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise mbeaudoin OpenFOAM Installation 20 June 17, 2008 07:43
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


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