Jump to content

Recommended Posts

Hello,

 

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.

 

Thanks,

 

James

2D CORE.PNG

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...