Skip to content
Phonon Boltzmann Transport Equation
Branch: master
Clone or download
Giuseppe Romano
Giuseppe Romano bug fixed
Latest commit 008fe28 Jul 10, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs test Nov 26, 2018
examples
notebooks cleaning Jan 4, 2019
openbte
recipe new version started Jul 10, 2019
.gitignore
LICENSE
MANIFEST.in new approach Nov 15, 2018
README.rst bug fixed Jul 10, 2019
apt.txt new approach Nov 15, 2018
setup..p
setup.cfg new approach Nov 15, 2018
setup.py new version started Jul 10, 2019

README.rst

Description

Space-dependent Boltzmann transport equation solver for phonons

Community

Mailing list

Reference

G. Romano et al. J. Heat Transfer (2015)

Installation

The easiest way to install OpenBTE on Linux/MacOS/Windows is through Anaconda:

  1. Install Anaconda 3
  2. On Anaconda Prompt type:
crate env create gromano/openbte-env
activate openbte-env

If this method does not work, then you will have to create an enviroment yourself:

conda create -n openbte python=3.6
activate openbte
conda install -c conda-forge -c gromano openbte

For Windows you will have to install MSMPI

If you want to avoid installing Anaconda, you can still use the pip system (see below)

Linux

Requirements:

apt-get install -y libopenmpi-dev mpich

Install gmsh

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

MacOS

You will have to install gmsh from source, then type

pip install --upgrade openbte

Example

from openbte import Material,Geometry,Solver,Plot

#create material
Material(matfile='Si-300K.dat')
#create geometry
Geometry(porosity=0.25,lx=10,ly=10,step=1)
#Solve!
Solver()
Plot(variable='map/flux',direction='magnitude')
You can’t perform that action at this time.