GithubHelp home page GithubHelp logo

qitiandashengsunwukong / phacexl_2d Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mote3d/phacexl_2d

0.0 0.0 0.0 2.94 MB

Script for the generation of finite-thickness interface elements for polycrystal modelling

License: GNU General Public License v3.0

Python 100.00%

phacexl_2d's Introduction

PhaceXL 2D

doi latest release

Description

PhaceXL_2D is a script for the generation of finite-thickness interface elements for 2D polycrystal microstructure modelling. It parses a 2D polycrystal microstructure mesh file generated using the Neper software package and modified using the Phon cohesive element generator and shrinks the existing grains by a predefined factor to create finite-thickness interface elements, facilitating the modelling of damage phenomena occuring at the grain boundaries. If the original 2D polycrystal microstructure mesh is periodic, PhaceXL_2D retains mesh periodicity at the boundary of the modelling domain. The resulting mesh is exported in a format readable by Abaqus™ finite-element analysis software or similar preprocessors.

Exemplary 2D polycrystal mesh segment

To generate a 2D polycrystal microstructure mesh with finite-thickness interface elements at the grain boundaries, the following steps have to be followed:

  1. Generate a 2D polycrystal microstructure mesh using Neper.
  2. Export the polycrystal mesh as well as the coordinates of the grain centroids.
  3. Use Phon to insert zero-thickness cohesive elements at the grain boundaries.
  4. Parse both files in PhaceXL_2D to generate finite-thickness interface elements at the grain boundaries.

Usage

Run PhaceXL_2D using   'phaceXL_2D.py -i INPUTFILENAME -c CENTROIDFILENAME -p MPER -s SFACTOR'   from the command line. The following input parameters have to be specified:

INPUTFILENAME:   name of the file containing the polycrystal mesh and cohesive elements generated by Neper and Phon,
CENTROIDFILENAME:   name of the file containing the coordinates of the grain centroids,
MPER:   indication whether the polycrystal microstructure mesh is periodic ('y') or (by default) non-periodic ('n'),
SFACTOR:   factor controlling the amount of shrinkage for each grain (default is 0.1).

PhaceXL_2D has been tested with Python 3.7.2 and NumPy 1.16.2.

License

PhaceXL_2D is licensed under the GNU General Public License.

phacexl_2d's People

Contributors

mote3d 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.