Boltzmann Transport Equation for Phonons
Project description
Description
===========
Space-dependent Boltzmann transport equation solver for phonons
Community
=========
`Mailing list <https://groups.google.com/forum/#!forum/openbte>`_
Installation $ Usage
====================
Install `gmsh <http://gmsh.info/>`_
.. code-block:: shell
sudo wget http://geuz.org/gmsh/bin/Linux/gmsh-3.0.0-Linux64.tgz && \
tar -xzf gmsh-3.0.0-Linux64.tgz && \
cp gmsh-3.0.0-Linux/bin/gmsh /usr/bin/ && \
rm -rf gmsh-3.0.0-Linux && \
rm gmsh-3.0.0-Linux64.tgz
pip install --upgrade openbte
Example
=======
.. code-block:: python
from openbte.material import *
from openbte.geometry import *
from openbte.solver import *
from openbte.plot import *
mat = Material(matfile='Si-300K.dat',n_mfp=100,n_theta=24,n_phi=32)
geo = Geometry(type='porous/square_lattice',lx=10,ly=10,
porosity = 0.25,
step = 1.0,
shape = 'square')
sol = Solver()
Plot(variable='map/flux',direction='x')
===========
Space-dependent Boltzmann transport equation solver for phonons
Community
=========
`Mailing list <https://groups.google.com/forum/#!forum/openbte>`_
Installation $ Usage
====================
Install `gmsh <http://gmsh.info/>`_
.. code-block:: shell
sudo wget http://geuz.org/gmsh/bin/Linux/gmsh-3.0.0-Linux64.tgz && \
tar -xzf gmsh-3.0.0-Linux64.tgz && \
cp gmsh-3.0.0-Linux/bin/gmsh /usr/bin/ && \
rm -rf gmsh-3.0.0-Linux && \
rm gmsh-3.0.0-Linux64.tgz
pip install --upgrade openbte
Example
=======
.. code-block:: python
from openbte.material import *
from openbte.geometry import *
from openbte.solver import *
from openbte.plot import *
mat = Material(matfile='Si-300K.dat',n_mfp=100,n_theta=24,n_phi=32)
geo = Geometry(type='porous/square_lattice',lx=10,ly=10,
porosity = 0.25,
step = 1.0,
shape = 'square')
sol = Solver()
Plot(variable='map/flux',direction='x')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
openbte-0.9.44.tar.gz
(82.5 kB
view details)
File details
Details for the file openbte-0.9.44.tar.gz.
File metadata
- Download URL: openbte-0.9.44.tar.gz
- Upload date:
- Size: 82.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.10.0 pkginfo/1.2.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad6d52641778f1122ea3f95122bf98e05a0d3be3ed1610d15d9773ca421c6f0d
|
|
| MD5 |
484bc208e6b32579f4e55b96324136bf
|
|
| BLAKE2b-256 |
90411370e715550dee83f3ec522e0ae405b32629435923a2cd27427e98fd6c3e
|