-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from lijas/upferrite3
Big rework for Ferrite.jl 1.0 release
- Loading branch information
Showing
41 changed files
with
2,208 additions
and
911 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,45 @@ | ||
# IGA.jl | ||
|
||
Small toolbox for Isogeometric analysis. Built on top of [Ferrite](https://github.com/KristofferC/Ferrite.jl) | ||
Small toolbox for Isogeometric analysis. Built on top of [Ferrite](https://github.com/Ferrite-FEM/Ferrite.jl) | ||
|
||
## Documentation | ||
|
||
[![][docs-dev-img]][docs-dev-url] | ||
|
||
## Installation | ||
|
||
Currently only works on Ferrite master branch | ||
|
||
``` | ||
pkg> add https://github.com/lijas/IGA.jl.git | ||
Pkg.add(url="https://github.com/Ferrite-FEM/Ferrite.jl",rev="master") | ||
Pkg.add(url="https://github.com/lijas/IGA.jl",rev="master") | ||
``` | ||
|
||
[docs-dev-img]: https://img.shields.io/badge/docs-dev-blue.svg | ||
[docs-dev-url]: https://lijas.github.io/IGA.jl/dev/ | ||
|
||
## About IGA | ||
## Quick start | ||
The API is similar to Ferrite.jl: | ||
|
||
``` | ||
using Ferrite, IGA | ||
order = 2 # second order NURBS | ||
nels = (20,10) # Number of elements | ||
patch = generate_nurbs_patch(:plate_with_hole, nels, order) | ||
#Convert nurbs patch to a Grid structure with bezier-extraction operators | ||
grid = BezierGrid(patch) | ||
#Create interpolation and shape values | ||
ip = IGAInterpolation{RefQuadrilateral,order}() #Bernstein polynomials | ||
qr_cell = QuadratureRule{RefQuadrilateral}(4) | ||
cv = BezierCellValues(qr_cell, ip, update_hessians=true) | ||
#... | ||
#update cell values | ||
coords::BezierCoords = getcoordinates(grid, 1) | ||
reinit!(cv, coords) | ||
From wikipedia: | ||
*Isogeometric analysis is a computational approach that offers the possibility of integrating finite element analysis (FEA) into conventional NURBS-based CAD design tools. Currently, it is necessary to convert data between CAD and FEA packages to analyse new designs during development, a difficult task since the two computational geometric approaches are different. Isogeometric analysis employs complex NURBS geometry (the basis of most CAD packages) in the FEA application directly. This allows models to be designed, tested and adjusted in one go, using a common data set.* | ||
``` |
Oops, something went wrong.