Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pip support #175

Merged
merged 22 commits into from
May 4, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/docignore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ modules:
- 'sharpy/utils/plot_utils.py'
- 'sharpy/utils/solver_interface.py'
- 'sharpy/linear/test'
- 'sharpy/linear/utils'
# - 'sharpy/generators'
- 'sharpy/presharpy'
- 'sharpy/lib'
Expand Down
13 changes: 10 additions & 3 deletions docs/source/content/casefiles.rst
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,11 @@ Item by item:

Same here, just a rotation around :math:`z`.

* ``airfoil_distribution_input [num_elem, num_node_elem]``: Airfoil distribution.
* ``airfoil_distribution [num_elem, num_node_elem]``: Airfoil distribution.

Contains the indices of the airfoils that you put previously in ``airfoils``.

* ``surface_distribution_input [num_elem]``: Surface integer array.
* ``surface_distribution [num_elem]``: Surface integer array.

It contains the index of the surface the element belongs
to. Surfaces need to be continuous, so please note that if your beam numbering is not continuous, you need to make
Expand All @@ -274,7 +274,7 @@ Item by item:

Is a string with the chordwise panel distribution. In almost all cases, leave it at ``uniform``.

* ``aero_node_input [num_node]``: Aerodynamic node definition.
* ``aero_node [num_node]``: Aerodynamic node definition.

Is a boolean (``True`` or ``False``) array that indicates if that node has a lifting
surface attached to it.
Expand Down Expand Up @@ -315,6 +315,13 @@ Item by item:
For more information on how these factors are included in the mapping terms
see :func:`sharpy.aero.utils.mapping.aero2struct_force_mapping`.

* ``polars`` Group (optional): Use airfoil polars to correct aerodynamic forces.

This is an optional group to add if correcting the aerodynamic forces using airfoil polars is desired. A polar
should be included for each airfoil defined. Each entry consists of a 4-column table. The first column corresponds
to the angle of attack (in radians) and then the ``C_L``, ``C_D`` and ``C_M``.


Time-varying force input file (``.dyn.h5``)
-------------------------------------------

Expand Down
Loading