Altair Compose Frequently Asked Questions
Altair Compose is an environment for doing math calculations, manipulating and visualizing data, programming and debugging scripts useful for repeated computations and process automation. A plethora of general-purpose and domain-specific libraries make Compose a powerful tool for enhancing and streamlining any engineering workflow.
This FAQ is an all-in-one resource that covers how to get started using Compose, basic concepts you need to script successfully, extensive training modules and many useful links to either tips, discussion forums or interesting use cases. It is constantly being updated, so be sure to check it out whenever you are stuck or want to enhance your scripting and automation skills.
Getting Started
Checkout Compose’s product webpage for info on more features, releases and capabilities. You can download the latest version of Compose Standard and Academic Edition in the Altair One Marketplace, while Compose Personal Edition can be downloaded here (and doesn’t require a license).
Keep in mind that Compose is available for Windows and Linux but there are specific supported operating systems and minimum requirements for hardware and memory.
Compose Features & Languages
Check out these key features and good practices available in Compose if you want to get started in less than five minutes:
- OpenMatrix Language (OML)
- Python
- Script Reuse
- HyperWorks Integration
- Plotting
- Applications
- File Input and Output
- Troubleshooting
- Compose Environment
All the previous links are contained within the Compose Help Documentation webpage, here you can also go over a very nice User Guide and Reference Guides for overviews and details of all functions supported by OML.
Learning Resources
The best way to get a solid foundation on how to use Compose and OML is to go over the courses available at the Altair Learning website. These extensive eLearning modules contain examples and exercises for you to become fluent in using Compose:
Exercises and extra content are found in the course modules (main link for each course).
There are also domain-specific modules available:
Short tutorials are an efficient learning tool on concrete topics:
- Compose-1000: Author OML in Compose
- Compose-1100: The Compose Debugger
- Compose-2000: Initial OML Script
- Compose-2020 Manipulate Matrices in OML
- Compose-2025: Cells and Structs in OML
- Compose-2030: Create Plots in OML
- Compose-3000: Strings in OML
- Compose-3010: Read and Write ASCII Files in OML
- Compose-3015: Read Data from Text Files
- Compose-3020: Read CAE Data in OML
- Compose-3030: Compose and OML in Batch Mode
- Compose-3500: Linear Algebra Operations in OML
- Compose-4000: Compose Math Functions for Fitting Curves
- Compose-4010: Solve Ordinary Differential Equations
- Compose-4020: Solve Differential Algebraic Equations
- Compose-4030: Optimization Algorithms in OML
- Compose-4040: Compose Math Functions for Digital Filtering
- Compose-5010: Python and OML in Compose
Free eBooks covering different topics are available. These are more extensive resources worth checking out:
- A Guide to Learn Math, Scripting, Data Analysis & Visualization with Altair Compose
- Signal Processing with Altair Compose
- System Dynamics and Controls Using Altair Compose
- Learn Modeling of Elastoplastic Materials with Altair Compose
Community & Forums
The Altair Community site is a place in which you can join our online community of experts, collaborate and find more ways to leverage Altair products. There is a specific Compose Forum, in which you can reach out for help and engage in discussions with fellow users, and the Altair Community Challenges Forum, which releases challenges for several Altair products, including Compose, and is therefore another source of exercises and useful resources.
Compose Knowledge Base Articles & Altair Exchange scripts
Several useful articles for Compose can be found in the Knowledge Base in the Altair Community site. New articles are constantly added as Compose’s capabilities evolve. These articles might prove useful to look at if you’re looking are stuck in a step of your workflows, if you are curious about differences in some commands, if you want to explore Compose integration with other tools or if you just want to look at new ways in which to leverage Compose:
Compose Tips & Tricks:
- Add Grid on an Image
- Altair Compose Custom Library Creation
- Altair Compose for System Dynamics
- Altair Compose Interface Tour
- Altair Compose New Feature Overview (2019)
- Altair Compose Simulating a Solar Eclipse
- Altair Compose System Dynamics
- Altair Compose: Coupling with Python
- Creation of Chirp Signal
- Encryption of OML and Python Scripts within a Folder
- Integrating Altair Compose and other Altair applications
- Modal Assurance Criterion (MAC) Calculation
- Plot Digitizer - Image to Curve Converter
- Python Script for Applying Google Translation to PPTX
- readmultvector, readcae: why are they 2?
- Run Activate cosimulations in batch from Compose
- Run loops concurrently using parfor loops
- Share data between UI callbacks - Alternative to “global”
Signal Processing:
- Aliasing App
- Altair Compose Digital Data Compression
- Altair Compose Signal Processing
- Auto PSD & Cross PSD Calculation
- Butterworth Filter Applied as Lowpass and as Highpass
- Data Tool Utility - Frequency 2 Time Domain
- Detrend signal example
- Digital Pre-Distortion
- Find peaks of ECG (electrocardiogram) signal
- Image Compression example
- PSD 2 Time: time-series based on PSD signal
- Remove spikes from a signal
- Rough Road Profile Generation
- Signal Conversion of EMI Receivers
- Sound Generation GUI
- This article deals with time signal conversion and usage as loading for different types of dynamic analysis with Optistruct.
Compose for NVH:
Webinars:
- CAE Engineers - Get more productive using Altair Compose
- Digital Twin
- Interactive Use of Altair Compose for Calculations, Scripts, CAE Data Readers, and Post-processing
- Webinar: 0D Modeling & Simulation Overview
- Webinar: Model-Based Development of Mechatronic Products
Compose in the CAE workflow:
- 3D contour generated through Compose with Matrix Browser
- Advanced H3D Writing Tips
- Altair Compose CAE Test Data
- Altair Compose for Processing CAE/Test Data
- Altair Compose: HyperWorks Automation Tool
- Altair Compose: Read CAE Data Natively
- Append new results from a CSV into an H3D file with Altair Compose
- CAE Post-Processing and von Mises stress sorting
- Calculation of Reserve Factors with Fortran Library
- Compose & HyperMesh: use OML functions in Matrix Browser
- Compose & OptiStruct Synergy: OML & DRESP3
- Coupling with Python to generate TABLES1 cards
- EV Range Prediction with Multi-Disciplinary Systems Simulation
- Extracting and Post-Processing CAE/TEST results in Altair Compose
- Heavy Machinery Systems Integration using Altair Simulation products
- MD_Plugin extension for HyperWorks
- Modal Extraction of CAE Results
- OML functions in HyperGraph: How To
- Post-process CAE data and visualize in HyperView automatically using Altair Compose
- Processing CAE Data via Advanced Mathematical Scripting
- Read CBAR/CBEAM Data and Respective PBAR/PBEAM Data
- Read CBUSH Data
- Read contents of h5 and hdf5 files and write them in Excel workbook
- Read CORD2R Data
- Read DMIG Data and K, C and M Matrices
- Read IDs from a Nastran Set
- Read IDs from an OptiStruct Set
- Step by step: OML user-defined function in HyperGraph
- TABLED1 Generator
- TABLES1 Generator
- Wheel Automation for Bearing Load Generation
- Whiplash Injury Assessment
Compose & Flux:
- Altair Flux : Compute efficiency maps on a Flux project in an hour ! By combining the new macro CreateLookUpTable, with Compose scripts.
- Automated 3D Simulation of an Axial Flux Machine using Altair Flux
- Drive Flux 2018.1 with Compose
- Multi-phase motor analysis in Altair Flux - Look Up Tables computation with new macro : CreateLookUpTableFromTMProjectDQ_nphases
- Rotor Eccentricity modeling in Flux. Easy parametrization with new 6 degrees of freedom feature
- System (1D) modeling of e-motor and drive using high-fidelity e-motor models from Flux and FluxMotor (permanent magnet synchronous motor with field-oriented control)
- Automated 3D Simulation of an Axial Flux Machine using Altair Flux
Compose & PSIM:
- Automate PSIM using Python in Altair Compose
- Compose – PSIM Integration Starter’s Guide 1: PsimSimulate
- Compose – PSIM Integration Starter’s Guide 2: PsimASimulate
- Compose – PSIM Integration Starter’s Guide 3: PsimSimview, PsimWriteGraphFile, PsimReadGraphFile
Compose & Feko:
Compose & HyperStudy:
- Compose and HyperStudy: Polynomial Fitting of Damping Curve
- Script 1073 - 1D Bar Crippling
- Script 1076 - Trim Vector Cross Lookup
Compose for Fatigue Analysis:
- Altair Compose Fatigue Damage Evaluation
- Goodman Diagram - Damage Calculation
- Miner's Rule for Fatigue Damage Calculation
- Resample Displacement Signal for Durability Analysis
Compose & other Math Tools:
- Error Log with Differences between Octave's .m and Compose's .oml
- Octave m2oml File Extension Replacement
- Using Excel as Front-/Back-end to Compose Script for Calculating Home Heating Efficiency
- Write Excel reports with formulas using Altair Compose
Compose & MotionView/MotionSolve:
- Automated MDL 2 XML Converter
- Extract and store results from multibody simulations with Altair Compose
- MotionSolve Post-Processing using OML and HyperGraph
- OML Scripting For Pre-Processing of MotionView
HyperMath (Legacy):
Compose for Vehicle Dynamics:
- Aircraft Mesh Representation for Flight Dynamics
- Demonstration of Vehicle Dynamics using Equations
- Rear Wheel Steering Control of a Vehicle
Compose for Materials Engineering:
- Advanced Post Processing - Neuber Plasticity Correction
- GUI: Cantilever Beam with a Tip Load
- LAW32_swift_hardening
- Material Characterization – Swift Hardening Based on Hill Criterion
- Neuber's Plasticity Correction
- Yeoh_fitting
Compose for Optimization:
- Altair Compose Curve Fitting
- Altair Compose for Curve-Fitting: System Identification
- Cantilever Beam Optimization Routine to Minimize Mass Subjected to a Normal Stress
- Root-Finding Newton-Raphson Algorithm
- Script 1072 - Compare Curves Metric
Altair Tools Written in OML with Compose
- Altair Material Modeler: A tool for modeling the nonlinear behavior of bulk materials like metals, plastics, rubbers and foams. Processing test material data also becomes much faster and easier with the AMM. It is written in OML and launched from Compose, even though it has to be downloaded separately from the marketplace.
- Altair Compose Molder Toolkit: This toolkit is a collection of utilities and libraries for injection molding and other simulations with polymers. It is written in OML and can be launched from Compose or the file explorer. It is included in the HyperWorks Mechanical Solvers package in the marketplace.
Remember this FAQ is constantly expanding so make sure to check back the next time you need some help. Reach out to hwsupport@altair.com in case you need further assistance from our team.