I am building a hex mesh with cgx and I want to automate the meshing process for mesh refinement studies. I already wrote a parametrized fbd script for mesh generation, but I still have to assign the boundary conditions manually using
qadd in the cgx gui after meshing. I am looking for a zero-click-approach, so-to-say.
- Is there a way to assign loads to surfaces rather than element faces? (gmsh-style)
- Can I automatically assign boundary conditions, maybe by mapping them from a file with the same geometry but a different mesh?
I already found that the
enq command makes it possitble to select specific elements after meshing, but this only seems to work well for simple geometries.
I also see the option of creating different sets using
seta after meshing…
Just before I do that, I just want to make sure there is no easier way that I overlooked.
I appreciate any hints.