ra3D is a highly optimized numerical simulation software for contact mechanics. It performs calculations faster than standard finite element codes. The reference situation involves two solids sliding against each other in a horizontal plane at a given velocity V.
1.1 Purpose of the Code
The ra3D code models a reference situation where two solids slide against each other in a horizontal plane at a given velocity V:
- Slider: The upper solid, which is mobile and subjected to gravity.
- Track: The lower solid, which is fixed and has a rough upper surface.
As the slider moves, the contact forces tend to push it upward, while gravity opposes this effect. The slider can either follow the track profile (contact phases) or experience loss of contact (flight phases). Both solids are elastic, and the impacts between them induce elastic deformations of the track and the slider.
The ra3D code calculates:
- The trajectory of the slider.
- The contact forces.
- The deformation state of the slider and track at any time.
1.2 Code Overview
The ra3D code consists of two main programs located in the ra3d/bin directory:
-
Solver (
ra3d): A program written in C. It is executed with the command:ra3d data.txtwheredata.txtis the data file containing the mechanical properties of the solids, kinematic conditions, and a few parameters for the numerical schemes. This file also includes the names of two roughness profile files:up.proanddown.pro.
The solver generates a results file,data.ra3, containing all deformations, velocities, and forces at each node of the roughness profiles.
The content of this file is configurable using the--outoption of thera3dcommand. Type:ra3d --helpto see the available options. -
Post-processor (
mra3d): A MATLAB script (mra3d.m) for visualizing the results. To use it, typemra3din a MATLAB command window, then open a results file (data.ra3).
Features of the post-processor include:- Displaying the two rough surfaces (
up.proanddown.pro). - Visualizing the motion of both solids and their deformations.
- Plotting vibrations at a node.
- Listening to the sound resulting from these vibrations (friction noise).
- Displaying the two rough surfaces (
1.3 Installation
To install the ra3D code:
- Unzip the
ra3d-version.tar.gzfile using the command:tar -xvf ra3d-version.tar.gz - Navigate to the
ra3d-versiondirectory:cd ra3d-version - Follow the instructions in the
READMEfile to complete the installation.
1.4 Example
A complete example is provided with the code, including:
- A data file:
data.txt. - Two roughness profile files:
up.proanddown.pro. - A script to run the solver and visualize the results.