FluidFoam documentation
The fluidfoam package provides Python classes useful to perform some plot with OpenFoam data.
What is this repository for?
Openfoam Tools
Version : 0.2.5
Supported OpenFoam Versions : 2.4.0, 4.1 to 9, v1712plus to v2212plus
Supported Python Versions : >= 3.8
Deployment instructions
The simplest way to install fluidfoam is by using pip:
pip install fluidfoam --user
You can get the source code from github or from the Python Package Index.
The development mode is often useful. From the root directory, run:
python setup.py develop --user
Committing instructions (in development mode)
A good starting point is to follow this forking tutorial.
To clone your fork of fluidfoam repository:
git clone https://github.com/your_username/fluidfoam
To get the status of the repository:
git status
In case of new/modified file(s):
git add new_file
To commit a revision on the local repository:
git commit -m "comment on the revision"
To push the revision on your github fluidfoam repository:
git push
To propose your changes into the main fluidfoam project, follow again the forking tutorial.
Example Usage
Core Developers
Other Contributors
Emeritus Core Developers
Emeritus Developers
License
fluidfoam is distributed under the GNU General Public License v3 (GPLv3 or newer).
Modules Reference
Here is presented the general organization of the package and the documentation of the modules, classes and functions.
Reading OpenFoam Files with Python This module provides functions to read OpenFoam Files: |
|
Write, Read and Plot 1D input files for swak4foam This module allows to read OpenFoam output of one dimensional computation and then write, plot and read input files for Boundary and Initial Conditions imposition in 3D computation (via swak4foam): |
|
Read OpenFoam PostProcessing Files for Python This module provides functions to list and read OpenFoam PostProcessing Files: |
|
Compute mesh grading and cell sizes This module provides functions to design OpenFoam mesh using blockMesh: |
|
Visualisation of 2D OpenFoam Mesh with Python This module provides functions to read 2D OpenFoam Mesh: |
|
Class to load all data saved at timeStep of an openFoam simulation |