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
- ...
Read online.
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) ) )