Giter VIP home page Giter VIP logo

genpormed's Introduction

About The Project

This project code can generate random porous media with Quartet Structure Generation Set (QSGS) method. QSGS was first proposed by Wang and his collaborators1. Then he further enriched this method at 20072 and 20093.

References

[1] Wang, M., Wang, J., Pan, N., & Chen, S. (2007). Mesoscopic predictions of the effective thermal conductivity for microscale random porous media. Physical Review E - Statistical, Nonlinear, and Soft Matter Physics, 75(3), 036702. (https://doi.org/10.1103/PhysRevE.75.036702)
[2] Wang, M., Meng, F., & Pan, N. (2007). Transport properties of functionally graded materials. Journal of Applied Physics, 102(3), 1โ€“7. (https://doi.org/10.1063/1.2767629)
[3] Wang, M., & Kang, Q. (2009). Electrokinetic transport in microchannels with random roughness. Analytical Chemistry, 81(8), 2953โ€“2961. (https://doi.org/10.1021/ac802569n)

Run the code

The most of this project is based on the C++ standard library.

The method output2png of Class Porous2D and Porous3D can generate PNG file directly, which is base on the GnuPlot and gnuplot-iostream. If you need this function, make sure to install GnuPlot and Boost C++ library on your system. If you don't need, just comment the related code.

The method output2tecplot of Class Porous2D and Porous3D can generate plt file for Tecplot.

How to run

  1. Clone the repo

    git clone https://github.com/huiselilun/GenPorMed.git

  2. Compile

    make

  3. Run

    ./run

License

Distributed under the GPL v3.0 License.

Examples

2D porous figure porosity = 0.5

3D porous figure porosity = 0.5

genpormed's People

Contributors

jeff-hugh 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.