Git Product home page Git Product logo

void_analyze's Introduction

Introduction

Perform void analysis from xyz structure.

Install instruction

  1. Make sure you have complier which support C++17. (Visual Studio 2017 or later, GCC 8 or later)
  2. Install Cmake and Conan from official website.
  3. Go to the project directory
  4. mkdir build & cd build
  5. cmake .. -DCMAKE_BUILD_TYPE=Release

Usage

The pore size distribution surpport the following arguments:

"-f, --file" : The path of the input file. It should be in xyz format
"-o, --output": The destination of the output files
"-c, --circle": Optional argument, specify the coordinates of the center of the circle and the radius, ie. (center_x, center_y, radius)
"--rm-lg": Optional bool flag, true means remove the largest pores during the detection
"-h" : print help

Input structure:

Input structure should be in "xyz" format. The 2nd line of the input structure should have the same format as Ovito ie. Lattice="208.0 0.0 0.0 0.0 208.0 0.0 0.0 0.0 25.5" Origin="-104.0 -104.0 -10.2" Properties=species:S:1:pos:R:3. We recomend you to generate xyz file using Ovito software rather than mannually writing the second line.

Output file:

voids_analysis_info.txt: The volume fraction and size of each pore detected in the structure.

voids_position.xyz: This file records the pores position in enhanced xyz format. The last column is the label of each pore.

voids_surface_position.xyz: This file records the atoms which form the surface of pores. The last column is the label of each pore.

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.