bellbird
Library that parses differential equations (PDEs) strings and automates the creation of scripts for PyEFVLib using the element-based finite volume method.
Dependencies & Installation
Usage
import sys,os
sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir))
import bellbird
# Heat Transfer
model = bellbird.Model(
name = "Heat Transfer",
equationsStr = ["k * div( grad(T) ) + q = rho * cp * d/dt(T)"],
variables = ["T"],
properties = {
"Body":{
"k" : 10000.0,
"q" : 0.0,
"rho" : 1.0,
"cp" : 1.0,
},
},
boundaryConditions = [
bellbird.InitialCondition("T", 0.0),
bellbird.BoundaryCondition("T", bellbird.Dirichlet, "West", 0.0),
bellbird.BoundaryCondition("T", bellbird.Dirichlet, "East", 100.0),
bellbird.BoundaryCondition("T", bellbird.Neumann, "South", 0.0),
bellbird.BoundaryCondition("T", bellbird.Neumann, "North", 0.0),
],
meshPath = "mesh.msh",
timeStep = 0.05,
tolerance = 1e-4,
maxNumberOfIterations = 300,
sparse = False,
)
model.run()
Metadata
Release files for bellbird 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bellbird-0.0.1.tar.gz | 15.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bellbird-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.2 kB
Release files / bellbird-0.0.1.tar.gz
| Download URL | bellbird-0.0.1.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
605d3ab9c71e579aa4ae6bd4452da721bf2db2f5a576a4c4ccbf6034101c59ce
|
|
BLAKE2b-256 checksum How to use checksums |
d78d8d6510dffc85eb6a9567bdad7a019c9dd440ccd0c4124acae77290be4087
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.2
|
Release files / bellbird-0.0.1-py3-none-any.whl
| Download URL | bellbird-0.0.1-py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
479b616e1c536a2518c7d9bfe583d50572edae92efe7bc9216a0d9391c4ba87d
|
|
BLAKE2b-256 checksum How to use checksums |
c974b83584230a0f55aed356a91a8887b01ac4637abe1196b6586650b841cf12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.2
|