KnutAM / AbaqusRolloverSimulation

https://abaqusrolloversimulation.readthedocs.io/en/latest/index.html
MIT License
5 stars 2 forks source link

change the TET FREE mesh to a HEX SWEEP mesh #6

Open Yancey1217 opened 9 months ago

Yancey1217 commented 9 months ago

Excuse me. I changed the TET FREE mesh to a HEX SWEEP mesh when I modified the mesh generation command in the program. After importing into cae, only a 2D section mesh is generated, not a 3D mesh. How can this be resolved? Thank you! 1221.docx

KnutAM commented 9 months ago

Thanks for the bug report!

I think that when you use the HEX SWEEP mesh, it should already be guaranteed to be periodic.

If you comment out https://github.com/KnutAM/AbaqusRolloverSimulation/blob/d3c6d9bf027be103563ac2838d9924a46fb7a9c5/rollover/three_d/rail/mesher.py#L176-L178

This seems to produce the mesh at least and should get you further.

A long-term solution should be to check if the mesh is already periodic in the make_periodic_meshes function. Then only periodize if required as this operation is rather fragile in Abaqus. Not sure why it fails in this case and why Abaqus doesn't give any error when calling generateMesh().

Let me know if this solves your problem, but let's keep this issue open as a reminder to add a permanent solution in the future that doesn't rely on modifying the source code.

Yancey1217 commented 9 months ago

Thank you very much for your reply! Now I have solved the problem.