- Thank you received: 0
Spheroid Meshing Issue
- BenWilson94
- Topic Author
- Offline
- Junior Member
Less
More
4 years 11 months ago #2295
by BenWilson94
Spheroid Meshing Issue was created by BenWilson94
Hello,
I have produced a mesh for a spheroid with the attached .geo file, both using the GUI and from the command line using -batchmode. However, upon saving this as a .vol file (also attached) the geometry information is not contained at the bottom of the .vol file,
this, in turn, leads to a problem after loading the mesh with the following commands
and then attempting to use the command
Is there something I'm doing wrong here?
I have produced a mesh for a spheroid with the attached .geo file, both using the GUI and from the command line using -batchmode. However, upon saving this as a .vol file (also attached) the geometry information is not contained at the bottom of the .vol file,
Code:
csgsurfaces 2
undef 0
undef 0
this, in turn, leads to a problem after loading the mesh with the following commands
Code:
ngmesh = ngmeshing.Mesh(dim=3)
ngmesh.Load("Spheroid.vol")
mesh = Mesh("Spheroid.vol")
and then attempting to use the command
Code:
mesh.Curve(5)
Is there something I'm doing wrong here?
Attachments:
4 years 11 months ago #2296
by matthiash
Replied by matthiash on topic Spheroid Meshing Issue
Hi Ben,
No, you are not doing something wrong. The Ellipsoid class in Netgen doesn't implement the functions Get/SetPrimitiveData(), which are needed to save the geometry in a mesh file.
I will let you know when this is fixed.
Best,
Matthias
No, you are not doing something wrong. The Ellipsoid class in Netgen doesn't implement the functions Get/SetPrimitiveData(), which are needed to save the geometry in a mesh file.
I will let you know when this is fixed.
Best,
Matthias
- BenWilson94
- Topic Author
- Offline
- Junior Member
Less
More
- Thank you received: 0
4 years 11 months ago #2298
by BenWilson94
Replied by BenWilson94 on topic Spheroid Meshing Issue
Hi Matthias,
Thank you very much, that's excellent.
Kind regards,
Ben
Thank you very much, that's excellent.
Kind regards,
Ben
4 years 11 months ago #2301
by matthiash
Replied by matthiash on topic Spheroid Meshing Issue
The fix is online:
github.com/NGSolve/netgen/commit/d9a322e...db43db6f157cab14dcf2
github.com/NGSolve/ngsolve/commit/835321...259148c4f9e039bfa7b0
Best,
Matthias
github.com/NGSolve/netgen/commit/d9a322e...db43db6f157cab14dcf2
github.com/NGSolve/ngsolve/commit/835321...259148c4f9e039bfa7b0
Best,
Matthias
The following user(s) said Thank You: BenWilson94
- BenWilson94
- Topic Author
- Offline
- Junior Member
Less
More
- Thank you received: 0
4 years 11 months ago #2304
by BenWilson94
Replied by BenWilson94 on topic Spheroid Meshing Issue
Hi Matthias,
Thank you for doing that, I am struggling to use the nightly release, has it been included in this? Do you know when the next stable release with this included will be?
Thanks again for your help,
Ben
Thank you for doing that, I am struggling to use the nightly release, has it been included in this? Do you know when the next stable release with this included will be?
Thanks again for your help,
Ben
4 years 11 months ago #2305
by matthiash
Replied by matthiash on topic Spheroid Meshing Issue
Hi Ben,
Yes, It's included in the nightly, which I advise to use in your case (we are running the same test suite for nightly builds and stable releases).
I don't know when the next version is going to be released.
Best,
Matthias
Yes, It's included in the nightly, which I advise to use in your case (we are running the same test suite for nightly builds and stable releases).
I don't know when the next version is going to be released.
Best,
Matthias
Time to create page: 0.152 seconds