From c8331a93630473e98aea4d890a9b407bd63749ca Mon Sep 17 00:00:00 2001 From: Noels Ludovic <l.noels@uliege.be> Date: Wed, 6 Dec 2023 17:30:33 +0000 Subject: [PATCH] Update README.md --- SFEM/README.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/SFEM/README.md b/SFEM/README.md index 0e3fa8b..2e01c62 100644 --- a/SFEM/README.md +++ b/SFEM/README.md @@ -54,17 +54,19 @@ Instructions for Debian/Ubuntu based workstations are as follows. * [generateRF.py](./generateRF/generateRF.py): * The RF is defined from the mean and standard deviation of the variables as well as from their correlation following for example for a 2-dimension RF: - meanX = np.array([0.5,10]) # mean of variables - stdX = np.array([0.05,0.1]) # std of variables - rho = 0.2 - R0_XY = np.array([[1, rho], [rho, 1]]) + * meanX = np.array([0.5,10]) # mean of variables + * stdX = np.array([0.05,0.1]) # std of variables + * rho = 0.2 + * R0_XY = np.array([[1, rho], [rho, 1]]) * And from a the correlation lengths along the 3 direction - lc = [15., 15., 15.] # correlation length + * lc = [15., 15., 15.] # correlation length * The number of RFs to be generated follows from - Nsim =10 + * Nsim =10 * The Random fields will be generated at the spatial points defined in terms of their coordinates. - One example of points coordinates can be found in [rnnRF/GPData/oordinate_P_ZZ_OnPhysical_11.csv](./rnnRF/GPData/oordinate_P_ZZ_OnPhysical_11.csv) stored following 3 coordinates, point number and point volume (for a FE simulation) - The script tries to read a file in 'mechDir+''/GPData'' ' + * One example of points coordinates can be found in [rnnRF/GPData/oordinate_P_ZZ_OnPhysical_11.csv](./rnnRF/GPData/oordinate_P_ZZ_OnPhysical_11.csv) stored following 3 coordinates, point number and point volume (for a FE simulation) + * The script tries to read a file in ```mechDir+'/GPData'```, where ```mechDir``` is the working directory + * The random field number ```X``` is saved in tge file ```mechDir+'/randomFields'/RandField_X.csv```, where ```mechDir``` is the working directory. The number of columns is the dimension of the random variable and the number of lines the number of spatial points. + * The random field number ```X``` along with the spatial points coordinates is saved in file ```mechDir+'/randomFields'/RandField_And_GP_X.csv```, where ```mechDir``` is the working directory. The number of columns is the dimension of the random variable plus the 3 spatial coordinates and the number of lines the number of spatial points. ### cellRF -- GitLab