Skip to content

geopipot/vinci

Repository files navigation

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 cohesionv
  • material heterogeneity
  • ...

Running

Launch the app...

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published