Skip to content

@tcaduser tcaduser released this Apr 17, 2021

DEVSIM

https://devsim.org
Version: v1.6.0

Id OS Arch
devsim_linux_v1.6.0 Linux x86_64 (64 bit)
devsim_macos_v1.6.0 macOS High Sierra, Mojave x86_64 (64 bit)
devsim_win64_v1.6.0 Microsoft Windows 10 x64 (64 bit)
devsim_msys_v1.6.0 Microsoft Windows 10 x64 (64 bit)

Version 1.6.0

Array Type Input and Output

In most circumstances, the software now returns numerical data using the Python array class. This is more efficient than using standard lists, as it encapsulates a contiguous block of memory. More information about this class can be found at https://docs.python.org/3/library/array.html. The representation can be easily converted to lists and numpy arrays for efficient manipulation.

When accepting user input involving lists of homogenous data, such as set_node_values the user may enter data using either a list, string of bytes, or the array class. It may also be used to input numpy arrays or any other class with a tobytes method.

Get Matrix and RHS for External Use

The get_matrix_and_rhs command has been added to assemble the static and dynamic matrices, as well as their right hand sides, based on the current state of the device being simulated. The format option is used to specify the sparse matrix format, which may be either in the compressed column or compressed row formats, csc or csr.

Maximum Divergence Count

If the Newton iteration errors keep increasing for 20 iterations in a row, then the simulator stops. This limit was previously 5.

Mesh Visualization Element Orientation

Elements written to the tecplot format in 2d and 3d have node orderings compatible with the element connectivity in visualization formats. Specifying the reorder=True option in get_element_node_list will result in node ordering compatible with meshing and visualization software.

Platforms:

  • Centos 7 (Linux compatible)
  • macOS 10.13
  • Microsoft Windows 10 (64 bit)

Notes are available in these files:

  • linux.txt
  • windows.txt
  • macos.txt

Packages required

This software requires a working installation of Python 3 (3.6 or higher).

For macOS, Linux, and Microsoft Windows, the recommended distributions are the following.

Anaconda contains many scientific software packages and is available from:
https://anaconda.com.

Miniconda is a much smaller download and is available from:
https://conda.io/miniconda.html

Math Libraries

The releases are built against the Intel Math Kernel Library. These libraries are available through Anaconda or Miniconda using the following commands:

  • conda install mkl numpy
Assets 6
Pre-release
Pre-release

@tcaduser tcaduser released this Apr 5, 2021

Version 1.6.0-rc4

Array Type Input and Output

In most circumstances, the software now returns numerical data using the Python array class. This is more efficient than using standard lists, as it encapsulates a contiguous block of memory. More information about this class can be found at https://docs.python.org/3/library/array.html. The representation can be easily converted to lists and numpy arrays for efficient manipulation.

When accepting user input involving lists of homogenous data, such as set_node_values the user may enter data using either a list, string of bytes, or the array class. It may also be used to input numpy arrays or any other class with a tobytes method.

Get Matrix and RHS for External Use

The get_matrix_and_rhs command has been added to assemble the static and dynamic matrices, as well as their right hand sides, based on the current state of the device being simulated. The format option is used to specify the sparse matrix format, which may be either in the compressed column or compressed row formats, csc or csr.

Max Divergence Count

If the Newton iteration errors keep increasing for 20 iterations in a row, then the simulator stops. This limit was previously 5.

Assets 6

@tcaduser tcaduser released this Mar 13, 2021

DEVSIM

https://devsim.org
Version: v1.5.1

Id OS Arch
devsim_linux_v1.5.1 Linux x86_64 (64 bit)
devsim_macos_v1.5.1 macOS High Sierra, Mojave x86_64 (64 bit)
devsim_win64_v1.5.1 Microsoft Windows 10 x64 (64 bit)
devsim_msys_v1.5.1 Microsoft Windows 10 x64 (64 bit)

Version 1.5.1

Math Functions

The following inverse functions and their derivatives are now available in the model interpreter.

  • erf_inv Inverse Error Function
  • erfc_inv Inverse Complimentary Error Function
  • derf_invdx Derivative of Inverse Error Function
  • derfc_invdx Derivative of Complimentary Inverse Error Function

The Gauss-Fermi Integral, using Paasch's equations are now implemented.

  • gfi Gauss-Fermi Integral
  • dgfidx Derivative of Gauss-Fermi Integral
  • igfi Inverse Gauss-Fermi Integral
  • digfidx Derivative of Inverse Gauss-Fermi Integral

Each of these functions take two arguments, zeta and s. The derivatives with respect to the first argument are provided. Please see testing/GaussFermi.py for an example.

In extended precision mode, the following functions are now evaluated with full extended precision.

  • Fermi
  • dFermidx
  • InvFermi
  • dInvFermidx

The following double precision tests:

  • testing/Fermi1.py Fermi Integral Test
  • testing/GaussFermi.py Gauss Fermi Integral Test

Have extended precision variants:

  • testing/Fermi1_float128.py
  • testing/GaussFermi_float128.py

Installation Script

A new installation script is in the base directory of the package.
It provides instructions of completing the installation to the python environment without having to set the PYTHONPATH environment variable.
It notifies the user of missing components to finish the installation within an Anaconda or Miniconda environment.

To use the script, use the following command inside of the devsim directory.

    python install.py

The install script will write a file named lib/setup.py, which can be used to complete the installation using pip. The script provides instructions for the installation and deinstallation of devsim.

    INFO: Writing setup.py
    INFO:
    INFO: Please type the following command to install devsim:
    INFO: pip install -e lib
    INFO:
    INFO: To remove the file, type:
    INFO: pip uninstall devsim

Platforms:

  • Centos 7 (Linux compatible)
  • macOS 10.13
  • Microsoft Windows 10 (64 bit)

Notes are available in these files:

  • linux.txt
  • windows.txt
  • macos.txt

Packages required

This software requires a working installation of Python 3 (3.6 or higher).

For macOS, Linux, and Microsoft Windows, the recommended distributions are the following.

Anaconda contains many scientific software packages and is available from:
https://anaconda.com.

Miniconda is a much smaller download and is available from:
https://conda.io/miniconda.html

Math Libraries

The releases are built against the Intel Math Kernel Library. These libraries are available through Anaconda or Miniconda using the following commands:

  • conda install mkl numpy
Assets 6
Pre-release
Pre-release
Pre-release

@tcaduser tcaduser released this Mar 10, 2021

Version 1.5.1-rc5

Math Functions

The following inverse functions and their derivatives are now available in the model interpreter.

  • erf_inv Inverse Error Function
  • erfc_inv Inverse Complimentary Error Function
  • derf_invdx Derivative of Inverse Error Function
  • derfc_invdx Derivative of Complimentary Inverse Error Function

The Gauss-Fermi Integral, using Paasch's equations are now implemented.

  • gfi Gauss-Fermi Integral
  • dgfidx Derivative of Gauss-Fermi Integral
  • igfi Inverse Gauss-Fermi Integral
  • digfidx Derivative of Inverse Gauss-Fermi Integral

Each of these functions take two arguments, zeta and s. The derivatives with respect to the first argument are provided. Please see testing/GaussFermi.py for an example.

In extended precision mode, the following functions are now evaluated with full extended precision.

  • Fermi
  • dFermidx
  • InvFermi
  • dInvFermidx

The following double precision tests:

  • testing/Fermi1.py Fermi Integral Test
  • testing/GaussFermi.py Gauss Fermi Integral Test

Have extended precision variants:

  • testing/Fermi1_float128.py
  • testing/GaussFermi_float128.py

Installation Script

A new installation script is in the base directory of the package.
It provides instructions of completing the installation to the python environment without having to set the PYTHONPATH environment variable.
It notifies the user of missing components to finish the installation within an Anaconda or Miniconda environment.

To use the script, use the following command inside of the devsim directory.

    python install.py

The install script will write a file named lib/setup.py, which can be used to complete the installation using pip. The script provides instructions for the installation and deinstallation of devsim.

    INFO: Writing setup.py
    INFO:
    INFO: Please type the following command to install devsim:
    INFO: pip install -e lib
    INFO:
    INFO: To remove the file, type:
    INFO: pip uninstall devsim
Assets 6