Run a benchmark¶
To have a first quick look at CRATE’s essential performance, give it a go by simply going through the following steps:
Install CRATE from source (check Installation from source);
From the CRATE root directory, run the following command:
python3 benchmarks/run_crate_benchmark.py
Sit back and watch how CRATE performs a multi-scale analysis of an heterogeneous material;
Explore the results of the CRATE simulation stored in the same directory as the corresponding input data file (see code snippet below).
Note
A description of the CRATE simulation output files is provided in Step 4!
The module benchmarks/run_crate_benchmark.py
is meant to illustrate how a CRATE simulation can be performed in a Python environment by running one of the benchmarks made available with the project (see Benchmarks). Different benchmark simulations can be tested by specifying a different input data file in the following module line:
# benchmarks/run_crate_benchmark.py
...
# Set benchmark input data file
benchmark_file = 'infinitesimal_strains/2d/sca/example_1/uniaxial_tension/' + \
'example_1_uniaxial_tension_nc54.dat'
...