Research Article

A GPU-Based Parallel Procedure for Nonlinear Analysis of Complex Structures Using a Coupled FEM/DEM Approach

Algorithm 3

// GPU kernels for stress analysis
__global__ void GenerateStiffness();   // To generate element stiffness matrices
__global__ void DoKernel();     // To do nodal and element calculation of stress field
__global__ void CalcEnergy();     // To calculate kinetic energy
// GPU kernels for thermal analysis
__global__ void GenerateConductivity(); // To generate element conductivity matrices
__global__ void DoKernelT();     // To do nodal and element calculation of thermal field