Example of stresses on a simplicial 2-complex (cardinality of facets =3 )

> with(linalg):

The simplicial complex has facets: 213, 143, 423, 125, 245, 415.. Bipyramid over triangle 124.

The following are chosen for the coordinates of the vertices.

> v1:=[0,0,-1]; v2:=[2,0,1]; v3:=[0,1/2,1/2]; v4:=[-2,0,1]; v5:=[0,-1/2,1/2];

v1 := [0, 0, -1]

v2 := [2, 0, 1]

v3 := [0, 1/2, 1/2]

v4 := [-2, 0, 1]

v5 := [0, -1/2, 1/2]

> M:=transpose(array([v1,v2,v3,v4,v5]));

M := matrix([[0, 2, 0, -2, 0], [0, 0, 1/2, 0, -1/2]...

The following is a linear 3-stress.

> b3:=expand((1/24)*(2*x1+x2+x4)^2*(4*x1+6*x5-x2+6*x3-x4));

b3 := x1*x2*x5+2/3*x1^3-1/24*x2^3-1/24*x4^3+x1*x4*x...
b3 := x1*x2*x5+2/3*x1^3-1/24*x2^3-1/24*x4^3+x1*x4*x...

> g3:=grad(b3,[x1,x2,x3,x4,x5]): multiply(M,g3);

vector([0, 0, 0])

The following is a linear 2-stress, obtained by applying omega to b3.

> b2:=multiply([1,1,1,1,1],g3);

b2 := 2*x2*x3+2*x4*x5+2*x4*x3+2*x2*x5+4*x1*x5+1/4*x...

> g2:=grad(b2,[x1,x2,x3,x4,x5]): multiply(M,g2);

vector([0, 0, 0])

The following is a linear 1-stress, obtained by applying omega to b2.

> b1:=multiply([1,1,1,1,1],g2);

b1 := 8*x5+8*x4+24*x1+8*x2+8*x3

> g1:=grad(b1,[x1,x2,x3,x4,x5]): multiply(M,g1);

vector([0, 0, 0])

The following is a linear 0-stress, obtained by applying omega to b1.

> b0:=multiply([1,1,1,1,1],g1);

b0 := 56

> g0:=grad(b0,[x1,x2,x3,x4,x5]): multiply(M,g0);

vector([0, 0, 0])

The following is a different linear 2-stress, obtained from b3 by using a different combination of partial derivatives.

> b2a:=multiply([1,0,3,-6,2],g3);

b2a := -2*x2*x3-2*x4*x5-2*x4*x3-2*x2*x5-4*x1*x5+2*x...

> g2a:=grad(b2a,[x1,x2,x3,x4,x5]): multiply(M,g2a);

vector([0, 0, 0])

The following is a more general linear 2-stress, obtained from b3 by using a general linear combination of partial derivatives.

> b2b:=expand(multiply([c1,c2,c3,c4,c5],g3));

b2b := c3*x1*x4+c4*x1*x5+c1*x4*x3+c1*x4*x5+c1*x1*x2...
b2b := c3*x1*x4+c4*x1*x5+c1*x4*x3+c1*x4*x5+c1*x1*x2...
b2b := c3*x1*x4+c4*x1*x5+c1*x4*x3+c1*x4*x5+c1*x1*x2...
b2b := c3*x1*x4+c4*x1*x5+c1*x4*x3+c1*x4*x5+c1*x1*x2...

> g2b:=grad(b2b,[x1,x2,x3,x4,x5]): multiply(M,g2b);

vector([0, 0, 0])

>