A space to share your Altair scripts, models, workspaces and extensions with the community.
Overview Attached is the source code for the Relative Wear model using version 3.6 of the API. Please note this is Relative Wear only, please include a Base and Rolling Friction model into any simulation. Usage/Installation Instructions The source code consists of the CPU-API code updated to version 3.6 and the GPU-API…
Overview Attached you will find an example of how to handle strings when working with the GPU API. The short version is you handle everything that deals with strings on the CPU and use parameterData as a proxy when working with the GPU. Pre-Requisite The example deck was made from scratch using EDEM 2023.0, so those…
Overview Attached to this post you’ll find an example that uses a body force to update the particle temperature based on a temperature field, as a simple means of modelling convection. This is a one-way coupling, meaning the temperature field is static and not changing based on the particle temperatures. Usage/Installation…
Overview Liquid_transfer_SP.zipA meso-scopic liquid exchange contact model with liquid content dependent adhesion is attached here. It is implemented as a plug-in for EDEM using the EDEM Applications Programming Interface and is compatible with EDEM CPU and CUDA GPU solvers. The model is intended for use with meso-scale…
Overview This macro adds a new curve based on a user selected curve, by cutting it at the max X value. Pre-Requisite Plot Macros can be loaded through preference files, as the example attached. To reference the preference file, the user has to invoke following menu from the HyperWorks GUI: From here, the preference file…
Overview This script will create a HyperView measure entity of type Distance Between for 2 nodes. For the current displayed time step / increment it will write the MAG/X/ Y/Z distance values to an external file and to the TCL Console. Pre-Requisite Edit lines 9 / 10 to define node-IDs to be used in the distance…
Overview This Plot Macro will create a Note with X-value info on every according Y=0. Pre-Requisite Plot Macros can be loaded through preference files, as the example attached. To reference the preference file, the user has to invoke following menu from the HyperWorks GUI: From here, the preference file has to be 1.…
Overview These scripts calculate the average size of a user solid element selection. Scripts use different calculation methods: "AverageElemSize_FEsolids.tcl" Command hm_getelemcheckvalues gives element length value for solid elements. Average of all elements in mark is calculated by dividing "sum of element lengths" by…
Overview This script calculates the average size of a user element selection. Average is calculated as follows through command hm_getaverageelemsize: quad elements: average size of one element = sqrt(1/2 * (longest diagonal) * (sum of the parallel altitudes)) tria elements: average size of one element = sqrt(area) The…
Overview This script will create a HyperView measure entity of Type Minimum Distance. It will use node-by-Comp method for both measure pairs used. Pre-Requisite Edit lines 9 / 12 with Component IDs used for the measure calculation (measure pairs). The method used will be node-by-Comp for both measure pairs. Pair 1 can…
There's a wealth of content waiting for you to explore! Need support or have a question? Login or join our community.
Share your models, scripts, workspaces, and more with the Altair Community.