Skip to content

Commit

Permalink
Update config_file_format.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianlacey committed Jan 14, 2019
1 parent 460cc80 commit 104aa8d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/config_file_format.rst
Expand Up @@ -174,12 +174,12 @@ While parsing the config file, GASTOp will read the path to a file that contains

.. code-block:: python
beam material OD (m) ID (m) elastic_modulus (Pa) yield_strength (Pa) dens (kg/m^3) poisson_ratio cost
0 steel 0.025 0.02 200000000000 250000000 8050 0.3 1
1 steel 0.012 0.01 200000000000 250000000 8050 0.3 0.75
2 aluminum 0.025 0.02 69000000000 95000000 2700 0.32 2
3 aluminum 0.012 0.01 69000000000 95000000 2700 0.32 1.5
4 2024 aluminum 0.042 0.032 69000000000 276000000 2700 0.32 3
beam material OD (m) ID (m) elastic_modulus (Pa) yield_strength (Pa) dens (kg/m^3) poisson_ratio cost
0 steel 0.025 0.02 200000000000 250000000 8050 0.3 1
1 steel 0.012 0.01 200000000000 250000000 8050 0.3 0.75
2 aluminum 0.025 0.02 69000000000 95000000 2700 0.32 2
3 aluminum 0.012 0.01 69000000000 95000000 2700 0.32 1.5
4 2024 aluminum 0.042 0.032 69000000000 276000000 2700 0.32 3
Adding additional materials is as simple as adding a row to the default file, with all values separated by commas. One could also alternatively create a new properties file, duplicating the format of the default, replacing all material data, and specifying the path to the new properties file in the config file.

0 comments on commit 104aa8d

Please sign in to comment.