pymrm 1.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pymrm-1.3.0/.gitignore +5 -0
- pymrm-1.3.0/.vscode/settings.json +6 -0
- pymrm-1.3.0/Makefile +20 -0
- pymrm-1.3.0/PKG-INFO +44 -0
- pymrm-1.3.0/README.md +27 -0
- pymrm-1.3.0/conf.py +54 -0
- pymrm-1.3.0/conf.rst +7 -0
- pymrm-1.3.0/make.bat +35 -0
- pymrm-1.3.0/modules.rst +6 -0
- pymrm-1.3.0/pymrm/__init__.py +1 -0
- pymrm-1.3.0/pymrm/pymrm.py +1127 -0
- pymrm-1.3.0/pymrm/pymrm_examples.ipynb +999 -0
- pymrm-1.3.0/pymrm.egg-info/PKG-INFO +44 -0
- pymrm-1.3.0/pymrm.egg-info/SOURCES.txt +18 -0
- pymrm-1.3.0/pymrm.egg-info/dependency_links.txt +1 -0
- pymrm-1.3.0/pymrm.egg-info/requires.txt +2 -0
- pymrm-1.3.0/pymrm.egg-info/top_level.txt +1 -0
- pymrm-1.3.0/pyproject.toml +33 -0
- pymrm-1.3.0/setup.cfg +4 -0
- pymrm-1.3.0/test_mrm.rst +7 -0
pymrm-1.3.0/.gitignore
ADDED
pymrm-1.3.0/Makefile
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Minimal makefile for Sphinx documentation
|
|
2
|
+
#
|
|
3
|
+
|
|
4
|
+
# You can set these variables from the command line, and also
|
|
5
|
+
# from the environment for the first two.
|
|
6
|
+
SPHINXOPTS ?=
|
|
7
|
+
SPHINXBUILD ?= sphinx-build
|
|
8
|
+
SOURCEDIR = .
|
|
9
|
+
BUILDDIR = _build
|
|
10
|
+
|
|
11
|
+
# Put it first so that "make" without argument is like "make help".
|
|
12
|
+
help:
|
|
13
|
+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
|
14
|
+
|
|
15
|
+
.PHONY: help Makefile
|
|
16
|
+
|
|
17
|
+
# Catch-all target: route all unknown targets to Sphinx using the new
|
|
18
|
+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
|
19
|
+
%: Makefile
|
|
20
|
+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
pymrm-1.3.0/PKG-INFO
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: pymrm
|
|
3
|
+
Version: 1.3.0
|
|
4
|
+
Summary: Functions for multiphase reactor modeling
|
|
5
|
+
Author-email: "E.A.J.F. Peters" <e.a.j.f.peters@tue.nl>, "M. van Sint Annaland" <M.v.SintAnnaland@tue.nl>, "M. Galanti" <m.galanti@tue.nl>, "D.R. Rieder" <d.r.rieder@tue.nl>
|
|
6
|
+
Maintainer-email: "E.A.J.F. Peters" <e.a.j.f.peters@tue.nl>
|
|
7
|
+
Project-URL: Homepage, https://gitlab.tue.nl/SMM/research_projects/eajfpeters/pymrm/
|
|
8
|
+
Project-URL: Repository, https://gitlab.tue.nl/SMM/research_projects/eajfpeters/pymrm/
|
|
9
|
+
Keywords: MRM,modeling,multiphase,diffusion,convection
|
|
10
|
+
Classifier: Development Status :: 4 - Beta
|
|
11
|
+
Classifier: Programming Language :: Python
|
|
12
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
+
Requires-Python: >=3.8
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: numpy
|
|
16
|
+
Requires-Dist: scipy
|
|
17
|
+
|
|
18
|
+
# pymrm: Python Package for Multiphase Reactor Modeling
|
|
19
|
+
|
|
20
|
+
## Overview
|
|
21
|
+
|
|
22
|
+
Welcome to pymrm, a Python package designed for creating phenomenological models of multiphase reactors. Developed within the ambit of the Multiphase Reactor Modeling course at Eindhoven University of Technology, this package finds its roots in the Department of Chemical Engineering and Chemistry taught by Martin van Sint Annaland and Frank Peters. Originally implemented in Matlab, pymrm stands today as a port to Python, signifying a step forward in accessibility and open access.
|
|
23
|
+
|
|
24
|
+
## Getting Started
|
|
25
|
+
|
|
26
|
+
To get a comprehensive understanding of pymrm's capabilities, we recommend exploring the included Jupyter notebook. This notebook is packed with examples that demonstrate the application of the package in the realm of chemical engineering.
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
- Comprehensive set of functions for modeling multiphase reactors
|
|
31
|
+
- User-friendly interface tailored for both students and professionals
|
|
32
|
+
- Extensive documentation and example-based learning
|
|
33
|
+
|
|
34
|
+
### How to Install
|
|
35
|
+
|
|
36
|
+
pip install pymrm
|
|
37
|
+
|
|
38
|
+
### Quickstart Guide
|
|
39
|
+
|
|
40
|
+
Start implementing 1D reaction-diffusion equations, proceed to convection, different phases, mass transfer, etc. The Python notebook: py_mrm_examples.ipynb provides examples that are useful to get you started.
|
|
41
|
+
|
|
42
|
+
### Contributing
|
|
43
|
+
|
|
44
|
+
We welcome contributions from the community. If you're interested in enhancing pymrm or have suggestions, please contact us.
|
pymrm-1.3.0/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# pymrm: Python Package for Multiphase Reactor Modeling
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Welcome to pymrm, a Python package designed for creating phenomenological models of multiphase reactors. Developed within the ambit of the Multiphase Reactor Modeling course at Eindhoven University of Technology, this package finds its roots in the Department of Chemical Engineering and Chemistry taught by Martin van Sint Annaland and Frank Peters. Originally implemented in Matlab, pymrm stands today as a port to Python, signifying a step forward in accessibility and open access.
|
|
6
|
+
|
|
7
|
+
## Getting Started
|
|
8
|
+
|
|
9
|
+
To get a comprehensive understanding of pymrm's capabilities, we recommend exploring the included Jupyter notebook. This notebook is packed with examples that demonstrate the application of the package in the realm of chemical engineering.
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
- Comprehensive set of functions for modeling multiphase reactors
|
|
14
|
+
- User-friendly interface tailored for both students and professionals
|
|
15
|
+
- Extensive documentation and example-based learning
|
|
16
|
+
|
|
17
|
+
### How to Install
|
|
18
|
+
|
|
19
|
+
pip install pymrm
|
|
20
|
+
|
|
21
|
+
### Quickstart Guide
|
|
22
|
+
|
|
23
|
+
Start implementing 1D reaction-diffusion equations, proceed to convection, different phases, mass transfer, etc. The Python notebook: py_mrm_examples.ipynb provides examples that are useful to get you started.
|
|
24
|
+
|
|
25
|
+
### Contributing
|
|
26
|
+
|
|
27
|
+
We welcome contributions from the community. If you're interested in enhancing pymrm or have suggestions, please contact us.
|
pymrm-1.3.0/conf.py
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Configuration file for the Sphinx documentation builder.
|
|
2
|
+
#
|
|
3
|
+
# This file only contains a selection of the most common options. For a full
|
|
4
|
+
# list see the documentation:
|
|
5
|
+
# https://www.sphinx-doc.org/en/master/usage/configuration.html
|
|
6
|
+
|
|
7
|
+
# -- Path setup --------------------------------------------------------------
|
|
8
|
+
|
|
9
|
+
# If extensions (or modules to document with autodoc) are in another directory,
|
|
10
|
+
# add these directories to sys.path here. If the directory is relative to the
|
|
11
|
+
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
|
12
|
+
#
|
|
13
|
+
import os
|
|
14
|
+
import sys
|
|
15
|
+
sys.path.insert(0, os.path.abspath('.'))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# -- Project information -----------------------------------------------------
|
|
19
|
+
|
|
20
|
+
project = 'pymrm'
|
|
21
|
+
copyright = '2023, E.A.J.F. Peters'
|
|
22
|
+
author = 'E.A.J.F. Peters'
|
|
23
|
+
|
|
24
|
+
# The full version, including alpha/beta/rc tags
|
|
25
|
+
release = '1.3.0'
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# -- General configuration ---------------------------------------------------
|
|
29
|
+
|
|
30
|
+
# Add any Sphinx extension module names here, as strings. They can be
|
|
31
|
+
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
|
32
|
+
# ones.
|
|
33
|
+
extensions = ['sphinx.ext.autodoc']
|
|
34
|
+
|
|
35
|
+
# Add any paths that contain templates here, relative to this directory.
|
|
36
|
+
templates_path = ['_templates']
|
|
37
|
+
|
|
38
|
+
# List of patterns, relative to source directory, that match files and
|
|
39
|
+
# directories to ignore when looking for source files.
|
|
40
|
+
# This pattern also affects html_static_path and html_extra_path.
|
|
41
|
+
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
# -- Options for HTML output -------------------------------------------------
|
|
45
|
+
|
|
46
|
+
# The theme to use for HTML and HTML Help pages. See the documentation for
|
|
47
|
+
# a list of builtin themes.
|
|
48
|
+
#
|
|
49
|
+
html_theme = 'sphinx_rtd_theme'
|
|
50
|
+
|
|
51
|
+
# Add any paths that contain custom static files (such as style sheets) here,
|
|
52
|
+
# relative to this directory. They are copied after the builtin static files,
|
|
53
|
+
# so a file named "default.css" will overwrite the builtin "default.css".
|
|
54
|
+
html_static_path = ['_static']
|
pymrm-1.3.0/conf.rst
ADDED
pymrm-1.3.0/make.bat
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@ECHO OFF
|
|
2
|
+
|
|
3
|
+
pushd %~dp0
|
|
4
|
+
|
|
5
|
+
REM Command file for Sphinx documentation
|
|
6
|
+
|
|
7
|
+
if "%SPHINXBUILD%" == "" (
|
|
8
|
+
set SPHINXBUILD=sphinx-build
|
|
9
|
+
)
|
|
10
|
+
set SOURCEDIR=.
|
|
11
|
+
set BUILDDIR=_build
|
|
12
|
+
|
|
13
|
+
%SPHINXBUILD% >NUL 2>NUL
|
|
14
|
+
if errorlevel 9009 (
|
|
15
|
+
echo.
|
|
16
|
+
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
|
|
17
|
+
echo.installed, then set the SPHINXBUILD environment variable to point
|
|
18
|
+
echo.to the full path of the 'sphinx-build' executable. Alternatively you
|
|
19
|
+
echo.may add the Sphinx directory to PATH.
|
|
20
|
+
echo.
|
|
21
|
+
echo.If you don't have Sphinx installed, grab it from
|
|
22
|
+
echo.https://www.sphinx-doc.org/
|
|
23
|
+
exit /b 1
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
if "%1" == "" goto help
|
|
27
|
+
|
|
28
|
+
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
|
|
29
|
+
goto end
|
|
30
|
+
|
|
31
|
+
:help
|
|
32
|
+
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
|
|
33
|
+
|
|
34
|
+
:end
|
|
35
|
+
popd
|
pymrm-1.3.0/modules.rst
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from .pymrm import construct_grad, construct_grad_int, construct_grad_bc, construct_div, construct_convflux_upwind, construct_convflux_upwind_int, construct_convflux_upwind_bc, construct_coefficient_matrix, numjac_local, newton, clip_approach, non_uniform_grid, interp_stagg_to_cntr, interp_cntr_to_stagg, interp_cntr_to_stagg_tvd, upwind, minmod, osher, clam, muscl, smart, stoic, vanleer
|