Commit 2f618d97 authored by Jan Siwiec's avatar Jan Siwiec

Update LMGC90.md

parent 19698196
Pipeline #11198 passed with stages
in 24 minutes and 48 seconds
......@@ -12,7 +12,7 @@ The LMGC90, version 2017.rc1 is available on Salomon via module `LMGC90`:
$ ml LMGC90
```
The module sets up environment variables and loads some other modules, required for running LMGC90 python scripts. This particular command loads the default module, which is `LMGC90/2017.rc1-GCC-6.3.0-2.27`, and modules:
The module sets up environment variables and loads some other modules required for running LMGC90 Python scripts. This particular command loads the default module `LMGC90/2017.rc1-GCC-6.3.0-2.27` and modules:
```console
GCCcore/6.3.0
......@@ -29,13 +29,13 @@ Python/2.7.9
## Running Generic Example
LMGC90 software main API is a Python module. It comes with a pre-processor written in Python. There are several examples that you can copy from the `examples` directory which is in `/apps/all/LMGC90/2017.rc1-GCC-6.3.0-2.27` folder. Follow the next steps to run one of them.
LMGC90's main API is a Python module. It comes with a pre-processor written in Python. There are several examples that you can copy from the `examples` directory which is in the `/apps/all/LMGC90/2017.rc1-GCC-6.3.0-2.27` folder. Follow the next steps to run one of them.
First choose an example and open a terminal in the directory of the copied example.
### Generation
To have more information on the pre-processor open in a web navigator the file [docs/pre_lmgc/index.html][pre_lmgc].
For more information on the pre-processor, open in a web navigator the file [docs/pre_lmgc/index.html][pre_lmgc].
To run an example, if there is no `DATBOX` directory or it is empty, run the Python generation script which is mostly called `gen_sample.py` with the command:
......@@ -53,12 +53,12 @@ Now run the command script usually called `command.py`:
$ python command.py
```
To get more information on the structure on command scripts read the documentation opening the file [docs/chipy/index.html][chipy] in a web browser.
Once the computation is done, you should get the directory `OUTBOX` containing ASCII output files, and a `DISPLAY` directory with output file readable by paraview.
For more information on the structure on command scripts, read the documentation opening the file [docs/chipy/index.html][chipy] in a web browser.
Once the computation is done, you should get the directory `OUTBOX` containing ASCII output files, and a `DISPLAY` directory with an output file readable by paraview.
### Postprocessing and Visualization
The ASCII files in `POSTPRO` directory result from the commands in the `DATBOX/POSTPRO.DAT` file. To have more information on how to use these features read the documents [manuals/LMGC90_Postpro.pdf][LMGC90_Postpro.pdf].
The ASCII files in the `POSTPRO` directory result from the commands in the `DATBOX/POSTPRO.DAT` file. For more information on how to use these features, read the documents [manuals/LMGC90_Postpro.pdf][LMGC90_Postpro.pdf].
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment