Computing Power to the People

The Official Qarnot Blog

< Back

LMGC-90 on Qarnot Cloud – documentation


by Grégoire Soleil - January 27, 2022 - Documentation

Introduction

LMGC90 is a free and open source software dedicated to multiple physics simulation of discrete material and structures.

A list of publications which used the software can be found here.

The documentation can be found here.

Versions

Versions available on Qarnot’s cloud plateform.

Release yearVersion
2022
2021
2021
2021.rc1

If you are interested in another version, please send us an email at qlab@qarnot.com.

Prerequisites

Before launching the case, please ensure that the following prerequisites have been met.

Test Case

We use an example provided by LMGC90 team of a brick wall.

You need to unzip this folder to be able to use it on Qarnot Cloud.

Launching the case

Copy the following code in a Python script and save it next to the lmgc90_wall_example folder you unzipped before. Be sure you have copied your authentication token in the script (instead of <<<MY_SECRET_TOKEN>>>) to be able to launch the task on Qarnot.

lmgc90.py

Make sure that all input files are in the same folder named lmgc90_wall_example. Your working directory should look like this :

  • lmgc90_wall_example/
    • DATBOX/
    • command.py
  • lmgc90.py

To launch this script, open a terminal in your working directory and execute python3 lmgc90.py & .

It will launch the execution of lmgc90 on Qarnot and wait until the execution is over to download the results.

Results

At any given time, you can monitor the status of your task on Console. You should now have an output folder in your working directory on your computer and a lmgc90_output bucket on Qarnot’s Console containing all output files.

It should comport 3 directories :

  • DISPLAY
  • OUTBOX
  • POSTPRO

The ASCII files in POSTPRO directory result from the commands in the DATBOX/POSTPRO.DAT file. To have more information on how to use this features read the following document :

The files inside the DISPLAY directory can be visualized with paraview. It is advised to read the .pvd files which ensure time consistency. The different output files are:

  • tacts: contactors of rigid objects
  • rigids: center of mass of rigid objects
  • inter: interactions
  • mecafe: mechanical mesh
  • therfe: thermal mesh
  • porofe: porous mechanical mesh
  • multife: multi-phasic fluid in porous media mesh

That’s it! If you have any questions, please contact qlab@qarnot.com and we will help you with pleasure!

Results opened in Paraview

comments

Leave a Reply

Your email address will not be published.