Skip to content

Commit

Permalink
fmk - reordeing examples in tool and removing dropdown from README.rs…
Browse files Browse the repository at this point in the history
…t as was breaking doc build
  • Loading branch information
fmckenna committed Mar 30, 2023
1 parent 51c53f6 commit 00d6152
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion Examples/Examples.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"Examples": [
{
"name": "Two-Dimensional Truss: Sampling, Reliability and Sensitivity",
"name": "Forward Propogation - OpenSees",
"description": "This example illustrates how quoFEM interacts with the Tcl interpreter for OpenSees. A simple forward propagation procedure is run to estimate the first and second central moments of a FE model's response, given the marginal distributions of various random parameters.",
"inputFile": "qfem-0001/src/input.json"
},
Expand All @@ -15,6 +15,11 @@
"description": "This example illustrates how Python scripting can be used with quoFEM to express general mathematical models without the use of a dedicated finite element analysis engine.",
"inputFile": "qfem-0005/src/input.json"
},
{
"name": "Forward Propogattion - Multiple FEM Models",
"description": "This example illustrates how multiple finite element models could be used to estimate the first amd second central moments of a response given two different finite element models of the system.",
"inputFile": "qfem-0027/src/inputs_two_models.json"
},
{
"name": "Deterministic Calibration",
"description": "In this example, a **parameter estimation** routine is used to solve a classical optimization problem for which an analytic solution is known.",
Expand Down
6 changes: 3 additions & 3 deletions Examples/qfem-0001/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The structure has uncertain properties that all follow normal distribution:

The goal of the exercise is to estimate the mean and standard deviation of the vertical displacement at node 3. The exercise requires two files. The user is required to download these files and place them in a **NEW** folder. The two files are:

.. dropdown:: 1. Main file: :qfem-0001:`TrussTemplate.tcl <src/TrussModel.tcl>`
1. Main file: :qfem-0001:`TrussTemplate.tcl <src/TrussModel.tcl>`

.. literalinclude:: ../qfem-0001/src/TrussModel.tcl
:language: tcl
Expand All @@ -29,7 +29,7 @@ The goal of the exercise is to estimate the mean and standard deviation of the v

The ``TrussPost.tcl`` script shown below will accept as input any of the 6 nodes in the domain and for each of the two dof directions.

.. dropdown:: 2. Postprocessing file: :qfem-0001:`TrussPost.tcl <../qfem-0001/src/TrussPost.tcl>`.
2. Postprocessing file: :qfem-0001:`TrussPost.tcl <../qfem-0001/src/TrussPost.tcl>`.

.. literalinclude:: ../qfem-0001/src/TrussPost.tcl
:language: tcl
Expand All @@ -39,7 +39,7 @@ The ``TrussPost.tcl`` script shown below will accept as input any of the 6 nodes

The use has the option to provide no post-process script (in which case the main script must create a ``results.out`` file containing a single line with as many space separated numbers as QoI or the user may provide a Python script that also performs the postprocessing. Below is an example of a postprocessing Python script.

.. dropdown:: Alternative postprocessing file: :qfem-0001:`TrussPost.py <src/TrussPost.py>`
Alternative postprocessing file: :qfem-0001:`TrussPost.py <src/TrussPost.py>`

.. literalinclude:: ../qfem-0001/src/TrussPost.py
:language: python
Expand Down

0 comments on commit 00d6152

Please sign in to comment.