-
How to get outer FE free edge for any FE component ?
I tried different methods to get the outer FE free edge for given component like free edges with features by varying feature angles… I couldn't get solid logic for scripting.. please let me know if there is any shortcut or procedure to detect outer edge of FE component. Please consider this as a priority Best Regards…
-
Requesting for an example file/model that uses simlab.getProperty
Hello, I am using the Simlab python library for some automation. I would like to use the simlab.getProperty function from the library but I do not understand the syntax completely. Do you have an example file or additional details that you could share? Thank you, Aashish Product/Topic Name : Using Simlab 2025.1
-
Bearing CAD simplification
Hi, In hypermesh software, I was trying to automate the bearing cad simplification using TCL script. But all the trials which I did was having some manual inputs and I was trying for full automation. If any script is there will be helpful for me. Thanks.
-
EDEM API - Frictional Heat
Overview The 'Frictional Heat' API introduces frictional heat effects into your DEM particles within your EDEM simulation. This API calculates the heat generated due to friction and allocates equal heat flux to the interacting elements. An example is also attached that shows the usage of the API. Prerequisite: EDEM 2025.1…
-
Ridgid Contact Friction - User Expression
Hello, I'm still quite new to MotionView and am triying to implement a custom friction model for my simulation. Since the default method works based on the slip velocity, it can't handle stiction. My simulation requires to determine the poit, where the contact begins to slip aswell as the amount of force, which is…
-
Given a ply, what's the most efficient way of calculating its area using the Python API?
To tackle the above problem I'm doing: import hm import hm.entities as ent model = hm.Model() collection = hm.Collection(model, ent.Element, hm.Collection(model, ent.Set, f"Name={ply.name}")) area = model.hm_getmass(collection) This seems to work just fine but starts to run a lot slower when dealing with hundreds of plies…
-
[SimLab] Body에 대한 3D 요소 개수를 csv 파일로 출력해주는 스크립트
Overview: SimLab에서 선택한 Body에 대해 해당 Body에 포함되어 있는 전체 요소 개수를 확인하는 기능이 있습니다. 좌측 Assembly browser에서 Model 혹은 Body 선택 후 우클릭 » Details 를 선택하시면 됩니다. 만약 각 각의 Body에 대한 요소 개수를 확인하고자 하면 각 Body별로 반복 작업을 수행해야 합니다. 해당 스크립트는 각 Body에 있는 3D 요소 개수를 파악하기 위해 작성되었으며, csv 파일로 각 Body에 대한 3D 요소 개수를 출력해줍니다. 사용 방법은 아래의 내용을 참고해주시기 바랍니다. 해당 스크립트는 3D…
-
[HyperMesh] Abaqus RBE 요소를 constraints로 변환하는 스크립트
AbaqusCAE에서 인식되는 1D 요소인 *KINEMATIC를 생성하기 위해선 *KINEMATIC COUPLING로 생성되는 RBE2가 아닌 constraint로 생성해주셔야 합니다. 참고로 constraint라는 entity는 HyperMesh 2022버전 이후 생긴 Abaqus 인터페이스 키워드 중 하나입니다. 해당 스크립트는 기존 모델에 있는 RBE2를 constraint로 변환시켜 주는 스크립트로, 아래의 순서로 사용합니다. Abaqus 인터페이스의 HyperMesh 실행 후 적용할 모델 불러오기 상단 File » Load » Script(Tcl/Tk) 클릭 후…
-
EDEM API - Collision Metrics
Overview: Attached to this post you will find the source code and the compiled dll/so file for the calculation of some of the most common collision metrics. These metrics include the collision energy loss, duration and relative velocity. You can learn more about how the energy loss is calculated in this post. Prerequisite:…
-
Best Contact Model for Simulating a Partially Molten Cohesive Zone in EDEM
Hi everyone, My questions ia about choosing the most suitable modelling approach. I’m currently working on an EDEM simulation where DRI particles fall into a slag and molten metal bath inside a furnace. The particles form a feed pile that slowly melts to produce slag and hot metal. My goal is to accurately simulate the…
-
Difference between windows bat run simlab scripts VS simlab GUI “automation-scripting-play-auto”
Hello everyone: I have a question about excuting simlab scripts. when i run scripts by GUI “automation-scripting-play-auto”,i can get nice inp file,but when i run the same script using bat command, the output file have many differences against GUI, my bat command is "call 'c:\program…
-
Qurey csv file export tcl script.
This is the query csv file export tcl script. *hyperview_qurey.tcl When you execute the tcl file, a csv file is created in the pwd path. (You need to select the model file and result file in the GUI). 1. you can specify the file in advance through variableization. The first file is the model file, the second file is the…
-
EDEM fiber generator spreadsheet
The FiberBuilder.xlsx spreadsheet can be used in order to procedurally generate fibers with various shapes in Altair EDEM. The position and orientation of all particles composing the fiber are automatically calculated and can be directly imported as a meta-particle within the software. A sample simulation including fibers…
-
[OptiStruct] 다수의 해석 파일을 batch로 순차 실행시키는 스크립트
해당 스크립트는 사용자가 지정한 경로 및 파일 확장자에 대해 확인하여 OptiStruct를 배치 모드로 실행하는 스크립트입니다. 다수의 OptiStruct input 파일을 순차적으로 실행시키고자 할 때 사용할 수 있습니다. 사용 방법: py 파일을 텍스트 편집기로 열어 아래의 내용을 수정하고 저장 osPath : OptiStruct가 설치된 경로 지정 path : 해석 인풋 파일이 위치한 최상위 폴더 경로 지정 ncpu : 해석에 사용할 CPU 수량 입력 cmd 창 열기 py 파일 위치로 이동 python *.py 명령어를 입력하여 py 파일 실행 참고 사항:…
-
Python extension for Hyperworks 2022.3 .. How to obtain / install?
How do install the python extension for Hyperworks 2022.3? Hyperworks 2022.3 is already installed and working on my person computer. I would like to automate task in Hyperworks with python.
-
How to suppress a popup after autocontact?
Hi all, what can I do to suppress or skip the popup window after an Autocontact, so that the Python code can run automatically? (I have to click on either one of the button, otherwise HyperMesh wouldn't continue) When using the Python API Recording tool, the following tip was given: collection = hm.Collection(model,…
-
[Hvtrans] 다수의 해석 결과 파일을 h3d 파일로 변환하는 python 스크립트
PhysicsAI를 사용하기 위해선 H3D 확장자의 해석 결과 파일이 필요합니다. Hvtrans를 사용하면 지원되는 해석 결과 에 한해 H3D 파일로 변환할 수 있습니다. 해당 스크립트는 사용자가 지정한 경로 및 파일 확장자에 대해 확인하여 Hvtrans를 배치 모드로 실행하는 스크립트입니다. 한번에 많은 양의 해석 결과 파일을 H3D 파일로 변환하고자 할 때 사용할 수 있습니다. 사용 방법: py 파일을 텍스트 편집기로 열어 아래의 내용을 수정하고 저장 hvtransPath : hvtrans가 설치된 경로 지정 path : 해석 결과 파일이 위치한 최상위 폴더 경로 지정…
-
Automatic export text file about Model Information
Overview: The script automatically extracts model information (e.g., material, mesh type, mesh count). If the model is not suitable for analysis, it will notify you of any missing or incomplete data. This allows you to verify both the model details and any potential errors. You can also use this simplified information when…
-
How to create fastener vectors without geometry.
Hi everyone! This should be a simple question: how can I create fastener vectors without geometry? My component is a curved panel with holes for fasteners. I’ve already inserted RBE2 elements with a central node at each hole. Now I want to create a line/vector/coordinate system normal to the surface at each hole. I found…
-
Is it possible to automate a screencapture of simsolid results?
Description: I'd like to automate modal analysis using Simsolid and capture images. I usually do this via optistruct and hyperview. Is it possible to achieve this with Simsolid? I know I can run modal analysis in batch mode via Inspire (python) or Simsolid (javascript), however I don't think there is a screen capture or…
-
TCL Script to Publish to Powerpoint
Is there a way to write a TCL script that publishes all hyperworks windows to a powerpoint template? Thank you!
-
Clone multiple components by retaining the props and mats
this macro helps to create a new cloned entity with its details of selected component by user input elements.
-
System creation Macro for hole offset
this macro creates the system by user defined hole nodes automatically
-
Get System id using TCL
Description: i am trying to get the system id assigned to an CBUSH element using hm_getentityvalue command like the following, set prop_id [hm_getentityvalue elems $elem_id "propertyid" 0 -byid]. please help me with this Product/Topic Name : Hypermesh, TCL, script
-
Custom Guidebar - How to request a nodelist from user
Description: In our own extension I built my own guide bar to request a node list. Is there a documentation for the definition of the guide bar inside a context xml? How must this be changed to get/request a nodelist from user? In my example I tried to use "nodelist" but the gui shows a pure node selector. <root> <context…