Introduction

The purpose of behaviour bricks is to hide (by default) part of the behaviour implementation. In other word, they are meant to create a context which simplifies the implementation of some specific behaviours’ classes.

The easiest way to introduce behaviour bricks is to shortly describe the example of the StandardElasticity brick. This brick applies to strain based mechanical behaviours. It assumes:

With those assumptions, the StandardElasticity brick can automatically provide:

The @Brick keyword

Syntax

The @Brick keyword introduces a behaviour brick. It is followed by the name of the brick. This name can be given as a string.

Example

@Brick "StandardElasticity"{
  young_modulus: 150e9,
  poisson_ratio: 0.3
};

List of available bricks

The following brick are available: