- Thank you received: 0
Using minH parameter in GenerateMesh method in Python
- jkdsgjksdjg
- Topic Author
- Offline
- New Member
Less
More
5 years 11 months ago #1346
by jkdsgjksdjg
Using minH parameter in GenerateMesh method in Python was created by jkdsgjksdjg
Hello,
I want to limit minimal elements size when generate mesh:
mesh = geometry.GenerateMesh(maxh=elemMaxHeight)
...
gridMesh = Mesh(mesh)
Unfortunately I didn't find any parameter which can help me.
In C++ source code there is MeshingParameters object, containing minh parameter,
but in python there is not the similar one, only maxh.
Is there some way to limit geometry mesh?
Many thanks, Alexander
I want to limit minimal elements size when generate mesh:
mesh = geometry.GenerateMesh(maxh=elemMaxHeight)
...
gridMesh = Mesh(mesh)
Unfortunately I didn't find any parameter which can help me.
In C++ source code there is MeshingParameters object, containing minh parameter,
but in python there is not the similar one, only maxh.
Is there some way to limit geometry mesh?
Many thanks, Alexander
5 years 11 months ago #1350
by cwinters
Replied by cwinters on topic Using minH parameter in GenerateMesh method in Python
Hi,
which type of geometry do you have?
In general the mesh size is close to the maxh unless a finer mesh size is needed to approximate the geometry. Setting a minh would lead so a bad approximation of the geometry (at least in the cases a tested).
Could you attach an example where the mesh is to fine?
Best,
Christoph
which type of geometry do you have?
In general the mesh size is close to the maxh unless a finer mesh size is needed to approximate the geometry. Setting a minh would lead so a bad approximation of the geometry (at least in the cases a tested).
Could you attach an example where the mesh is to fine?
Best,
Christoph
- jkdsgjksdjg
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
5 years 11 months ago #1353
by jkdsgjksdjg
Replied by jkdsgjksdjg on topic Using minH parameter in GenerateMesh method in Python
Thanks for replying!
In general, I use OCCGeomerty and STEP models which generated automatically.
Some models have bends (curves) where mesh is very small or infinite small and meshing eats all memory.
I want to optimize that process.
Best,
Alexander
In general, I use OCCGeomerty and STEP models which generated automatically.
Some models have bends (curves) where mesh is very small or infinite small and meshing eats all memory.
I want to optimize that process.
Best,
Alexander
Time to create page: 0.114 seconds