-
ヒートマップの作成
Overview Altair Composeでヒートマップを作成するサンプルスクリプトです。 imagescとtextの組み合わせで作成しています。 clear all; close all figure; P = [24, 10; 10, 5; 24, 16; 8, 3]; txt = {}; for ii=1:8 txt{ii} = num2str(P(ii)); end X = reshape(repmat(1:2, 4,1), 1, 8); Y = repmat(1:4, 1,2); im = imagesc(P); set(im, 'imgrid','on') text(X, Y, txt);…
-
Bottle Drop Simulation
Overview This project presents an Altair solutions for the Fluid-Structure Interaction simulation of a water bottle impact on a table. This project includes: 2 ready-to-use Altair Radioss models Altair Radioss version is V2022.2 The Unit System is in (g, mm, ms, MPa) or (Mg, mm, s, MPa) A report with a detailled…
-
Script for Computing Shear Rates From a 3D Grid in EDEM
Overview This Python script computes shear rates for each point in a 3D grid in six tensor directions (zx,xz,zy,xy,yz,yx), as shown in Figure 1, using finite difference approximation. Shear rates for points at the boundaries of the grid are calculated by either forward or backward difference, and central difference is used…
-
Position entities in HW using two coordinate systems
Overview This HyperMesh extension allows you to position entities using two coordinate systems ( Source->Target) Usage/Installation Instructions Unzip the TransformTools.zip locally, launch HyperWorks and register the extension via File > Extension Manager.
-
Boat Section Slamming Simulation
Overview This project presents an Altair solutions for the Fluid-Structure Interaction simulation of boat section slamming. This project includes: * 2 ready-to-use Altair Radioss models* Altair Radioss version is V2020 (and compatible with later versions) * The Unit System is in (g, mm, ms, MPa) * with and without…
-
EDEM API: Particle Body Force - Field Data Coupling – Choice of Drag Models with Lift Force
Overview Attached to this post you will find the compiled dll file for a EDEM Field Data case for multiple drag models in fieldDataMultipleDragModels_3_4.zip. Model includes three different drag models, alongside models for Magnus and Saffman lift forces. Also includes scaling of the forces acting on particles, implemented…
-
Script for computing the temporal evolution of particle momentum along a vector in EDEM
Overview This python script computes the positive, negative, and total momentum of particles in a simulation, with reference to a specified vector. The script calculates the total, mean, standard deviation, minimum, and maximum magnitudes for each momentum type. The scripts calculates the momentum by multiplying the mass…
-
EDEM API: Particle Body Force – Residence Time and Distance Travelled in Geometries
Overview Here you can find the source code and example deck for a Particle Body Force model tracking the distance travelled, as well as residence time, within specific geometries. The total distance travelled by particles inside the boundaries of one or more predefined geometries (which can either be a sphere, box or…
-
Reorganize a model with one property per component
Overview One user received a model with one single property defined tofor multiple components, and he wanted to assign instead one property per component. I authored the attached script to answer his request. Please look at the Youtube video below to review the automation strategy I used for authoring this script:…
-
Rename property with component name
Overview This macro intents to rename property with the component name, whether the property is assigned to the component or the elements. Pre-Requisite See the video below for the explanation of the code: https://youtu.be/ytazF3Tkoj0 Usage/Installation Instructions use File -> Load -> Tcl script to execute the macro or…