diff --git a/SFEM/README.md b/SFEM/README.md index 90fb2faef3a82f6fad88928b15626cb1730011fd..4328e1195dcb71787a9279d6e364de4aeda3441c 100644 --- a/SFEM/README.md +++ b/SFEM/README.md @@ -13,9 +13,7 @@ This repository contains: 1. [Dependencies and Prerequisites](#dependencies-and-prerequisites) 2. [Structure of Repository](#structure-of-repository) -3. [Spectral Generator of RF](#spectral-generator-of-rf) -4. [RF vizualization](#rf-vizualization) -5. [Test Cases of MC SFEM](#test-cases of-mc-sfem) +3. [Example of application](#example-of-application) ## Dependencies and Prerequisites @@ -108,21 +106,19 @@ Instructions for Debian/Ubuntu based workstations are as follows. ## 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. - -Executing the following will generate the loading paths based on the load path parameters defined inside ```driver.py```. +Form the [rnnRF](./rnnRF/) directory, run ``` 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**: - -```<load_type>_R<r_max>dR<eval_step>SRate<s_rate>K<k>``` +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). + * 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