Skip to content
Snippets Groups Projects
Commit 28073a4d authored by Noels Ludovic's avatar Noels Ludovic
Browse files

Update README.md

parent 4edf1ca7
No related branches found
No related tags found
No related merge requests found
...@@ -13,9 +13,7 @@ This repository contains: ...@@ -13,9 +13,7 @@ This repository contains:
1. [Dependencies and Prerequisites](#dependencies-and-prerequisites) 1. [Dependencies and Prerequisites](#dependencies-and-prerequisites)
2. [Structure of Repository](#structure-of-repository) 2. [Structure of Repository](#structure-of-repository)
3. [Spectral Generator of RF](#spectral-generator-of-rf) 3. [Example of application](#example-of-application)
4. [RF vizualization](#rf-vizualization)
5. [Test Cases of MC SFEM](#test-cases of-mc-sfem)
## Dependencies and Prerequisites ## Dependencies and Prerequisites
...@@ -108,21 +106,19 @@ Instructions for Debian/Ubuntu based workstations are as follows. ...@@ -108,21 +106,19 @@ Instructions for Debian/Ubuntu based workstations are as follows.
## Example of application ## Example of application
Once the parameters are defined inside of the driver script, data can be generated. This process consists of three seperate steps: In this example, we consider a multiscale lattice simulation in which the lattice cell response is substituted by a [MOAMMM stochastic neural network](https://gitlab.uliege.be/moammm/moammmPublic/syntheticdata/sveresponses) acting as a surrogate. To this end we generate 10 random fields of correlated cell length and struts radius. MC siulations can then be conducting.
### Load path generation ### Generate the Gauss-point list and mesh structures for the random field generator
Load path is generated by executing the driver script with the ```path``` argument. Form the [rnnRF](./rnnRF/) directory, run
Executing the following will generate the loading paths based on the load path parameters defined inside ```driver.py```.
``` bash ``` bash
python3 driver.py path python3 generateGPInfo.py
``` ```
After execution. the load paths are generated inside the ```Cell<cell_type>/LoadingPath``` under unique subfolders using the following **naming scheme**: After execution the ouput files are store in ```'rnnRF/GPData'```:
* The script write the Gauss points coordinates in the directory ```'rnnRF/GPData'```. One example of points coordinates can be found in [rnnRF/GPData/coordinate_P_ZZ_OnPhysical_11.csv](./rnnRF/GPData/coordinate_P_ZZ_OnPhysical_11.csv) stored following 3 coordinates, point number and point volume (for a FE simulation).
```<load_type>_R<r_max>dR<eval_step>SRate<s_rate>K<k>``` * The script write the mesh structure in the directory ```'rnnRF/GPData'```. One example of stress file can be found in [rnnRF/GPData/stress_step1.msh](./rnnRF/GPData/stress_step1.msh).
### Thread creation ### Thread creation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment