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

[Netgen] problem with export mesh to file

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 26, 2011, 12:01
Default problem with export mesh to file
  #1
New Member
 
gm
Join Date: Jan 2011
Posts: 3
Rep Power: 15
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, 15:44
Default
  #2
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
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, 16:27
Default
  #3
New Member
 
gm
Join Date: Jan 2011
Posts: 3
Rep Power: 15
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, 17:14
Default
  #4
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25
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, 17:28
Default
  #5
New Member
 
gm
Join Date: Jan 2011
Posts: 3
Rep Power: 15
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


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
Custom Thermophysical Properties wsmith02 OpenFOAM 4 June 1, 2023 14:30
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 03:30
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 17:34
[swak4Foam] build problem swak4Foam OF 2.2.0 mcathela OpenFOAM Community Contributions 14 April 23, 2013 13:59
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 19:08


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