Code Monkey home page Code Monkey logo

2dimage2mesh's Introduction

2DImage2Mesh

Procedure to CREATE A 2D QUADRAQNGULAR MESH FROM AN IMAGE USING SCANIP AND ABAQUS ONLY NOT FOR SCANIP 7!!!

INSTRUCTIONS

In scanIP

1/ import your 2D image twice (this creates a virtual stack)

2/ create masks as if it was 3D (use option "on all slices" when possible!!)

3/ mesh your data as coarse as you can without changing the geometry (if needed up-sample the z-direction and down-sample the in-plane directions)

4/ set all your masks as non-exportable

5/ in the mesh options, export shells of all your useful masks with zMin (i.e. the plane surface, not the background)

6/ in the mesh options, export contact surfaces between useful masks (and only the useful ones!!) !! scanIP 6 - DO NOT import contact pairs as contact but as node sets !!

7/ export the results in a inp file

In abaqus cae

8/ make sure your working directory includes the file 'sipShell2Abq2D.py', i.e. this file (or make it available in your python path)

9/ import your inp file as a model

10/ in the abaqus command line type (with nameOfYourModel the name of your model):

myModel = mdb.models['nameOfYourModel']
import sipShell2Abq2D
sipShell2Abq2D.shellTo2DGeo(myModel)

What abaqus does

abaqus will look in your scanIP mesh for all the external edges (not only globally external but also those at contact surfaces)

it will rebuild a geometry based on those edges, keeping them as they are

the mesh abaqus produces seeds those edges, the coarser you can get is thus the size of your scanIp mesh

all the node set and contact surfaces produced by scanIP are exported both in part Sets and part Surfaces

known issue

if the scanIP mesh used is relatively fine, abaqus won't be able to re-mesh it!! --> use an initial mesh as coarse as you can

2dimage2mesh's People

Contributors

mengomarlene avatar

Watchers

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