I am trying to use TCL code to automate the tetrameshing process due to a large number of individual components needed to be meshed for CFD. I am using a simple right angled pipe and have a variation of code that was given in the "Hyperworks Desktop Reference Guide". I can successfully use the tetramesh process within Hypermesh itself manually, selecting my "Wall" as With BL (Fixed) and my "Inflow" and "Outflow" as W/o BL (Float) and do not have the issues that I will explain.
However, when I try and automate the process using TCL code, my "^CFD_trias_for_tetramesh" part is only a 2D mesh.
This then results in the following failure when using the AcuSolve job launcher: "No Valid 3D element found in the neighbourhood of a tria element".
Whereas, if I was to do this manually, the part would be called "CFD_tetcore001", however it would be a 3D volume mesh.
Here is my code:
*createstringarray 2 "tet: 21532 1.2 2 0 0.8 0 0" "cfd: 86 0.0035 22 1.2 1"
*createmark comps 2 "Inflow" "Outflow"
*createmark comps 1 "Wall"
*tetmesh comps 2 0 comps 1 3 1 2
Would anyone be able to provide any suggestions as to how to get a 3D mesh in the centre of the fluid.