-
ROMブロックの信号をベクトル化するスクリプト
Overview Altair ActivateのAPIを用いて、ROMブロックの信号をベクトル化するスクリプトを作成しました。 romAIやHyper StudyからのPyfitモデル、FMUのブロックは入出力ポートの数が多く、接続が大変な場合があります。 今回のスクリプトを使用すると、入出力ポートをmux, demuxブロックによりベクトル化しますので、接続が容易になります。 Pre-Requisite スクリプトとサンプルモデルはこちらです。 Usage/Installation Instructions Post-Requisite 使用製品:Altair Activate よくあるエンジニアからの質問はこちら
-
HWCを使用してHyperGraphで素早くグラフを作成する
Overview 1Dシミュレーションで大量の計算を流す場合は、合わせてグラフ作成の自動化が必要です。今回はHyperWorks Command (HWC)を用いてHyperGraphで素早く大量のグラフが作成可能か実施してみました。 TCLと組み合わせることで、短時間で様々なケースの比較グラフを作成することができました。 WordやPowerPointにも出力できますので、レポート作成時間も短縮できます。 Pre-Requisite サンプルスクリプトはこちらです。 Usage/Installation Instructions Post-Requisite 使用製品:HyperGraph、Altair Activate…
-
ヒートマップの作成
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…