Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Regarding Mesh Format .vol

More
6 years 5 months ago #239 by ankit101
Replied by ankit101 on topic Regarding Mesh Format .vol
Thanks for your reply but I am still slightly confused about what is the difference between surfnr1, surfnr2 and surfid. All of them are somehow related to the surface ID to which this edge is connected. From my understanding, surfnr1 and surfnr2 are the ID of the surfaces which share this edge. Then what does surfid signify?
More
5 years 10 months ago #562 by Jeffery
Replied by Jeffery on topic Regarding Mesh Format .vol
Hi,
When I type mesh.Export(name,file) in my code, It just showed up this message (AttributeError: 'ngsolve.comp.Mesh' object has no attribute 'Export').
And also where will the export file be saved. Thank you
More
5 years 10 months ago #563 by christopher
Hi, there is a difference between the ngsolve mesh (a fem interface to the netgen mesh) and the netgen mesh itself. The export function is defined for the netgen mesh. You tried to call it on the ngsolve one. You can get the netgen mesh by calling mesh.ngmesh. The file is saved relative to your current path.
Best
Christopher
The following user(s) said Thank You: Jeffery
Time to create page: 0.139 seconds