@youwol/vinci
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

Vinci.js

drawing

Vinci is a 2D displacement discontinuity boundary element method based on Crouch and Starfield, 1983, Boundary element methods in solid mechanics.

The code, written in TypeScript, is extremely simple to read, understand and is very short. It allows easy extensions if necessary such as

  • crack propagation
  • half-space
  • heterogeneous friction and cohesion
  • material heterogeneity
  • ...

Documentation

Read online.

Minimal example

import { Fault, Segment, Model, BC, Solution } from '@youwol/vinci'

const fault = new Fault([0,0, 1,1]) // one segment from (0,0) to (1,1)
fault.burgers = [0,1] // imposed displacement

const model = new Model()
model.addFault(fault)

// Post process
const sol = new Solution(model)
const stresses = sol.stress( new Array(100).fill(0).map( _ => Math.random()*3) ) )



drawing

Plotted Sxy

Readme

Keywords

none

Package Sidebar

Install

npm i @youwol/vinci

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

1.76 MB

Total Files

191

Last publish

Collaborators

  • jehadmelad
  • youwol-jdecharne
  • fmaerten
  • youwol-guillaume