Hi,
Could someone help me to figure how to mesh a cube geometry with a unique element in Prepomax?
That’s relevant for simple test and to fullfill certain assumtions.
Thank you very much.
Hi,
Could someone help me to figure how to mesh a cube geometry with a unique element in Prepomax?
That’s relevant for simple test and to fullfill certain assumtions.
Thank you very much.
What do you mean by “unique element” ? Do you want to get just a single element on a cube ? Then you can use this:
Cube 1 element.pmx (9.4 KB)
I can’t open the file.
I mean how to set up the meshing window. No matter how big the minimum element size is. It always mesh with a minimum of four elements. Could you post an image of your set up.
Doesn’t work for me. Is there any additional set up in general config maybe.?
My base cube has been scaled so it measures 11mm.
Preview looks good but final mesh is 2x2x2
Sorry to insist. Do you have an isolated cube? I’m using your Mortar example pmx file.
Sure, this is the cube from my first file:
Cube.zip (2.2 KB)
Thank you very much.
I will try later.
Sometimes, when more elements are generated with Gmsh, the number of elements per edge can be adjusted using Mesh refinement. Use a large number to force it to create a single element.
I wouldn’t guess it can work this way, good to know.
It works for Gmsh only. But I will add a mesh setting to set the number of elements per edge to solve this problem.
This setting for Mesh refinement would be super useful, thank you in advance ![]()
It still doesn’t work for me. I have tried so much combinations that PPM has crashed twice. ![]()
Maybe it is because I previously scale the model.?¿?. Preview is correct but then mesh is always 2x2x2
In PrePoMax ? What if you scale the geometry in CAD software before importing it to PrePoMax ?
Yes.
Haven’t try that.
There is still an unresolved problem that some options set in gmsh affect meshing in prepomax. So you could try saving “order 1” in gmsh as default:

So Gmsh’s default element order indirectly affects the number of generated elements instead of only affecting their order directly ?
Yes, it does not change the element order in prepomax but only the number of elements.
There is also a problem in PrePoMax that tends to assign an even number of elements per edge. I am looking into it.