Git Product home page Git Product logo

cigen's Introduction

This file describe in brief how to compile and use the interface element
generator program which is described in detail in the following paper 

VP Nguyen, "An open source program to generate zero-thickness cohesive interface elements", Advances in Engineering 
Software, 2014.

If you have used this code successfully please cite the above article.

1. Used libraries:

The program uses firstly the Standard Template Library (STL) which is 
available in most of operating systems. It also uses the Boost library
which can be downloaded at www.boost.org.

2. Compilation

The program can be easily compiled using the scons program, 
www.scons.org. In the terminal, just type scons. That's it :-)
It can be also compiled using Gnu Make, by simply typing make in a terminal. For Linux 
and Mac OS machines, a makefile is provided. For Windows, the code can be compiled using
Microsoft Visual Studio (after Boost was installed).

3. Usage:

In the terminal, type: ./mesh-generator --help for a simple manual. 

An example to generate a mesh for a double cantiler beam with a pre-existing notch is:

./mesh-generator --mesh-file dcb.msh --out-file dcb-solid.mesh --interface-file dcb-interface.mesh --interface
--notch 0 0 55 0 

4. Capabilities:

In short the code reads a Gmsh mesh file and generate cohesive interface elements for (1) jem-jive FEM code
and (2) Abaqus FE package. 


Vinh Phu Nguyen, [email protected]
Cardiff University,
May 2014.

cigen's People

Contributors

vinhphunguyen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cigen's Issues

Example fails to run

Since I couldn't use the program for my mesh (either .inp or .msh), I tried to reproduce the example mentioned in the README.

I typed scons and then

./mesh-generator --mesh-file dcb.msh --out-file dcb-solid.mesh --interface-file dcb-interface.mesh --interface
--notch 0 0 55 0

with the files copied to the proper directory (where the executable is). I get the following message printed to the terminal:

using default name for the ParaView file.

Reading Gmsh mesh file ...
Reading physical names...
Reading physical names...done!
Reading nodes...
Reading nodes...done!

2.6356e+13 2.6356e+13
6.95307e-310 6.95307e-310
4.67234e-310 4.67234e-310
Reading elements...
Segmentation fault (core dumped)

windows installation

Hello there,
I am having a problem to build it on windows there is no .sln file to build on Visual studio environment.
I installed scons, typed in cmd in the src directory and i get the following error:

scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
cl /FoAbaqusMeshWriter.obj /c AbaqusMeshWriter.cpp /TP /nologo
AbaqusMeshWriter.cpp
C:\Users\Elias\Desktop\iGen\interface-generator\src\boost\typedefs.h(14): fatal error C1083: Cannot open include file: 'boost/shared_ptr.hpp': No such file or directory
scons: * [AbaqusMeshWriter.obj] Error 2
scons: building terminated because of errors.

(i added in path, i pasted the whole folder in the same directory with the boost library and still the same...)

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.