Jump to content
  • Announcements

    • Rahul Ponginan

      Please click here for a short but important announcement   03/26/17

      Dear Users Our Commercial and Academic users around the world can use these same forums here as before i.e. the Altair Support Forum , Commercial users from India with solver queries can go to the Solver Forum for India Commercial Users , Academic Users from India and AOC India Participants are requested to go to the Forum for India Academic Users and AOC India Participants , We will be tending to all queries in all the forums promptly as before, thank you for your understanding. 

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×