Metadata-Version: 2.1
Name: tdr-convert
Version: 0.0.7
Summary: tdr-convert: tdr file converter
Home-page: https://github.com/devsim/tdr-convert
Author: Juan Sanchez
Author-email: info@devsim.com
License: Apache License
Project-URL: Bug Tracker, https://github.com/devsim/tdr-convert/issues
Project-URL: Source Code, https://github.com/devsim/tdr-convert
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)
Description-Content-Type: text/x-rst
License-File: LICENSE
License-File: NOTICE
Requires-Dist: devsim
Requires-Dist: h5py
Requires-Dist: numpy

===============================
tdr-convert: tdr file converter
===============================

Introduction
------------

This utility provides TDR file format conversion to devsim, Gmsh, or Tecplot file format

::

    pip install tdr-convert
    tdr_convert --tdr file.tdr --devsim file.msh --drop_interfaces_at_contact --scale 1e-4

    tdr_convert --help

    usage: tdr_convert [-h] --tdr TDR [--load_datasets] [--tecplot TECPLOT] [--devsim DEVSIM] [--gmsh GMSH]
                       [--gmsh_import GMSH_IMPORT] [--device_name DEVICE_NAME] [--scale SCALE]
                       [--drop_interfaces_at_contact]

    Create mesh from tdr file

    options:
      -h, --help            show this help message and exit
      --tdr TDR             the tdr file to input
      --load_datasets       write data sets
      --tecplot TECPLOT     the tecplot file to output
      --devsim DEVSIM       the devsim file to output
      --gmsh GMSH           the gmsh file to output
      --gmsh_import GMSH_IMPORT
                            the file to write the devsim commands to recreate a new gmsh device
      --device_name DEVICE_NAME
                            the device name
      --scale SCALE         coordinate scaling factor
      --drop_interfaces_at_contact
                            drop interfaces from nodes at contact


Mesh requirements
-----------------

Requires triangular device simulation mesh in 2D.  A tetrahedral mesh is required in 3D.  Mixed elements are not supported.


