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


  • Content count

  • Joined

  • Last visited

  • Days Won


tinh last won the day on May 15

tinh had the most liked content!

About tinh

  • Rank
    Super User
  • Birthday 11/04/84

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Country
  • Interests
    Meshing-checking tools tcl/tk
  • Are you University user?

Recent Profile Visitors

5423 profile views
  1. Hi, Suddenly remember I did a such your work when preparing voronoi mesh model for crystal analysis You can use *nodemarkbypath to retrieve nodes on constrained edge like this (in root file squarecantil.inp you keep only 2 constraints at 2 corners): comm.TCL squarecantil.inp
  2. Hi, T is data tree, it's a tk widget. try command: ::autocontact::CreateEntities .autocontactGui.outer_frame.results_tree
  3. Hello Samuel I found that node1~6 are preserved nodes (panel analysis > preserved nodes) so clear these free nodes cantileveroriginal_Fixed.inp I don't know abaqus. You have to search its manual for options to output stress at corners. and in hyperview, remember to tick on "use corner data"
  4. Hi. Interior free edges will be closed to other elems so they can be detected by penetration/proximity checking.
  5. Thanks Samuel Try following google guide https://www.mathworks.com/matlabcentral/answers/472-can-i-run-a-bat-file-with-matlab?requestedDomain=www.mathworks.com Or ask some malab users.
  6. There are some ways to find command bound to a tk button. but you may make hm hanging. So go to scripts folder and parse tcl files is better way I will not reveal them, it is safer for you once you become knowledgeable about tcl, you'll find it easily
  7. Hi Samuel, try this script: set Dir [file dirname [info script]] *feinputpreserveincludefiles *createstringarray 5 "Abaqus " "Standard3D " "LOADCOLS_DISPLAY_SKIP " "SYSTCOLS_DISPLAY_SKIP " \ "CONTACTSURF_DISPLAY_SKIP " *feinputwithdata2 "#abaqus/abaqus" "[file join $Dir inputfileremesh1.inp]" 0 0 0 0 0 1 5 1 0 #starting elem size is 5.0 for {set Size 4.5} {$Size>=0.5} {set Size [expr $Size-0.5]} { *setedgedensitylinkwithaspectratio 0 *elementorder 1 *setusefeatures 3 *createmark elements 1 all *defaultremeshelems 1 $Size 2 2 1 1 1 1 0 0 0 0 2 30 *setusefeatures 0 #export data *createstringarray 2 "HMBOMCOMMENTS_XML" "EXPORTIDS_SKIP" *feoutputwithdata "[file join [hm_info -appinfo SPECIFIEDPATH TEMPLATES_DIR] feoutput abaqus standard.3d]" "[file join $Dir inputfileremesh1_$Size.inp]" 0 0 2 1 2 } destroy . Sample files: (copy this 3 file into a same folder, edit file path in remesh.bat then save and run it) comm.TCL inputfileremesh1.inp remesh.bat
  8. Hi, it is my lazy way to look for wrapping gui commands open a C:/sample.tpl file in hyperview: rename tk_getOpenFile tk_getOpenFile_Old proc tk_getOpenFile args {return C:/sample.tpl} hw::ExecuteMenuItem 188 .guiMainWindow.statusbar.bbox.bapply invoke .guiMainWindow.statusbar.bbox.bcancel invoke rename tk_getOpenFile "" rename tk_getOpenFile_Old tk_getOpenFile
  9. Hi, looking for relevant code in scripts folder and find what you need: #open contact manager source [file join [hm_info -appinfo SPECIFIEDPATH hm_scripts_dir] abaqus Contact_wizard CW.tcl] #open autocontact ::autocontact::CWautocontact::AutoContactGui #invoke selecting components>all *createmark comps 1 all set ::autocontact::CWautocontact1::newElems [hm_getmark comps 1] ::AbaqusCW::HighLight off if {$::autocontact::CWautocontact::flag==1} { set ::autocontact::CWautocontact::flag 0 } if {[llength $::autocontact::CWautocontact1::newElems]} { ::autocontact::CWautocontact1::AddCompsToTable } # set proximity distance set ::autocontact::CWautocontact1::proximity_entry 5.0 # invoke "Find" button ::autocontact::CWautocontact::UpdateInterface
  10. You have to make a loop (example for, while, foreach,...), each cycle changes mesh size, and remesh, and export. If you do not know much about tcl, you can loop in matlab, each cycle change mesh size and exported inp filename in comm.tcl
  11. Hi - open notepad - copy paste this code: "C:\Program Files\Altair\2017\hm\bin\win64\hmopengl.exe" -batchmesher -noconsole -tcl "C:\Program Files\Altair\2017\hm\bin\win64\comm.tcl" - save file as "sample.bat"
  12. He was wrong at 'puts dofl' and 'puts wgh1', the puts command returns nothing
  13. Hi, You can use spring or bush elements to model the phenomena refer to CELAS / CBUSH in optistruct reference guide
  14. Hi, Could you try running hm by below matlab command: system('"C:\Program Files\Altair\2017\hm\bin\win64\hmopengl.exe" -batchmesher -noconsole -tcl "C:\Program Files\Altair\2017\hm\bin\win64\comm.tcl" &') I don't know how to quote in matlab, but if you cannot run above command, just make a batch file and invoke that batch file, example file C:\sample.bat : "C:\Program Files\Altair\2017\hm\bin\win64\hmopengl.exe" -batchmesher -noconsole -tcl "C:\Program Files\Altair\2017\hm\bin\win64\comm.tcl" and in matlab, call it by: system('C:\sample.bat &')
  15. Hello @Udhay Rohith Because I am using hm13, so I will check it on hm2017 and update to you soon.