Git Product home page Git Product logo

parallel-netgen's Introduction

parallel-netgen

Parallel Mesh Generator using NETGEN and C++/MPI.

To Run the Program.

  • First install the following preliminaries.

    a) sudo apt-get install build-essential tcl8.5 tcl8.5-dev tk8.5 tk8.5-dev tix tix-dev libtogl1 libtogl-dev glutg3 glutg3-dev libxmu-dev liblapack-dev

  • Download the source files for NETGEN from http://sourceforge.net/projects/netgenmesher/files/ and extract it as follows

    a) tar xfs netgen-4.9.11.tar.gz

    b) cd netgen-4.9.11

  • Replace nglib.cpp and nglib.h files with the ones contained in ng.zip

  • Install it as follows.

    a) ./configure --with-tcl=/usr/lib/tcl8.5/ --with-tk=/usr/lib/tk8.5/ --withtogl=/usr/lib/Togl1.7/

    b) Make

    c) Sudo make install

  • export LD_LIBRARY_PATH=/usr/lib/Togl1.7:/opt/netgen/lib

  • download Parmetis version 3.2 from http://glaros.dtc.umn.edu/gkhome/metis/parmetis/download and install it using make and make install

  • unzip gl.zip and locate the TreeBuilder.h main.cpp and MeshMig.h. Change the netgen path's inside these files.

  • Open parmetisbin.h and change the parmetis paths according to your installation.

  • compile the program using g++.

  • call the program as follows: “mpirun -n 16 a.exe cube.geo 3 100000 1 1 1” where the parameters are

    a) a.exe – the compiled program

    b) filename.geo – Name of the input geo file.

    c) 3 – Method name 1,2 or 3

    d) The following parameters are for method 2 and 3

    e) 100000 – Min size of the starting coarse mesh.

    f) 3 – Number of refinement steps. Increase to get higher # of elements.

    g) 1 – Get geomview output. 0 for no. 1 for yes.

    h) 1 – Get Elmer output. 0 for no. 1 for yes.

parallel-netgen's People

Contributors

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