• 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. 

leoc0426

Members
  • Content count

    10
  • Joined

  • Last visited

About leoc0426

  • Rank
    Beginner

Profile Information

  • Country
    Taiwan
  • Are you University user?
    Yes
  1. I am now using a tcl script to do some boolean operation. The process is Geom -->Solid edit -->boolean: advanced, A+B, AB faces in B. for example: A: comp1 B: comp2 Sometimes it will fail, and pops out the error message " internal error ". So, I will manually swap A and B, then it will work. Thus, I think that if I can detect the error , then I can swap A and B by tcl script. But, is there a way to detect error message?
  2. @tinh Hi, thanks for replying. I think the function is in the CW.tcl file, and the function is : proc ::AbaqusCW::swapMasterSlave { args } The problem is that I have no idea how to use it.
  3. Can anyone help me please?
  4. My question is how to use TCL scripts to swap master-slave surface. Like the figure attached, I want to swap master-slave surface of those highlighted contact pairs. I want to use Young's modulus to decide which surface should be master, and the other to be slave. Master surface should have higher Young's modulus. So, how can I write this if statement and swap the master-slave surface? My model is also uploaded, and I have created the contact pairs. But the contact pairs have'nt been swapped. raw.hm
  5. I don't have Simlab. Can the problem solved by hypermesh?
  6. Hi everyone, please help me. I have a STEP file contains 5 components, and this STEP file is exported from Solidworks. The 5 components in the STEP file are a, b, c, d, e. a, b, c are in contact. c, d, e are also in contact. I want to make the meshes between components are connected. So I ues solid edit --> boolean to create shared surfaces between components that are in contact with others. the details about solid edit --> boolean is as follows: operation type: advanced operation: A+B combine through: none I do it for 6 times which are: 1. A: a B: b 2. A: a B: c 3. A: b B: c 4. A: d B: c 5. A: e B: c 6. A: d B: e I'm not sure if this is the proper way to create shared surfaces for the 5 components. Next, I use 2D --> automesh --> QI optimization. I also tried surface deviation and edge deviation, but the results are not good. The problem is that some meshes from two different components formed on one same surface. Like the figure attached. So those two components can't formed a closed volume and it leads to failure of tetramesh. My whole modeling process are going to be built automatically by tcl script, so I can't manually delete those overlapping meshes. Maybe delete the overlapping meshes by tcl script can help, but I have no idea how to do it. I upload a zip file, which contains three files: 1. test.STEP : This is the raw STEP file that contains 5 components. 2. fail.hm : Already imported the test.STEP file, but have'nt done anything further. 3. good.hm : A model that is successfully done. This is a similar model, and my final goal is to built a model like this. model.rar
  7. There are 3 components, compA, compB and compC, in my model. My final goal is to find ten nodes that belongs to compA, which have the smallest distance from origin(0,0,0). Also, I want this procedure to be automatically done by tcl script. So, the steps I might take is like: 1. Get all node coordinate that belongs to compA. --> I don't know how to get those information. I have try some command like hm_entitylist, hm_getentityvalue, but in vain. Not sure which command can work. 2. Calculate the distances between every nodes and origin(0,0,0). 3. Sort the distances from small to large, and get the smallest 10 nodes' id. --> I can do these two steps in Matlab, but not sure it will work in Tcl script.
  8. I have another question. How to invoke the ''create " button. I found the command of "create" button inside the autocontact_tab.tcl file. The command is "::autocontact::CreateEntities $T", but it doesn't work. the command window give me an error message reads as follows: can't read "T": no such variable
  9. Thanks a lot! It's really a great help to me. I have one more question. How can I know which TCL file contains those command code. There are a bunch of TCL files in scripts folder. Is there a way to find the command of a button? At the moment, I just manually search through every file that I think the command should be. It's kind of time consuming.
  10. Hi everyone, I have problem obtaining the TCL command of auto contact pair finding. My model contains 6 components, I use the Abaqus contact manager to automatically find contact pairs for me. Manually, I can successfully find contact pairs. Since I want to run this process automatically by TCL script, I do the process manually and check out the code added in the command.cmf file. Unfortunately, the code are very long, approximately 50000 lines. Also, the code are about nodes' data and surface set, which is not I am looking for. I am looking for the command that represents the buttons "auto", "components: all", "find", "create". I will show these buttons in the figures attached. By the way, the file: raw.hm is my model. Again, my goal is to get the TCL code for finding contact pairs. Please help me, thanks! raw.hm