Jump to content

Search the Community

Showing results for tags 'tcl'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Altair Support Forum
    • Welcome to Altair Support Forum
    • Installation , Licensing and Altair One
    • Modeling & Visualisation
    • Solvers & Optimization
    • Multi Body Simulation
    • Conceptual design and Industrial design
    • Model-Based Development
    • Manufacturing Simulation
    • CAE Process Automation
  • Academic Partner Alliance Forum
    • APA - Composites
    • APA - CFD & Thermal
    • APA - Vehicle Dynamics
    • APA - Manufacturing
    • APA - Crash and Safety
    • APA - Noise, Vibration and Harshness
    • APA - System Level Design
    • APA - Structural and Fatigue
    • APA - Marine
    • APA - Optical Design
  • Japanユーザーフォーラム
    • ユーザーフォーラムへようこそ
    • Altair製品の意外な活用例
    • インストール / ライセンス / Altair One / その他
    • モデリング(プリプロセッシング)
    • シミュレーション技術(ソルバー)
    • データ可視化(ポストプロセッシング)
    • モデルベース開発
    • コンセプト設計と工業デザイン
    • 製造シミュレーション
    • CAE プロセスの自動化
    • エンタープライズソリューション
    • データアナリティクス
    • 学生向け無償版(Altair Student Edition)

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Interests


Organization

Found 325 results

  1. Hi all İ cannot create bar from the intersection nodes. İ created list from nodes however linemesh_preparenodeslist1 1 does not accept the list *createmark components 1 "pshell1" "pshell2" *createmark undefined 2 *findbetween nodes components 1 0 0 2 *createlist nodes 1 [hm_formnodelistfrommark nodes 2] *linemesh_preparenodeslist1 1 60 Best Regards
  2. hello everyone, Can anyone tell me how to convert RBE2 elements to RBE3 elements or reverse too (i.e RBE3 to RBE2). Thanks, Sanket
  3. Hi all I would like number selected nodes by distance according to a node or coordinate system. I thought creating a list from createmarkpanel. Then by using hm_measureshortestdistance, i tried to get the closest node and renumber it. After numbering i removed the node from list . In for loop i supposed it will be ok. However i missing something. I am looking for your help Regards *createlistpanel nodes 1 set nodelist [hm_getlist nodes 1] set nodelist_num [llength $nodelist] puts $nodelist_num for {set i 1} {$i<=$nodelist_num} {incr i} { *createmark nodes 1 $nodelist set closenode [hm_measureshortestdistance2 120 120 550 nodes 1 0 0] set cnode [lindex $closenode 4] *createmark nodes 1 $cnode *renumbersolverid nodes 1 [expr $i+52300000] 1 0 0 0 0 0 regsub $cnode $nodelist "" nodelist set nodelist_num [llength $nodelist] puts $nodelist_num *clearmark nodes 1 }
  4. Hi Let's say i have 3 components Let's Name as 1, 2, and 3. 2 Component is intersecting with other two components. Now i want trim all these component at intersection. i can do with *surfmark_trim_by_surfmark here i want to delete or move the trimmed part or surfaces of 2 component which is inside surf volume of other two components (1 & 3) Ho can i do this ? Any idea Guys. Thanks in Advance. @tinh @Q.Nguyen-Dai@vipin @Adriano A. Koga Regards, PD
  5. What is tcl command to select elements by configuration (Especially Free Edges(PLOTEL))? Thanks.
  6. I need to create a macro, which would help me to display the name, material properties and dimensions of a component by clicking/selecting it, moreover if the components contains multiple parts it would help to select only those parts whose Properties tag i wish to display. Any help in this regard is very much appreciated.
  7. Hi all I would like to ask how get an area of selected elements.I wrote an tcl to select the area as an example shown in figure below. I want to get the x and y values. Is it possible to get the values?
  8. Hello, In Hypermesh I would like to update the node coordinates of the nodes of a certain component in my model (new coordinates based on results of some simulation). I have a separate text file with per node ID the new coordinates. With TCL, I want to go through this list and update the node coordinate, using *setvalue or *nodemodify. However, either of these commands take ~100 [ms] per node to update. Since I have more than 50,000 nodes, this will take too long. Exporting the model to a text file and editing it there is the current workaround but not preferable: I need a hypermesh file with the correct node coordinates and (very important, and the main source of my problem) the connection with the geometry. So, I thought to use threads. However, this does not seem to work in Hypermesh. If I run the example file from some TCL book (which runs fine in the normal TCL shell) nothing happens: threads are created and destroyed but if I send something to the thread to be evaluated, nothing happens. Can anyone help me how I can modify the coordinates of multiple nodes at the same time by using some kind of parallel processing? Edit: I also tried *setvalue with multiple nodes on a mark but then all nodes get the same coordinate. For example: *createmark nodes 1 1 2 3 *setvalue nodes mark=1 coordinates ="[list {0.0 0.0 0.0} {0. 0.1 0.1} {0.0 0.1 0.2}" (without the "" but otherwise it was not shown in this message) results in all 3 nodes having coordinate 0.0 0.0 0.0 Kind regards, Loesje
  9. I have hundreds of points that I was thinking I wanted to read in from a csv file to create nodes, and local coordinate systems for each of those nodes, but the end goal is to be able to apply a force at the node locations according to the local coordinate systems that were created. I read somewhere here, that nodes are not related to the mesh in any way, so Is there a way then to find the nearest node location in the existing mesh closest to the node I create from the csv file? Also, once a node is created by: *createnode $X_Pos $Y_Pos $Z_Pos 0 0 0 is there a way to capture the node ID that was created so that it can be referred to when creating the local coord system using *systemcreate3nodes ?
  10. Hello all, is there a way to create sets contain lines, surfaces or points. My aim is the call those sets or lists in a tcl script. thanks in advance
  11. Hi, I have a structure made of 3d solid map hex mesh elements, ie. primitive unit cells (see primitive image attached). I have turned my hex mesh elements into bar2 elements. I would like to create a central node to the primitive unit cell and connect bar elements to this central node (see body centred cubic image). I know this will most likely be a TCL script problem but I'm not sure how the script would be written. I have successfully created the primitive unit cell and used config edit tool to create bar2 elements (CBEAM's) But I would now like to do this with elements connected to a central node. A comparison of what I'm attempting to do can be seen in this paper: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6265793/pdf/materials-11-02073.pdf I look forward to hearing from the community, Kind Regards, Laurence
  12. Hi all, I'm trying to put a script together which uses tickboxes but can't seem to find the command to produce a tickbox. Anyone have any ideas? Cheers Andy
  13. Hello, first of all im new to Hypermesh and all the scripting. I made a tcl script, which reads a file (like .txt .UFF) and creates nodes from coordinates mentioned in the file. Everything works perfect in the tclsh-environment, it looks like this: % set fp [open "test.UFF" r] file5e9730 % set file_data [read $fp] 1 1 1 1 10 0 0 1 1 1 1 0 10 0 1 1 1 1 0 0 10 I skipped the rest of the code because I think its not necessary. If I execute the script in Hypermesh I get the following error: couldn't open "test.UFF": no such file or directory If I dont read the data file and define the matrix shown above manually, everything is good. So why doesnt Hypermesh find my file? Its definitely in the folder where I start the session from. I hope my problem is clear and someone can help me.
  14. When I run this command using below tcl hv -b -tcl Image_Capture1.tcl example.modl example.res This is the results log I see on my linux terminal: Ready Loading Report... Applying Report... Ready Ready Capturing... Ready It's stuck at "Ready" and unless I press Ctrl+c or enter it doesn't exit back to terminal. How can I make the code to exit to terminal after the proc is over? proc BatchMain { } { set inputdeck [lindex $::argv 6] set resultfile [lindex $::argv 7] puts $inputdeck puts $resultfile set t [::post::GetT] hwi GetSessionHandle sess$t sess$t GetProjectHandle proj$t hwi OpenStack sess$t LoadReport Batch_Process.tpl sess$t ApplyReport Batch_Process replace true false 2 $inputdeck $resultfile set numpages [proj$t GetNumberOfPages]; for {set i 1} {$i <= $numpages} {incr i} { proj$t SetActivePage $i proj$t GetPageHandle pg$t $i pg$t Draw pg$t ReleaseHandle sess$t CaptureScreen png image_$i.png } hwi CloseStack proj$t ReleaseHandle sess$t Close } BatchMain
  15. Hi i have solid component. having 6 holes . 2 holes having bolts. i want find No of total holes and No of bolt holes like 6 and 2 how can we do this ...please help I am using this script... with this i can get to total number and and center of each hole...now how can i proceed.. i tried find attach option but did not work. set centlst []; hm_holedetectioninit *createmark surfs 1 all hm_holedetectionsetentities surfs 1 hm_holedetectionsettubeparams tube_shape=2 tube_type=0 hm_holedetectionfindholes 4 set n [hm_holedetectiongetnumberofholes] if { $n > 0 } { puts "Number of holes = $n" for {set i 0} {$i < $n} {incr i} { lappend centlst [lindex [hm_holedetectiongetholedetails $i]"3] } } hm_holedetectionend
  16. Hello, I am running the below command on a linux server hv -b -tcl Image_Capture.tcl example.modl example.res . and I get below error: Loading Report... Applying Report... Invalid character in integer field: '##'. This is the first time I am running this command on this server. I have attached the tcl file for reference. Please advice!
  17. Hi all There are a lots of bdf file from different team mates. I would like to use hypermesh to check all bdf file for duplicate elements or free nodes etc.. Is it possible to select multiple bdf files once and run these check rules? Best Regards
  18. Hello, I am looking for converting the userprofile from Radioss to Optistruct in the Batch mode. I dont want to convert the model. I just want to change the solver/user profile to Optistruct and use the options there. There are few commands available: hm_framework loaduserfprofile: This is a GUI query and worked only at the command prompt of hypermesh GUI. *solverconvert: This can convert the solvers. But from the 'https://connect.altair.com/CP/kb-view.html?kb=149260', the solver conversion isn't supported for Radioss to Optistruct. I would be grateful if anyone has tried the same and can share your view. . Thanks
  19. Hello Everyone, is there any command to get dependent nodes of RBE2 elements? Regards, Sanket
  20. 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
  21. HyperViewのResultsブラウザには、読み込んでいる結果の周波数リストや時刻暦リスト(Simulationリスト)が表示されます。       このリストを、テキスト形式で出力したいという場合には、「File⇒Run⇒Tcl/Tk Script」から、下記のファイルを実行してみて下さい。 HV_SimulationLabelToTextFile.tcl ※ファイルのダウンロードには、必ず当フォーラムへのサインインが必要となります。サインインしない状態でファイルをダウンロードすると、ファイルが存在しないといった旨のメッセージが表示されますが、実際にはサインインするとダウンロードが可能になります。
  22. Hi all I created a table with Fx,Fy,Fz values with many load cases. I would like to get the max value for each column. How can i get the max value of a table's column with TCL? Best Regards Seçkin
  23. Hey all, I am a bit confused right now. I did some exercise with hyperview tcl. I set up a real simple script: # Hyperview Exercise1 hwi OpenStack hwi GetSessionHandle session1 session1 GetProjectHandle project1 project GetPageHandle page1 1 page1 GetWindowHandle win1 1 win1 SetClientType animation hwi CloseStack When running the script multiple times it says several times: session1: object with this name already exists. I thought, wit hhwi CloseStack all handles would get released which is not the case? Someone seeing the same behaviour with those lines running 2 times? Thanks in advance and best regards, Merula
  24. Hello All, I want to delete elements on YZ plane. How can i delete elements using tcl commands? Regards, Sanket
  25. Hi, I have written a script in TCL that changes the material properties using an automatic number generator. The script works when I write it into the console, (The interpreter at the bottom of the page, not sure of the correct name). But when I run the script using the run TCL script button nothing happens. I have attached the script. It changes the material properties of a MAT9ORT card. Can someone take a look at my script and give me some advice on how it can be changed to run correctly. I have also attached my hm file for which I am attempting to change the material properties. Kind Regards, Laurence Maskell YMbeamchanger.tcl clevis2.0run.hm
×
×
  • Create New...