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 and Licensing
    • Modeling & Visualisation
    • Solvers & Optimization
    • 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
  • Japanユーザーフォーラム
    • ユーザーフォーラムへようこそ
    • インストールとライセンス
    • モデリング(プリプロセッシング)
    • シミュレーション技術(ソルバー)
    • データ可視化(ポストプロセッシング)
    • モデルベース開発
    • コンセプト設計と工業デザイン
    • 製造シミュレーション
    • CAE プロセスの自動化

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


Location

Found 204 results

  1. Hello, I have a script that I call from MATLAB. The script is called from the command prompt which opens Hypermesh and uploads a solver deck into the Hypermesh gui. The problem I face is that the .fem file does not upload into Hypermesh as long as MATLAB is running its own script. Also, importing any other solver deck into Hypermesh does not work either unless MATLAB is paused or by starting a new instance of Hypermesh. The code used to upload the fem file is here; #threshold values set solid_domain_threshold 0.694147 #osmooth constrols set surfacecode 2 set laplacian_iteration 20 set laplacian_feature_angle 25 #"isosurf: surfacecode1 surfacemode2 densitythreshold3 detectbridge4 lowthreshold5 distancecoefficient6 optismoothboundary7 lapiteration8 lapfeatureangle9 lapsmoothboundary10 drawrecovery11" puts "Uploading Solid Domain " *createstringarray 2 "isosurf: $surfacecode 3 $solid_domain_threshold 0 -1 0 0 $laplacian_iteration $laplacian_feature_angle 1 0" "other_params: 1 0 0 0 10 0" if { [ catch {*ossmooth_12 0 1 0 1 "C:////Users////////Large Tension Hinge Rebuilt 2.2 Stage 2 Initial_1.fem" "C:////Users////Large Tension Hinge Rebuilt 2.2 Stage 2 Initial_1.sh" "" 1 0 1 2} ] } { puts "Error During Solid Domain Tetmeshing" } else { puts "Solid TetMesh Succesful!" } What could be the source of the problem? I am running on Windows 10 home edition. Thank you A screen shot is provided to visualize the problem a little bit better.
  2. Here's a bit of a challenge and certainly one which has bamboozled me so far... Our models need to follow a particular numbering system, we already have a code which quickly renumbers literally everything in the model to a specific number range. But an add on we would like is to be able to rapidly renumber specific node numbers. In the models, we tag nodes with a label like "N-9001" meaning that node number must be 9001 (long story but we work on include files which must slot together so certain nodes must be certain numbers). At the moment this is a manual process but what I would like is a code which could createmark by tag name N9001, then renumber node to 9001. Can this be done? If so, how?
  3. Hi All, I have Abaqus odb files. I want to extract the "Equivalent Plastic Strain" "Max Deflection" "permanent Set" for last subcase and create report in html format. want to write script in hyperview...Please guide me if anyone knows about this... @tinh @Imoto Regards, PD
  4. For more information, see www.altair.com/mbd2019 and www.altair.com/mbd2019/compose. To download a free 1-year license of this software, go to https://basicportal.altair.com/downloads. Do you want to do technical calculations, scripting, data visualization or data processing (especially involving CAE or test data)? If yes, then whether you are involved in academia or industry or are just a hobbyist/maker looking for cool & useful software, this no-cost software could help you achieve your goals. The multi-language environment of Compose enables the combined use of scripts written with its open matrix language (OML) with scripts written in Tcl/Tk or Python. And OML is compatible and inter-operable with Octave and MATLAB®. Altair has also expanded its support of open standards by open-sourcing its open matrix language (OML). Interested users and contributors can download source code from the OpenMatrix website and actively participate in this burgeoning R&D community. Give Altair Compose™ and OML a try today!
  5. Hi all, Am trying to find a line of code which will select a component / assembly / set etc, when the name contains a certain string... for instance the assembly name may read "apples-001001a" but I want a script to select that assembly if the name contains "apples" as the number could change in the future. Any ideas? Cheers Andy
  6. Hi All working on 3D flange having holes..i m trying to write script for 3D mesh of it.. process i am following is : 1. washer split for holes. 2. 2D Automesh surfaces 3. Solid map I want 2D Automesh process to be interactive so that user can adjust mesh around holes to create good washer.. How can i do this..? Regards, PD
  7. HyperMeshやHyperView向けのTcl/Tkスクリプト内で、エラーが発生しても無視して継続させたい場合は、一般的なTclコマンドの『catch』を用います。 例えば、foreachなどを使って、各コンポーネント名から、アンダーバー(_)以降を消した名前に変更したい場合、「コンポーネントによってはアンダーバーが付いていない名前もあるかも知れない」ということがあるかも知れません。 実際、HyperMeshでは*renamecollectorコマンドを使って、「旧名」「新名」を引数で指定しますが、旧と新が同じ名前の場合、エラーとなりそこで処理が中断します。 何か処理に不安があるのであれば、『catch』を追加しておくと、エラーを無視して継続をさせることができます。 -例- foreach compname [hm_entitylist comps name] { set newname [lindex [split $compname _] 0]; catch {*renamecollector components $compname $newname}; }    図.実行前                                     図.実行後
  8. Hi, I would like to export all the pages in my hyperview with required screen resolution. In Hyperview there is an option in Menu- Export* - Multiple Images - old/Advanced where I can specify width and height seperatly. But this option is restrictred to 'Export each window separately total page size'. This means If i have 4 windows in a page this option is exporting images of individual window with specified resolution. I would like to export all the pages with required width and height. At present I am trying to using command window with following commands by opening every page: hwi GetSessionHandle sess sess CaptureScreenToSize png 01.png 1400 593 I am trying to write a tcl/tpl script to automate this process (Export all pages with given width and height). It would be appreciated if someone can help me with this code. Thanks in advance Agassi
  9. I'm new to Hyper mesh Tcl scripting, I would like to create a script which reports out the minimum & maximum numbers (i.e. numbering range) of Elements as well as Nodes (Grids) of all the includes imported into the current HM window. Any help is greatly appreciated !!
  10. I have a results file with 120 subcases. Each subcase has its own contour plot and results. I want to retrieve the max displacement for each subcase and write it to a file without having to view each subcase. Ideally, I would like the legend value of the displacement to be "fixed" not "scientific". I've written a couple TCL scripts for Hypermesh, and am familiar with the puts for writing to the file, but have no idea what any of the commands are for the hyperview tcl.
  11. I have components in the assembly and i want to find the IDs of surfaces which are really close or almost touching other component. Is there any way to find out those details?
  12. Hi all, Am writing a script which builds a number of loadcollectors and loadsteps. What I would like is a script which interrogates the loadcollector, gets its name and then creates a loadstep with the same name. I can build the loadcollectors and the loadstep but I am missing the interrogation bit. Cheers Andy
  13. Hello, I would like to extract the node point stresses after an analysis using a tcl script for further analysis in Matlab. Control cards only allow me to export the GPSTRESS as HM or H3D which is not useful for running an analysis outside of hypermesh and hyperview. What functions should I use to accomplish this? Or is there an easier way? Thank you, -Eric
  14. Can we get a number of how many nodes created by my previous operation? (I want to use that number and decide next operation) OR I am able to get temp nodes out of my previous operation. I have temp node and other nodes. Can I count temp nodes on display? (one way to do it I can maskall and count displayed, However, I want to give user visualization of nodes created with respect to displayed component) So any way around it? Thank you
  15. Hello Developers, I need to confirm an issue persisting in Hypermesh (All Versions). Issue : When I am changing user profiles multiple times with the help of GUI provided by Hypermesh. There arises a case when this GUI behaves unexpectedly. After changing User profile for more than 8-10 times. The GUI starts behaving unexpectedly. (Click Something , It Responds with something else) None of the Button in Menu bar is working rather they are affecting/changing Buttons Area/Frame Area in GUI. Kindly, revert me with any information regarding this issue. Thanks in advance for your valuable time. Regards Piyush
  16. Hello all, Anyone knows how to open the panel shown below using tcl commands?
  17. I have created an assembly model with around 200 RBE2 connections. My requirement is to measure the length of all the RBE2 element and save it as text or excel file. The number of RBE2 elements will vary from project to project. Is there any TCL script to measure the length of displayed RBE2 element and save the details as required. Or is there any other method to make the process simple by displaying the length of all the RBE2 element on screen, so that the length can be checked visually. Thanks, Prabhu P
  18. Hi all, I have imported geometry from a CATPart into HyperMesh and now I am trying to get the names of the surfaces in the model. I am using following commands and till now have no success. (I can get the IDs of surfaces e.g. 1,2,3,4 ..) *createmark surfs 1 all set surfsList [hm_getmark surfs 1] hm_getentityvalue surfs 2 name 1 -byid The first two commands return results (hm_getmark returns the IDs of surfaces: 1,2,3,4,5). However the last command (hm_getentityvalue from Reference manual) doesn't return anything at all, (not even any error). My goal is to get the names of the surfaces (via any Tcl command). I will be very thankful for any help. Best regards, Mubeen
  19. Hello everyone, I would like to know if someone has already defined class objects in hyperview in a TCL script. I saw in the install path (C:\Program Files\Altair\14.0\hw\tcl\hwie\init.tcl) that oriented objects are used from the hwie package ::hwie::oo:: and I wonder if we can use this package to add user-defined class. Tkanks in advance for your help Michael
  20. Hi, I am trying to change the Result type in the Deformed shape in hyperview to "EigenVector(v)" using tcl command. The default option is Displacement . Need to change that to Eigen vector. IT will be great if some can help me out. Thanks in advance Regards, Emil
  21. 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 ?
  22. 例えば、「aabbccddeeddggqqlldd」という文字列から、「dd」だけを消した状態にしたい場合は、下記のようにします。 方法1:splitコマンドを使う方法 set ORIGINAL "aabbccddeeddggqqlldd"; set REMOVE "dd"; set NEWNAME ""; foreach S [split $ORIGINAL $REMOVE] { if {$S != ""} { append NEWNAME $S; } } puts "$NEWNAME"; 方法2:regsubコマンドを使う方法 set ORIGINAL "aabbccddeeddggqqlldd"; set REMOVE "dd"; set NEWNAME [regsub -all $REMOVE $ORIGINAL ""]; いずれも実行すると、「aabbcceeggqqll」が返るハズです。
  23. Hi, I wish to create a tcl script to record the steps I perform in Hyperview, something like a MACRO. However I see that it Hyperview does not offer an option to do so like in Hypermesh. Can anyone help me with that?
  24. In order to define a plane containing a circle, I need the center of the circle and the normal of the plane. Getting the center is simple using hm_getbestcirclecenter. I have not been able to find a means of getting the normal. If it were possible to get the coordinates of two points on the circle, I could use those with the coordinates of the circle center to calculate the normal. However, I haven't been able to find a means of getting those two points.
  25. 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.
×