Jump to content

Pandurang

Members
  • Content Count

    122
  • Joined

  • Last visited

  • Days Won

    3

Pandurang last won the day on March 17

Pandurang had the most liked content!

4 Followers

About Pandurang

  • Rank
    Expert User

Profile Information

  • Country
    India
  • Are you University user?
    No

Recent Profile Visitors

1208 profile views
  1. Use this code: variable templatefilename [hm_info templatefilename]; proc createMat {name E G Nu RHO id} \ { variable templatefilename *collectorcreate materials "$name" "" 35 *createmark materials 1 "$name" *dictionaryload materials 1 "$templatefilename" "MAT1" *attributeupdateint materials $id 3240 1 2 0 1 *attributeupdatedouble materials $id 1 1 0 0 $E *attributeupdatedouble materials $id 2 1 0 0 $G *attributeupdatedouble materials $id 3 1 0 0 $Nu *attributeupdatedouble materials $id 4 1 0 0 $RHO *clearmark materials 1; } createMat Steel 54000 72000 0.36 0.0000000065 1; createMat "Al 2024" 72000 80769.2 0.33 0.00000000785 2; createMat "Al 6065" 54000 72000.2 0.36 0.0000000065 3; createMat "ttl" 34000 71000.2 0.37 0.0000000067 4;
  2. Set your require time using this hwIAnimator SetCurrentTime sec and then take deflection
  3. HI Create one userpage.mac file. code in that file to create button: *createbutton(5, "Deflection of Cantilever", -1, 0, 10, YELLOW, "Launch Solution To Cantilever Beam.", EvalTcl, "C:\Users\pdd914713\Documents\Test.tcl") *beginmacro("CantileverBeam") *endmacro() keep this file in current working directory...then restart the Hm. You can find this info in HW help as well. HyperWorks Desktop Applications > HyperMesh > HyperMesh Tutorials > Customization > Scripts:
  4. set SurfsList {1 2 3 4 5 6 } eval *createmark surfaces 1 $SurfsList *deletemark surfaces 1 Try this code
  5. *createmark prop 1 all; foreach pid [hm_getmark prop 1] { *setvalue props id=$pid STATUS=2 1819 = 1 set offsetvalue [expr 0.5 * [hm_getvlue prop id = $pid dataname = thickness]]; *setvalue props id=$pid STATUS=2 1821 = $offsetvalue; } *clearmark prop 1;
  6. This is to get id of current component: hm_getvalue component name = [hm_info currentcomponent] dataname = id
  7. Use this one to get current component Name hm_info currentcomponent
  8. Hi *currentcollector component Component_name use this api before creating element
  9. If mesh is uniform.. then by selecting 3 nodes its is possible. -get the center node of 3 nodes -create plane with these nodes -find the faces of this component -select the nodes "on plane" option what you say @tinh
  10. WS::Server , WS::Client, WS::Utils from where i can get these packages. I am not able find these on tcl Packages.
  11. Open Hm--> Press F1 key--> under Help Tag You can find "Reference guide"
×
×
  • Create New...