Code Monkey home page Code Monkey logo

tenspec's Introduction

tenspec

Polycrystalline tensile specimen generation and meshing software.

Installation

  1. Install Gmsh and Neper. They must be available at the terminal as the commands gmsh and neper at run time.
  2. Install tenspec with cargo install --git https://github.com/tokarevart/tenspec.git. If you want to install Rust/Cargo, this is probably the easiest way: https://www.rustup.rs.

Usage

First use tess module to generate initial tesselation, then use reg module to regularize that tesselation and only then mesh regularized tesselation with mesh module.

Every time you use a module its last result is cached in ./tenspec-cache directory, so, for example, you don't need to generate and regularize tesselation multiple times to create meshes with different characteristic length.

Dimensions

Set them in --dims option in the order l1 l2 le r1 r2 r3

Example

$ tenspec tess -n 20 --dims 25 8 1 6 2 6  
$ tenspec reg --fmax 20 --sel 3 --mloop 5  
$ tenspec mesh --cl 3   -o tenspec-rough.msh # shown in the image below
$ tenspec mesh --cl 1   -o tenspec.msh2
$ tenspec mesh --cl 0.3 -o tenspec-fine.key

tenspec's People

Contributors

tokarevart avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.