I have two volumes that are nor getting meshed. Cubit exports the following errors listed below and the mesh appears to be distorted and mixing elements of both volumes (see screenshot). The text file with the history to get to the point where the errors are produced is attached.
Hi,
i did run your journal file. I just uncommented a few lines which throws some input errors and the imprint before assignment of the meshing parameters.
I was able to run it with your journal file, meshing the surfaces first did it. I also meshed it with bigger mesh sizes. I am running Cubit 2023.8.0 (see additional features of the version in the screenshot).
i’ve run the journal file on 3 different coreform cubit versions without failures. it seems that this is probably an issue with the sandia version of cubit
Do you have recommendations for dealing with that challenge? Or alternative ways to improve the quality of the tets in the sharp tangency that won’t cause the Sandia version to crash?
Hi, i am sorry to say, but we don’t support sandia cubit. So i can’t recommend alternatives that will not crash.
One thing that should always work is moving the nodes manually. You could put the nodes you want to move in nodesets and then run a short python loop over them to get them to your desired location.
node_ids=cubit.get_nodeset_nodes_inclusive(1)
cubit.cmd("set node constraint off")
for id in node_ids:
cubit.cmd(f"node {id} move x 100 y 0 z 0")
Hi Norbert,
I just confirmed with your sales and IT team that I am using the correct software (Coreform Cubit), so the issue must be something else. Can we keep looking into this?
Can you send an image of the entire About box from the GUI? It is found under Help/About. You will have to expand the box to get all libraries to display. This will allow us to determine the exact version you are using so we can try to replicate your issue.
Hi @p89on – I’ve not been able to replicate your issue. We just released Coreform Cubit 2023.11 last week, would you be able to install this latest version and verify whether you’re still having issues?
I downloaded it and run the journal file in the new version. See the license details attached as well as the exact journal file. I have run the file line by line and it is the meshing step (last line) where it crashes
That will change entity ids (since it creates new geometry) so you’ll need to reassign mesh sizes, but that does at least fix the issue you’re seeing with the crazy mesh in your first post. Use that command after you’ve finished creating geometry & before you start meshing, assigning mesh sizes, imprinting/merging for meshing, etc.
When I use that command, the meshing step does not crash, through several of the volumes are not meshed (error message is ‘Cannot insert required triangle’). A few of the errors copy pasted below, the journal file is attached
Begin tri meshing 6 surfaces 95
WARNING: MeshGems has problem meshing surface 95
WARNING: The CAD face with id 95 cannot be meshed (error -1)
WARNING: The CAD face with id 95 cannot be meshed (error -5)
WARNING: The CAD face with id 95 cannot be meshed (error -5)
Completed trimeshing surface 95
WARNING: MeshGems has problem meshing surface 95
WARNING: The CAD face with id 95 cannot be meshed (error -1)
WARNING: The CAD face with id 95 cannot be meshed (error -5)
WARNING: The CAD face with id 95 cannot be meshed (error -5)
ERROR: No 3d elements.
ERROR: Mesh of Volume 17 is invalid.
Deleting invalid mesh.
To retain the invalid mesh next time, set keep invalid mesh on.
Completed meshing volume 18 with 327330 tets
Begin tri meshing 7 surfaces 95
WARNING: MeshGems has problem meshing surface 95
WARNING: The CAD face with id 95 cannot be meshed (error -1)
WARNING: The CAD face with id 95 cannot be meshed (error -5)
WARNING: The CAD face with id 95 cannot be meshed (error -5)
Completed trimeshing surface 95
WARNING: MeshGems has problem meshing surface 95
WARNING: The CAD face with id 95 cannot be meshed (error -1)
WARNING: The CAD face with id 95 cannot be meshed (error -5)
WARNING: The CAD face with id 95 cannot be meshed (error -5)
ERROR: No 3d elements.
ERROR: Mesh of Volume 19 is invalid.
Deleting invalid mesh.
To retain the invalid mesh next time, set keep invalid mesh on.
Begin tri meshing 10 surfaces 117
WARNING: MeshGems has problem meshing surface 117
WARNING: The CAD face with id 117 cannot be meshed (error -1)
WARNING: The CAD face with id 117 cannot be meshed (error -5)
WARNING: The CAD face with id 117 cannot be meshed (error -5)
Completed trimeshing surface 117
WARNING: MeshGems has problem meshing surface 117
WARNING: The CAD face with id 117 cannot be meshed (error -1)
WARNING: The CAD face with id 117 cannot be meshed (error -5)
WARNING: The CAD face with id 117 cannot be meshed (error -5)
ERROR: No 3d elements.
ERROR: Mesh of Volume 20 is invalid.
Deleting invalid mesh.
To retain the invalid mesh next time, set keep invalid mesh on.
ERROR: unable to generate mesh with hpc tetra
Volumes 15, 18 meshing completed using scheme: tetmesh
Generated 564905 tets
ERROR: Volumes 16, 17, 19 to 21 meshing unsuccessful using scheme: tetmesh
Meshing time: 126.736102
ERROR: 5 volumes did not mesh : Volume 16, 17, 19 to 21