Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

avlwrapper

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

avlwrapper

Python interface for MIT AVL (Athena Vortex Lattice)

  • 0.4.0
  • PyPI
  • Socket score

Maintainers
1

AVLWrapper

Python interface for MIT AVL (Athena Vortex Lattice)

Description

Currently implemented:

  • Geometry definition
  • Case definition
  • Running operating-point run cases
  • Results parsing

Not implemented (yet):

  • Mass definition
  • Eigen-mode analyses
  • Time-domain analyses

Installation

AVLWrapper can be installed from PyPI:

::

$ pip install avlwrapper

Or can be installed from Git:

::

$ pip install git+https://github.com/renoelmendorp/AVLWrapper.git@master

Requirements


AVL (`link <http://web.mit.edu/drela/Public/web/avl/>`__) should be
installed. If installed on a location in ``$PATH`` or in the module
directory, the wrapper will locate it with the default configuration.
See `Changing settings <#changing-settings>`__ how to change the
executable path to a custom location.

(optional) Ghostscript is required to convert and save plots as pdf,
jpeg, or png. Ghostscript can be installed on Linux/MacOS with a package
manager:

Linux:

::

   $ apt-get install ghostscript

MacOS:

::

   $ brew install ghostscript

For Windows, Ghostscript can be found on the
`website <https://www.ghostscript.com>`__.

Usage
-----

For usage examples, see the ``example.ipynb`` notebook.

Changing settings
-----------------

To change settings, make a local copy of the settings file:

.. code:: python

   from avlwrapper import default_config
   default_config.local_copy()

By default the wrapper will look for a configuration file in the working
directory and module directory. If you would like to use a different
configuration file, you need to give the path to the session:

.. code:: python

   from avlwrapper import Configuration
   my_config = Configuration(path_to_file)
   session = Session(..., config=my_config)

Development
-----------

Tests
=====

To run tests in development, first install the development requirement
into your environment:

.. code:: shell

   pip install -r requirements-dev.txt

Then, from the source directory of the repo:

::

   pytest -vv tests

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc