Giter Site home page Giter Site logo

lyq105 / isogeometric-bem Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bobbiesimpson/isogeometric-bem

0.0 2.0 0.0 153 KB

Matlab code for isogeometric boundary element analysis

Home Page: http://www.engin.cf.ac.uk/whoswho/profile.asp?RecordNo=735

MATLAB 77.81% C 22.19%

isogeometric-bem's Introduction

This is the README file for isogeometric BEM as coded by Rob Simpson at Cardiff University 2011

It contains matlab code which describes both the geometry and the unknown fields of 2D elastostatic problems using NURBS - the commonly used parametric functions in CAD software.

Importantly, we need to compile some C code before we can get these matlab routines to run. So before we go playing with these scripts, do the following:

1. change into the directory C_files
2. run the command 'mex NURBSbasis.c NURBS.c'
3. run the command 'mex NURBSinterpolation.c NURBS.c'

The last two create 'mex' files which are compiled code allowing matlab to interface with nice and quick C code. The reason I have done this is because

1. The NURBS code is given in C in the book by Piegl and Tiller
2. Due to the recursive nature of the formulas, it is much faster to do this computation in C rather than matlab.

Once you have done this, you can change back into the isoBEM directory and run the script isoBEM.m - you should see a bent spanner!

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.