-
Python script to create nodes grid and change the node ID so they are ordered.
Overview: This Python script creates a grid of nodes. Every new node that is created is renumbered so that the node IDs are in ascending order starting at a specified ID.
-
Set Creator
Overview: Utilizes the Elems, Name, and Id information of the Component to create a Set list with various names for different combinations of users. You can customize it by adding the User Define field. Post-Requisite: Run the script Select the components & Set type Set name -Set the name placement order Complete Release…
-
Enter the total load to calculate the area of each element and Appy pressure
Overview: This script generates pressure after calculating the area of each element by entering the total load. The total load can be expressed by selecting Force / Pressure. You can use the surface/element/node buttons to display it anywhere you want. Post-Requisite: Select the type of load you want to apply. 2. Enter the…
-
Separates solids contained in volumes between specified values into separate components
Overview: This script separates solids contained in a volume into separate components between user-specified values. Post-Requisite: import Solid file (Only one component) 2. Click "OK" 2. Click "OK" 3. Enter the minimum volume value. > "OK" 4. Click "OK" 5. Enter the maximum volume value. > "OK" 6. Create a component with…
-
Auto-generating components
Overview: This Script creates any number of Components at once. You need input conditions for the Component name and number of components. Post-Requisite: Name the component to create 2. Specify the number of components to create 3. Check the list of created components 4. Component IDs are assigned sequentially from 1 and…
-
Automatically Create a COG Mass at the Center of Gravity of Each Component
Overview: This script automatically creates a Mass element at the center of a Solid when a density value is entered. Select Solid and enter Density to create CONM2 at the center of Solid. Post-Requisite: Usage/Installation Instructions: Post-Requisite: Solid entity file import 2. After running the script, select solid 3.…
-
Automatically Create a COG Mass at the Center of Gravity of Each Component
Overview: This script automatically creates a Mass element at the center of a Solid when a density value is entered. Select Solid and enter Density to create CONM2 at the center of Solid. Post-Requisite: Solid entity file import 2. After running the script, select solid 3. Enter the density and click OK 4. This…
-
Ferrite Ring Coil macro
Overview This macro will create a ring coil with ferrite core based on user input. Once the ring coil has been created, only a wire port and a voltage source need to be created. A near field request already exists. VEP is used for the ferrite core. A video to demonstrate the workflow is attached. Usage/Installation…
-
Automatically Split a Solid Part into Multiple Solid Parts
Overview This is a script that automatically Split a Solid Part into Multiple Solid Parts. If the imported CAD solid information is in one Component, you can easily divide the Component by solids. This is handy if you have a large number of Solids. The Component is named based on the text the user enters. EX) if it is…
-
Customized Keyboard Shortcut - Hide/Show Connectors
Overview Hide: < Show: shift+< Usage/Installation Instructions To add customized keyboard shortcuts. Go to: View-> Keyboard ShortCuts and select the tab "Scripts". There you can add your scripts (attached).
-
EDEM-HyperStudy Connector: Installers and User Guide
Overview The new connector is a plugin for Altair HyperStudy that enables the setting of various Altair EDEM parameters directly via a simple and intuitive workflow. The connector also allows an easier connection with Altair HyperMesh for geometry optimization and DEM-CFD coupling projects. Access to the parameters for…
-
Pressure load magnitude by equation for Radioss PLOAD
Overview Script to create PLOAD cards for Radioss model based on an equation. Time function curves and Load Collectors, and Set Segments are automatically created. Steps: * User can select elements graphically. * PLOAD card for each element is created. * Magnitude of each PLOAD is calculated by an equation, to be found in…
-
EDEM API: Particle Body Force - Particle Growth Cycle
Overview This API allows you to simulate any kind of particle expansion/growth/swelling and shrinkage in EDEM. There is also an example attached that shows the usage of the API. Usage/Installation Instructions * Extract the zip file attached. Copy the 'ParticleGrowthCycle.dll' and 'ParticleGrowthCycleInput.txt' from the…
-
Custom Script for HAZ definition with Spring (Contact) Weld Line realization in Radioss User profile
Overview In Radioss, weld lines are frequently modelled with a combination of spring type13 and type2 contacts (tied contacts). This setting can be retrieved as Spring (Contact) in connector controls in HyperMesh. This control does not support HAZ definition. The attached script allows to identify elements from connected…
-
HyperMesh Python API Notepad ++ Template Generator
Overview Notepad++ is a free and open-source text editor available for Microsoft Windows. It is a popular weapon of choice among engineers to write/edit code or review/modify solver input decks. The editor supports syntax highlighting and auto-completion for many languages, including Python, via XML templates located in…
-
Transform Airfoil Point Data into a Surface in Altair Inspire Using Python
Overview If you're working with airfoil point data and need a quick way to transform it into a surface in Altair Inspire, this Python script is perfect for you! It reads a CSV file containing the X and Y coordinates of an airfoil, scales them down (assuming the points are in millimeters), and creates a spline in Inspire.…
-
EDEM API - Contact Model: Coefficient of restitution as a function of impact velocity
Overview This API allows the user to simulate dynamic impacts by implementing a version of the Hertz-Mindlin model, where the coefficient of restitution (COR) varies as a function of the impact velocity. The API reads data from a preference file, which contains a table of impact velocities and their corresponding COR…
-
EDEM API - Contact Model Example: Liquid Exchange Model
Overview The presence of moisture content leads to cohesion due to capillary forces. When liquid surfaces are nearby, a liquid bridge is created leading to an attractive force due to surface tension and the hydrostatic pressure inside the bridge. Moisture content also leads to the development of viscous forces which are…
-
Importing Motions from MotionView into EDEM
Overview Introduction Currently the only way to bring a motion from MotionView into EDEM is the MotionView-EDEM coupling. The main issue with this approach is that when using the coupling in this way EDEM and MotionView need to constantly exchange data about particles and geometries, which can greatly slow down the…
-
Demo physicsAI Custom Features Hook
Overview This is a demo of a physicsAI custom features hook for including shell thickness, materials, and loads from an Abaqus solver deck. You can use this file as inspiration when writing your own hook. This demo hook was written by Jonathan Ollar. Pre-Requisite Solver decks must be present next to the simulation result…
-
Synctools: Tools Dealing With Comps/props/mats Rename/renumbering
Overview This tool bar provides several functions which help to fulfil naming conventions and to synchronize names and ids of comps/props/mats. renumber/rename props by copms, mats by props and vice versa add and truncate trailing or leading strings from name create props to existing comps create comps per prop (useful…
-
Create element sets for washers
Overview These 2 macros allow to generate automatically element sets from washers. It will select the two raws of elements around each hole. Please comment (with a #) the line *appendmark elems 1 "by adjacent" if you just want the first raw of elements. "Create element set from washer v0.1.tcl" can be used if you have…
-
Automatic spot connectors generator using nodes coordinate data (*.csv)
Overview This is a script that automatically creates spot connectors using nodes coordinate data. To use it, you need nodes coordinate data saved as a CSV file. Only files with x, y, and z values in columns B,C, and D, respectively, and with values starting at row 2 are supported. When a file is imported, the data is…
-
Mastering Inspire with Python API for Advanced Simulations
Overview This example script showcases how to set up a structural model and use the OptiStruct solver to perform a linear static analysis. Pre-Requisite Inspire v2024 Usage/Installation Instructions 1. Download the file to a working directory 2. Open script and run within Inspire IPython console (OR) Run from command-line…
-
Script to Segregate Attached Surfaces to Individual Components
Overview A simple tcl HyperMesh script to segregate surfaces in a single component to multiple components based on attached surfaces. Usage/Installation Instructions 1) Run the tcl script in the HyperMesh session. 2) Select components with multiple surfaces in a single component. The script will find surfaces attached…