mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-08-06 04:21:33 +00:00
fixed surface pressure test
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# This file is a part of JuliaFEM.
|
||||
# License is MIT: see https://github.com/JuliaFEM/JuliaFEM.jl/blob/master/LICENSE.md
|
||||
|
||||
importall Base
|
||||
|
||||
using JuliaFEM
|
||||
|
||||
"""
|
||||
|
||||
@@ -49,7 +49,7 @@ end
|
||||
e2["displacement 3"] = 0.0
|
||||
e3 = Element(Tri3, [4, 3, 2])
|
||||
update!(e3, "geometry", nodes)
|
||||
e3["displacement traction force n"] = 96.0
|
||||
update!(e3, "surface pressure", -96.0)
|
||||
p1 = Problem(Elasticity, "tetra", 3)
|
||||
p2 = Problem(Dirichlet, "bc", 3, "displacement")
|
||||
push!(p1, e1, e3)
|
||||
|
||||
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Reference in New Issue
Block a user