Skip to content

Commit 37fd63c

Browse files
committed
Restructure EMS directory a bit.
1 parent 36935e3 commit 37fd63c

File tree

7 files changed

+55
-27
lines changed

7 files changed

+55
-27
lines changed

examples/ems/awful-cube/awful-cube.g

213 KB
Binary file not shown.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
type: single
2+
input mesh file: awful-cube.g
3+
output mesh file: awful-cube.e
4+
Exodus output interval: 10
5+
CSV output interval: 10
6+
model:
7+
type: mesh smoothing
8+
smooth reference: max
9+
material:
10+
blocks:
11+
awful: elastic
12+
elastic:
13+
model: seth-hill
14+
m: 2
15+
n: 2
16+
bulk modulus: 1.0e+03
17+
shear modulus: 1.0e+03
18+
density: 1000.0
19+
time integrator:
20+
type: quasi static
21+
initial time: 0.0
22+
final time: 1.0e-00
23+
time step: 1.0e-04
24+
maximum time step: 1.0e-4
25+
minimum time step: 1.0e-15
26+
increase factor: 1.1
27+
decrease factor: 0.5
28+
boundary conditions:
29+
Dirichlet:
30+
- node set: nsx-
31+
component: x
32+
function: "0.0"
33+
- node set: nsy-
34+
component: y
35+
function: "0.0"
36+
- node set: nsz-
37+
component: z
38+
function: "0.0"
39+
- node set: nsx+
40+
component: x
41+
function: "0.0"
42+
- node set: nsy+
43+
component: y
44+
function: "0.0"
45+
- node set: nsz+
46+
component: z
47+
function: "0.0"
48+
solver:
49+
type: steepest descent
50+
step: steepest descent
51+
minimum iterations: 1
52+
maximum iterations: 16
53+
relative tolerance: 1.0e-12
54+
absolute tolerance: 1.0e-08
55+
step length: 1.0e-8

examples/ems/cloud/cube.yaml

Lines changed: 0 additions & 24 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/model.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -810,9 +810,6 @@ function evaluate(model::SolidMechanics, integrator::TimeIntegrator, solver::Sol
810810
end
811811
merge_threadlocal_arrays(model, arrays_tl, num_dofs, flags)
812812
model.body_force = body_force_vector
813-
if flags.mesh_smoothing == true
814-
model.internal_force -= integrator.velocity
815-
end
816813
return nothing
817814
end
818815

0 commit comments

Comments
 (0)