Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Apr 21, 2024
1 parent 194c608 commit 8cdf5fb
Show file tree
Hide file tree
Showing 285 changed files with 89,091 additions and 1,746 deletions.
Binary file not shown.
Binary file added _images/airfoil_gbox_uni-material_params.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/airfoil_gbox_uni-shape_params.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/ivabs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/ivabs_beam.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/ivabs_cs_prop_frame.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/ivabs_method.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/main.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _images/sm11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.. _example-anl_box_beam_eigen:

.. include:: /../../examples/anl_box_beam_eigen/README.rst


154 changes: 154 additions & 0 deletions _sources/examples/anl_cs_airfoil_box/anl_cs_airfoil_box.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
.. _example-anl_cs_airfoil_box:

.. include:: /../../examples/anl_cs_airfoil_box/README.rst



.. Analysis of a single cross-section
.. ============================================
.. Running
.. ----------------------
.. .. code-block:: shell
.. ivabs main.yml --mode 1
.. .. This first tutorial will give the instructions to the basic functionalities of the tool.
.. Problem description
.. -------------------
.. Suppose that we want to carry out a single cross-sectional analysis.
.. The task is to carry out a quick cross-sectional analysis of a specific cross-sectional design.
.. Specifically, in this example, we want to set values to the locations of spar webs and get the torsional and bending stiffness (|gj|, |eiyy|, |eizz|).
.. Input files
.. -----------------------
.. .. For this and all analysis of |msgd|, there is one top-level yaml file as the main input and a Python script to trigger the analysis.
.. .. All others are the supporting files.
.. .. list-table:: Input files
.. :header-rows: 1
.. * - File
.. - Description
.. * - ``main.yml``
.. - Main input file
.. * - ``airfoil_simple.xml.tmp``
.. - Cross-sectional design template
.. * - ``SC1095.dat``
.. - Airfoil data
.. * - ``material_database_us_ft.xml``
.. - Material database
.. .. This tutorial mainly focuses on the main input file.
.. .. Tutorials on other files will be explained later.
.. Results
.. ---------
.. Analysis results can be found in the file ``main.out``.
.. .. list-table:: Results
.. :header-rows: 1
.. * - Quantity
.. - Value
.. * - |gj|
.. - 2716.1390578
.. * - |eiyy|
.. - 4077.6188095
.. * - |eizz|
.. - 246963.3418
.. Main input file specification (``main.yml``)
.. ------------------------------------------------------------
.. .. note::

.. For more details on the syntax of the YAML format, please see :ref:`section-yaml`.
.. Basic layout of the main input file
.. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. .. code-block:: yaml
.. :linenos:
.. cs:
.. # Define cross-sectional designs
.. analysis:
.. # Define analysis steps
.. Specification of the cross-section
.. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. This block specifies the base design of the cross-section that will be analyzed.
.. .. code-block:: yaml
.. :linenos:
.. cs:
.. - name: "airfoil"
.. parameter:
.. a2p1: 0.82
.. a2p3: 0.58
.. design:
.. dim: 2
.. tool: "prevabs"
.. base_file: "airfoil_simple.xml.tmp"
.. model:
.. md1:
.. tool: "vabs"
.. ``cs``
.. Root key of the list of cross-section base designs.
.. ``name: "airfoil"``
.. Name of the cross-section.
.. ``parameter:``
.. Root key of the parameter specification.
.. .. note::

.. For more details on how to prepare the parameterized base design of a cross-section (``airfoil_simple.xml.tmp``), please see :ref:`section-ivabs_parameterization`.
.. Specification of the analysis steps
.. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. .. code-block:: yaml
.. :linenos:
.. analysis:
.. steps:
.. - step: "cs analysis"
.. type: "cs"
.. analysis: "h"
.. output:
.. - value: ["gj", "eiyy", "eizz"]
.. .. note::

.. For the complete list of available keys to get beam properties, see :ref:`section-beam_properties`.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.. _example-anl_cs_airfoil_box_d:

.. include:: /../../examples/anl_cs_airfoil_box_d/README.rst
4 changes: 4 additions & 0 deletions _sources/examples/anl_distr_cs_box/anl_distr_cs_box.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.. _example-anl_distr_cs_box:

.. include:: /../../examples/anl_distr_cs_box/README.rst

5 changes: 5 additions & 0 deletions _sources/examples/benchmark/index.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.. _section-ivabs-examples-benchmark:

Benchmark
============

17 changes: 17 additions & 0 deletions _sources/examples/demo/index.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. _section-ivabs-examples-demo:

Demonstration
===============

.. .. toctree::
.. :maxdepth: 1
.. ps_cs_airfoil_box_spar_geo
.. ps_cs_airfoil_box_spar_lam
.. opt_mcs_airfoil_stf
.. ps_beam_cs_vibr
.. opt_spar_layup
.. opt_cs_init_twist
.. example_uh60_sopt_stf
91 changes: 91 additions & 0 deletions _sources/examples/index.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
.. _section-ivabs-examples:

Examples
===============


Analysis
---------

.. grid:: 1 1 2 2
:gutter: 4

.. grid-item-card::
:link: example-anl_cs_airfoil_box
:link-type: ref
:img-bottom: anl_cs_airfoil_box/main.png

:ref:`example-anl_cs_airfoil_box`

.. grid-item-card::
:link: example-anl_cs_airfoil_box_d
:link-type: ref
:img-bottom: anl_cs_airfoil_box_d/sm11.png

:ref:`example-anl_cs_airfoil_box_d`

.. grid-item-card::
:link: example-anl_distr_cs_box
:link-type: ref

:ref:`example-anl_distr_cs_box`

.. grid-item-card::
:link: example-anl_box_beam_eigen
:link-type: ref

:ref:`example-anl_box_beam_eigen`


Parametric study
----------------

.. grid:: 1 1 2 2
:gutter: 4

.. grid-item-card::
:link: example-ps_cs_box_lam
:link-type: ref

:ref:`example-ps_cs_box_lam`

.. .. grid-item-card::
.. :link: example-ps_cs_airfoil_box_spar_geo
.. :link-type: ref
.. :img-bottom: ps_cs_airfoil_box_spar_geo/ivabs_ex_quickstart_cs_geo_params.png
.. :ref:`example-ps_cs_airfoil_box_spar_geo`
.. .. grid-item-card::
.. :link: example-ps_cs_airfoil_box_spar_lam
.. :link-type: ref
.. :ref:`example-ps_cs_airfoil_box_spar_lam`
.. .. grid-item-card::
.. :link: example-ps_blade_eigen_fan
.. :link-type: ref
.. :ref:`example-ps_blade_eigen_fan`
.. Optimization
.. ------------
.. .. grid:: 1 1 2 2
.. :gutter: 4
.. .. grid-item-card::
.. :link: example-opt_distr_cs_airfoil_stf
.. :link-type: ref
.. :img-bottom: opt_distr_cs_airfoil_stf/ivabs_ex_uh60_sopt_stf_result_prop_compare.png
.. :ref:`example-opt_distr_cs_airfoil_stf`
.. .. grid-item-card::
.. :link: example-opt_distr_cs_airfoil_stf_mobj
.. :link-type: ref
.. :ref:`example-opt_distr_cs_airfoil_stf_mobj`
Loading

0 comments on commit 8cdf5fb

Please sign in to comment.