Jump to content

Harish

Members
  • Content Count

    17
  • Joined

  • Last visited

About Harish

  • Rank
    Beginner

Profile Information

  • Country
    India
  • Are you University user?
    No
  1. Hi Livil Lyle, "after 10000" I gave as an example. Actually, I would like the execution of the program to be halted by 30 minutes. Basically, I'm trying to write a "save as" reminder program, which saves the file every 30min in a specified format.
  2. Hello, Is it possible to work on hypermesh when we are running a Tcl/Tk script? I would like to use "after 10000" command to halt the execution of the script for some time and I would like to work on hypermesh meanwhile. Thank you.
  3. I would like to select nodes using "by face" command and I have ID of one of the nodes on a face using a TCL script in Hypermesh. Thank you.
  4. I would like to get the name or the ID of component in which node by using node ID. #25 is node ID *createmark nodes 1 25 set nodeID [ hm_getmark nodes 1] *createmark comps 1 "by node" 25 set compName [hm_getmark comps1] Above two line are giving error, as component name is not possible to get through node. Is there any other way to get this done? Thank you.
  5. Once you activate this toolbar, you can start writing and running TCL scripts. Toolbar to create and run TCL scripts.
  6. How to plot the data as shown in below figure using TCL script after .odb file is loaded in the Hypergraph2D? In Y-Type I would like to select RF2-Reaction force(Time History) , all the nodes in Y Request , Value in Y component and plot them.
  7. My problem is not completely solved but taking your script as a reference I have written a script. Its working now. Thank you very much for your help.
  8. I would like to have same elements on both the short edges of the rectangle and mesh with default element size on the other two long edges. In the second image(rectangular surface on the bottom right corner) above it can be seen , the element density is 2 on the shortest edges. But I have set the Density1 = 5 in the script.
  9. Hi smallSurfs.hm surfMesh.tcl I'm using the exact code what you have written. The selected surface is meshed but not according to the element density specified in the code. I closed the hypermesh and started it again. Now I'm getting the error. But the mesh is not according to the density specified. On one of the shortest edge density is 5 and another shortest edge its 10.
  10. I'm selecting the top surface as shown in image. Getting following message: Few questions regarding the code: Can you please explain what does below line do? lassign [join $LineList] Line1 -> Line2 puts "[lassign [join $LineList] Line1 -> Line2]]" Above line is following output. What are 43 and 42 numbers signify? 1 43 1 42 1 15 1 45 1 15 1 45 1 43 1 42 1 45 1 46 1 45 1 46 1 15 1 45 1 43 1 42 1 15 1 45 1 43 1 42 1 45 1 46 1 15 1 45 1 43 1 42 1 45 1 46 1 15 1 45 1 43 1 42 1 43 1 42 1 15 1 45 1 45 1 46 1 15 1 45 1 15 1 45 1 15 1 45 1 45 1 46 1 43 1 42 1 43 1 42 1 43 1 42 1 43 1 42 1 15 1 45 1 43 1 42 1 18 1 20 1 24 1 26 1 24 1 26 1 18 1 20 1 18 1 20 1 26 1 22 1 24 1 26 1 18 1 20 1 26 1 22 1 9 1 8 1 5 1 4 1 5 1 4 1 5 1 4 1 5 1 4 1 5 1 4 1 6 1 9 1 6 1 9 1 5 1 4 1 9 1 8 1 6 1 9 1 5 1 4 1 5 1 4 1 5 1 4 1 5 1 4 1 5 1 4 1 5 1 4 1 5 1 4 1 5 1 4 1 5 1 4 1 5 1 4 1 5 1 4 1 5 1 4 1 5 1 4 1 5 1 4 1 5 1 4 1 5 1 4 1 5 1 4 1 5 1 4 1 48 2 48 2 48 2 48 2 48 2 48 2 48 2 15 2 15 2 2 2 2 2 44 5 47 5 25 5 47 5 41 5 40 5 41 5 40 5 25 5 47 5 44 5 47 5 44 5 47 5 41 5 40 5 25 5 47 5 41 5 40 5 25 5 47 5 44 5 47 5 41 5 40 5 25 5 47 5 44 5 47 5 41 5 40 5 25 5 47 5 25 5 47 5 41 5 40 5 44 5 47 5 41 5 40 5 41 5 40 5 41 5 40 5 44 5 47 5 25 5 47 5 25 5 47 5 25 5 47 5 25 5 47 5 41 5 40 5 25 5 47 5 17 5 19 5 23 5 25 5 23 5 25 5 17 5 19 5 {19 15 21 26 22} 5 {23 24 25 26} 5 {17 18 19 20} 5 {19 15 21 26 22} 5 {23 24 25 26} 5 17 5 19 5 19 5 21 5 23 5 25 5 17 5 19 5 19 5 21 5 3 5 7 5 1 5 3 5 1 5 3 5 1 5 3 5 1 5 3 5 1 5 3 5 11 5 10 5 11 5 10 5 1 5 3 5 3 5 7 5 11 5 10 5 1 5 3 5 1 5 3 5 1 5 3 5 1 5 3 5 1 5 3 5 1 5 3 5 1 5 3 5 1 5 3 5 1 5 3 5 1 5 3 5 1 5 3 5 1 5 3 5 1 5 3 5 1 5 3 5 1 5 1 5 1 5 1 5 3 5 1 5 3 5 1 5 3 5 1 5 3 5]
  11. How can I set element density for two shortest lines of a rectangular surface and leave the other two lines with the default element density based on predefined element size? I have the line IDs. #Selected Surface set surfIDs [ hm_getmark surfs 1] *createmark lines 1 "by surface" {*}$surfIDs #Line list set lineList [hm_getmark lines 1] #Line IDs set lineId1 [lindex $lineList 0] set lineId2 [lindex $lineList 1] set lineId3 [lindex $lineList 2] set lineId4 [lindex $lineList 3]
  12. I have a surface and I'm able to get the list of lines on it. But I'm not able to get the list of points on a line. set surfIDs [ hm_getmark surfs 1] *createmark lines 1 "by surface" {*}$surfIDs set lineList [hm_getmark lines 1] puts "Number of lines on the selected surface: [llength $lineList]" #Trying to extract points using line id set lineId1 [lindex $lineList 0] *createmark points 1 "by id" $lineId1 set pointList [hm_getmark points 1] puts "Number of points on the selected line: [llength $pointList]"
×
×
  • Create New...