-
Prise en compte de DOPTPRM DISCRETE | couplage FLUX - Optistruct | Optimisation topologique
Hello, I am reaching out because I am encountering an issue during my topology optimizations. To give some context, I am coupling Altair Flux with OptiStruct to perform a magneto-mechanical topology optimization. The coupling works correctly and I am able to obtain several results. However, my goal is to modify the…
-
Is there a route to dynamically update set definitions
I use sets to define groups of nodes & elements for loads, constraints, output sets etc. is there a mechanism to dynamically update these prior to a run, for example all elements with a particular property/material, or entities within a component. As I develop my model I want to spend less time checking / defining sets.
-
Issue in a tcl code when move from HW2024.1 to HW2025.1
Dear All, I havea macro in tcl that is working well in HW2024.1. Running it in HW2025.1 I got error in a line as follow: *createentity sets cardimage=GRNOD name=Striker_Slaves set id_set_latest [hm_latestentityid sets] set list_comps_add [hm_getvalue comps user_names={Canale Disco} dataname=id] set command_add_comp "{comps…
-
Ductile Damage Initiation and evolution implicit
Hello everyone, I am trying to run what I would call a “simple” tensile simulation using ductile damage initiation and damage evolution. My reference is the following discussion: "DUCTILE DAMAGE INITIATION AND EVOLUTION (INIEVO) IN OPTISTRUCT IMPLICIT-EXPLICIT - Altair Community" I am working with the implicit solver.…
-
HyperView2024 - python - macro
dear All, I have created a python function to do some calculations on a .disp file from an optistruct calculation. The python n lcude graphics to upload teh .disp file and save the output needed directly as a picture in th same folder. I woudl like to run this script directly with a button in my toolbar. I generally do…
-
Delete an Object if it doesn't intersect with another object, Lua script
I have a large model that is too complicated to mesh in its entirety and I want to isolate all of the geometry within a certain radius of a point and delete the rest. I am trying to create a script to automate this because there are a lot of separate geometries that would make this very tedious. I would like the script to…
-
Selection HEXA elements by Face using tcl
Guys, how to select HEXA elements by face. I can do it by menu, but how can I select these elements and add them to set using tcl script? Thank you!
-
HyperMesh Frequency Response (Modal) Setup Using Python
Hello community, I am trying to set up a dynamic stiffness (frequency response) loadstep using Python and TCL, with the OptiStruct solver. It seems that the setup is complete in the HyperMesh GUI, but when exporting the FEM file, the displacement output control is missing. Therefore, it triggered ERROR #291. I’ve attached…
-
Can EDEM identify volume mesh
Everyone in the community ! Suddenly, I have an idea whether EDEM can identify the polyhedral particle grid, and the body grids are connected by bond. Once the bond is subjected to external force, it will be broken. Or whether this function can be realized in the form of API.
-
Python API Support for collecting entity list
Greetings, I would like to identify the element configurations & element types present in a particular component. I identified a python API based command as follows: _, elembycomp = model.hm_entityincollector_byname( collector=ent.Component, collector_name="compname", entity_type=ent.Element, config_num=0, type_num=0 )…
-
3D penta elements combine in hypermesh 2025
Overview:To combine 3d penta elements in single click Prerequisite: Usage/Installation Instructions: Post-Requisite: Release Version: 2025
-
Element Modify with S-direction update
Overview:Element Modify with S Direction update Prerequisite: Usage/Installation Instructions:Please cehck the powerpoint Post-Requisite: Release Version: 2025.0
-
hm.Collection is very slow
Hi everyone, I need to batch-process 450 different regions. For each region, I generate from node ids an RBE2. With a Python solution (hm.Collection), this operation is very slow : for a sample of "only" 85 regions, the process takes 160 seconds (around 3 minutes) and usesa lot of RAM. However, using TCL marks in Python…
-
EDEM API - Thermal Expansion
Overview The 'Thermal Expansion' API introduces thermal size change effects into your DEM particles within your EDEM simulation. This API uses the temperature change, and expands/shrinks the particles according to that change. An example is also attached that shows the usage of the API Prerequisite: EDEM 2025.1 or above…
-
File isn't opening and showing this error
I am trying to open the file, which is available in the Altair trying module, but it isn't opening and shows this kind of error after opening. If anyone has an idea about it, please let me know. I am using Hypermesh 2024.1 version.
-
Is there a way to export a PNG of the geometry/Temperature isovalues map using terminal?
When I run Flux in the GUI, I can export the visual representation of the geometry or the heat map using printGraphicToFile(fileName=img_path, width=1280, height=1024). However, when I execute the same script in batch mode from the terminal, the image is not exported. Is there an alternative method to generate the PNG in…
-
Advanced Query with Multiple Query Rules in TCL
Hello everyone, I am working on a TCL script using the Advanced Query tool to retrieve the maximum and minimum values of a plotted contour in HyperView. I am using the ExtremeRule to obtain the TopN and BottomN values. However, it seems to me that the SetQueryLogic function only lets the Advanced Query use one rule at a…
-
In HyperMesh, programmatically obtain the path/filename of the current model
Hello, I'd like to programmatically get the path/filename of the model .hm file which is currently loaded in the session using python or tcl script. Is it possible? Thanks.
-
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…