Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/l-nafaryus/anisotropy
Anisotropy of permeability in the periodic porous media
https://github.com/l-nafaryus/anisotropy
anisotropy cfd cli linux openfoam python3 salome
Last synced: 5 days ago
JSON representation
Anisotropy of permeability in the periodic porous media
- Host: GitHub
- URL: https://github.com/l-nafaryus/anisotropy
- Owner: L-Nafaryus
- License: gpl-3.0
- Created: 2021-02-11T10:45:54.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-30T06:34:33.000Z (4 months ago)
- Last Synced: 2024-07-30T10:47:54.597Z (4 months ago)
- Topics: anisotropy, cfd, cli, linux, openfoam, python3, salome
- Language: Python
- Homepage:
- Size: 19.1 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
anisotropy
==========*anisotropy* is a ``Python`` package that is the result of science-research work
on the anisotropy of permeability in the periodic porous media.
A project uses own wrappers around external applications
for constructing a shapes and meshes (``Salome``) and computing a flow (``OpenFOAM``)... figure:: docs/source/static/simple.png
:align: center
:alt:
.. figure:: static/simple.png
:align: center
:alt:.. contents:: README contents
Dependencies
============.. csv-table::
:header: "Software", "Used version", "Recommended version""`Python `_", "3.9.6", ">= 3.8"
"`Salome `_", "9.7.0", ">= 9.6.0"
"`OpenFOAM `_", "v2012", "".. Installation
.. include:: INSTALL.rst
Getting Started
===============Initializing a new anisotropy project
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~To create a new anisotropy project, you'll use the ``anisotropy init`` command.
``anisotropy init`` is a one-time command you use during the initial setup of a new project.Example:
.. code-block:: bash
$ mkdir ~/aproject
$ cd ~/aproject
$ anisotropy initExecuting this command will create a new ``anisotropy.db``, ``anisotropy.toml`` files in your
current working directory. This will also create ``build`` and ``logs`` directories for output files.Database ``anisotropy.db`` is used for storing current values and results.
With ``anisotropy.toml`` you can configure all an initial values.Computing
~~~~~~~~~To start a computation, you'll use the ``anisotropy compute`` command. Using flag ``--stage`` you can
control what you need to compute (mesh or flow). Using flag ``--param`` you can specify which
structure/direction/theta you need to compute.Example:
.. code-block:: bash
$ anisotropy compute --stage mesh --param type=simple --param direction="[1.0, 0.0, 0.0]" --param theta=0.01
.. attention::
* You can't compute a flow without mesh (if you didn't it before succesfully).
* ``type``, ``direction`` and ``theta`` are control parameters. If you aren't specifying it than default range of values will be used from ``anisotropy.toml``.Post-processing
~~~~~~~~~~~~~~~To use post-processing tools, you'll use the ``anisotropy postprocessing`` command.
Example:
.. code-block:: bash
$ anisotropy postprocessing permeability
Additional help
~~~~~~~~~~~~~~~You always can use ``--help`` flag with any of ``anistropy`` command to get more information.
License
=======GNU GPLv3
For more information see ``LICENSE``.