mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-19 17:58:53 +00:00
all tests pass now
This commit is contained in:
@@ -80,19 +80,16 @@ function get_test_model()
|
||||
return body1, body2, body3, bc1, bc2, bc3, bc4, bc5
|
||||
end
|
||||
|
||||
#= TODO: Fix test
|
||||
@testset "test 2d mortar problem with three bodies and shared nodes" begin
|
||||
|
||||
body1, body2, body3, bc1, bc2, bc3, bc4, bc5 = get_test_model()
|
||||
|
||||
solver = Solver(Nonlinear)
|
||||
solver.properties.linear_system_solver = :DirectLinearSolver_UMFPACK
|
||||
solver = Solver(Linear)
|
||||
push!(solver, body1, body2, body3, bc1, bc2, bc3, bc4, bc5)
|
||||
solver()
|
||||
|
||||
X = e3("geometry", [1.0, 1.0], 0.0)
|
||||
u = e3("displacement", [1.0, 1.0], 0.0)
|
||||
info("displacement at $X: $u")
|
||||
u_expected = [-1/3, 1.0]
|
||||
@test isapprox(u, u_expected)
|
||||
end
|
||||
|
||||
=#
|
||||
|
||||
Reference in New Issue
Block a user