LESdb.dll + material database: physical and mechanical material properties and simple strength calculations according to American and European codes
The dynamically loadable library LESdb.dll provides a programming interface, which allows retrieving physical and mechanical properties of the materials from the database as well as evaluating of maximum allowable stresses and performing simple strength calculations in accordance with various design codes for pressure vessels and piping.
The functions exporting by the LESdb.dll can be called from user programs or libraries written in any programming language, supporting standard conventions of function calling.
Since the Visual Basic for Application also supports these calling conventions, the functions of LESdb.dll and the material database can be used for example in MS Excel worksheets.
The screenshots on the next pages show example usage of the LESdb.dll and material database.
After the installation, the DLL should be activated.
The activation can be performed using the provided activation tool or by means of direct calls of the DLL functions les_getsystemid and les_setactivationcode.
The system identification code retrieved from the activation tool or from the les_getsystemid function has to be sent to email@example.com. We will send you an activation code, and you can complete the activation procedure using the activation tool or calling the function les_setactivationcode.
The activation tool:
A simple Visual Basic application is used for comparison of two materials. The LESdb.dll with material database provides physical and mechanical properties and evaluates maximum allowable stress values in accordance with different design codes:
An Excel-Worksheet below shows evaluation of minimum required wall thickness for straight tubes and bends under internal pressure in accordance with PD 5500 and ASME B31.3 codes. The values in the cyan-colored cells – maximum allowable stresses at design temperatures and minimum required thicknesses – are automatically evaluated with LESdb.dll.
This Excel-Worksheet shows evaluation of minimum required wall thickness for straight tubes under external pressure in accordance with PD 5500 and AD 2000 codes. The values in the cyan-colored cells – maximum allowable stresses and minimum required thicknesses – are automatically evaluated with LESdb.dll.