Go to the source code of this file.
|
| writevtk ('rubberblock.vtk', pdef, t(:, 1:8), [], [], [u(1:3:end), u(2:3:end), u(3:3:end)], [s, e]) |
|
|
clc clear all close all | mesh = readgmsh('rubberblock.msh') |
|
| p = mesh.POS |
|
| t = mesh.HEXAS |
|
| u = load('u.mtx') |
|
| e = load('e22.mtx') |
|
| s = load('sig22.mtx') |
|
| pdef = p/1000 + [u(1:3:end), u(2:3:end), u(3:3:end)] |
|
◆ writevtk()
writevtk |
( |
'rubberblock.vtk' |
, |
|
|
pdef |
, |
|
|
t(:, 1:8) |
|
|
) |
| |
Definition at line 10 of file run.m.
◆ mesh
clc clear all close all mesh = readgmsh('rubberblock.msh') |
Definition at line 5 of file run.m.
Definition at line 6 of file run.m.
◆ pdef
pdef = p/1000 + [u(1:3:end), u(2:3:end), u(3:3:end)] |
Definition at line 12 of file run.m.
Definition at line 11 of file run.m.
Definition at line 7 of file run.m.
Definition at line 9 of file run.m.