Skip to content
/ vinci Public

Boundary Element Method in 2D based on Crouch & Starfield book

License

Notifications You must be signed in to change notification settings

youwol/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 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