Hi Kaloyan Thank you for your kind reply. I guess just sent my last email before receiving your email. I will try your solution. But I think I will have to recompile at least part of the code, right? Kind regards syavash On Wed, Mar 22, 2023, 19:31 Kirilov, Kaloyan S < kaloyan.kirilov19@imperial.ac.uk> wrote:
Hi Syavash, As per my last email about ProjectCAD with Hexes - we usually use it with Prisms/Tets/Pyramids. In theory, nothing stops you from projecting the Hex Edge-Nodes on the CAD. I just had a quick look into the code and the only reason why it fails is that we haven't specified Hex function for ProcessProjectCAD.cpp / IsNotValid(). This is an element validity after the linear vertices are projected on the CAD. So If you use thick Hexes around the cylinder, this will be sufficient.
You can comment out Line #226 ProcessProjectCAD (m_log(FATAL)<< "Only prisms and tetrahedra supported" << endl; ) function, rebuild and ProjectCAD should work for Hexes as well.
Let me know how it goes. I will mark it as functionality that we need to add soon. I hope this helps. Kind Regards, Kaloyan ------------------------------ *From:* nektar-users-bounces@imperial.ac.uk < nektar-users-bounces@imperial.ac.uk> on behalf of Ehsan Asgari < eh.asgari@gmail.com> *Sent:* Wednesday, March 22, 2023 3:54 PM *To:* nektar-users <nektar-users@imperial.ac.uk> *Subject:* [Nektar-users] High-order mesh
This email from eh.asgari@gmail.com originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders list <https://spam.ic.ac.uk/SpamConsole/Senders.aspx> to disable email stamping for this address.
Hi Everyone
What is the best strategy to have a high-order mesh starting from a Hex mesh around a wall-mounted cylinder? So far, I have tried spherigon, high-order cylinder, and projectcad but I couldn't get a valid mesh. When I try projectcad, it gives me an error message that it only works with tets and prisms. The initial Hex mesh is created in Nastan format and then revised in Gmsh. Subsequently, NekMesh is used to convert it to xml. It is a valid mesh but building a high-order grid has been a challenge for me so far.
I appreciate your kind help.
Kind regards syavash