Skip to content

Commit

Permalink
Test point force at same time
Browse files Browse the repository at this point in the history
  • Loading branch information
ahojukka5 committed May 28, 2018
1 parent da8cbd0 commit 35e1607
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_supports.jl
Expand Up @@ -40,6 +40,7 @@ for i=1:3
update!(p1, "fixed displacement $i", 0.0)
update!(p1, "fixed rotation $i", 0.0)
end
update!(p2, "point force 1", 10.0e3)
update!(p2, "point moment 1", 10.0e3)

# Create a problem, containing beam elements
Expand All @@ -51,4 +52,4 @@ add_elements!(problem, [p1, p2])
step = Analysis(Static)
add_problems!(step, [problem])
ls, normu, normla = run!(step)
@test isapprox(normla, 10000.0)
@test isapprox(normla, sqrt(2*10000.0^2))

0 comments on commit 35e1607

Please sign in to comment.