Defining Geometry Motion from a Text File
Duret Come
Altair Employee
Overview
This model is an EDEM coupling interface application that allows you to define the movement of a geometry based on a text file. In the attached "motion_text.zip" you will find the following:
- motion_text.cpp : The source code
- motion_text.exe : The .exe of the compiled application
- motion_text.txt: The preference file associated to the application. In this preference file:
- Line 1 : Name of the geometry that will be moved
- Line 2 : timestep, number of data points, simulation end time
- Line 3 and after : Time Vx Vy Vz ωx ωy ωz, where V is the velocity and ω is the angular velocity
- example folder : contains the example simulation deck
This can be useful when the geometry has a complex motion that would be difficult to define using only EDEM kinematics, and without having to couple EDEM with a MBD software. As an example, one can use the following workflow:
- Calculate the motion of the geometry in an MBD software
- Export the motion data (global axis, at the center of the geometry) as a text file and enter the necessary information in "motion_text.txt" as described above
- Set up your EDEM deck, start the coupling server and run the .exe application
Usage/Installation Instructions
- Set motion_text.txt with the name of the geometry to be controlled in EDEM, and define its velocities and angular velocities.
Place this file in the same folder as motion_text.exe. - Launch the simulation deck, then activate the coupling interface from the Simulator.
- Run motion_text.exe. This should automatically start the simulation.
0