Script for Computing Radial and Tangential Velocity Components of a Particle

Elis Bright_20685
Elis Bright_20685 New Altair Community Member
edited May 2023 in Altair Exchange

Overview

This EDEMpy Python script calculates the radial and tangential velocity components of a particle with reference to a line in space. As illustrated in Figure 1, the position vector is the location of the particle and is orthogonal to the reference line. v_radial is the projection of the particle’s velocity vector (v) on to the position vector, and will therefore be parallel to the position vector. v_tangential is the difference between v and v_radial.

The script along with an example simulation can be found here.

image

Figure 1 - Radial and Tangential Velocity Components of a Particle

 
The script gives EDEM custom properties for v_radial and v_tangential, for which the different components are:

  0 = vector magnitude

  1 = x-component

  2 = y-component

  3 = z-component

The script writes custom properties for the EDEM simulation deck and should therefore be executed either from another EDEM instance or otherwise externally. 

 

Table 1 - Comparison Between Radial and Tangential Velocity in a Cone Test

Radial Velocity Tangential Velocity
image image

Pre-Requisite

EDEM 2022.3

Usage/Installation Instructions

The settings of the script are contained in Velocity_analyst_settings.txt and defined in Figure 2.

image

Figure 2 - Radial and Tangential Velocity Script Settings Key