Trilinos based (stochastic) FEM solvers
run.m
Go to the documentation of this file.
1
clc
2
clear all
3
close all
4
5
mesh
= readgmsh(
'rubberblock.msh'
);
6
p
=
mesh
.POS;
7
t
=
mesh
.HEXAS;
8
9
u
=
load
(
'u.mtx'
);
10
e
=
load
(
'e22.mtx'
);
11
s
=
load
(
'sig22.mtx'
);
12
pdef
=
p
/1000 + [
u
(1:3:end), u(2:3:end), u(3:3:end)];
13
writevtk
(
'rubberblock.vtk'
,
pdef
,
t
(:,1:8),[],[],[
u
(1:3:end),
u
(2:3:end),
u
(3:3:end)],[
s
,
e
]);
s
s
Definition:
run.m:11
u
u
Definition:
run.m:9
load
load('/home/s/staber/Trilinos_results/nrl/data/eij.mat')
p
p
Definition:
run.m:6
writevtk
writevtk('rubberblock.vtk', pdef, t(:, 1:8), [], [], [u(1:3:end), u(2:3:end), u(3:3:end)], [s, e])
mesh
Definition:
meshpp.hpp:49
pdef
pdef
Definition:
run.m:12
e
e
Definition:
run.m:10
t
t
Definition:
run.m:7
examples
rubberblock
run.m
Generated by
1.8.13