Giter Club home page Giter Club logo

modelreduction.jl's Introduction

ModelReduction.jl

DOIBuild StatusCoverage StatusIssues

ModelReduction.jl is a Julia package to perform model reduction methods for i.e. multibody dynamics problems. The packcage includes model order reduction methods such as the Guyan reduction and the Craig-Bampton method.

Reducing the sizes of stiffness and mass matrices of the model will greatly decrease the computation resources needed when performing dynamic analyses.

ModelReduction.jl is a part of JuliaFEM. All codes are MIT licensed.

Installing and testing the package

Install the package the same way other Julia packages are installed.

julia> Pkg.add("ModelReduction")

Test the package with Pkg.test etc.

julia> Pkg.test("ModelReduction")

Usage example

This example demonstrates how to use the Craig-Bampton method function.

Problem setup:

julia> K = [2 -1  0  0;
           -1  2 -1  0;
            0 -1  2 -1;
            0  0 -1  1]

julia> M = [2 0 0 0;
            0 2 0 0;
            0 0 2 0;
            0 0 0 1]

julia> r = [4]
julia> l = [1, 2, 3]
julia> n = 1

K = original stiffness matrix, M = original mass matrix, r = retained DOF:s, l = internal DOF:s, n = the number of the internal modes to keep. Calculate the reduced mass and stiffness matrices Mred and Kred.

julia> using ModelReduction

julia> Mred, Kred = ModelReduction.craig_bampton(K, M, r, l, n)
([2.75 -1.20711; -1.20711 1.0], [0.25 0.0; 0.0 0.292893])

Citing

If you like using our package, please consider citing our article:

@article{rapo2018implementing,
 title={Implementing model reduction to the JuliaFEM platform},
 volume={51},
 url={https://rakenteidenmekaniikka.journal.fi/article/view/69026},
 doi={10.23998/rm.69026},
 number={1},
 journal={Rakenteiden Mekaniikka},
 author={Rapo, Marja and Aho, Jukka and Koivurova, Hannu and Frondelius, Tero},
 year={2018},
 pages={36-54}
}

Contributing

Have a new great idea and want to share it with the open source community? From here and here you can look for coding styles. Here it is explained how to contribute to open source project, in general.

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.