From e94c17bb397ad4bd73af34eb592b534cbefb8b3a Mon Sep 17 00:00:00 2001 From: Jukka Aho Date: Thu, 9 Jun 2016 01:27:29 +0300 Subject: [PATCH] finite strain is off by default --- test/test_elasticity_2d_nonlinear_with_surface_load.jl | 1 + test/test_elasticity_3d_nonlinear_with_surface_load.jl | 1 + 2 files changed, 2 insertions(+) diff --git a/test/test_elasticity_2d_nonlinear_with_surface_load.jl b/test/test_elasticity_2d_nonlinear_with_surface_load.jl index b6126f1..c23aaee 100644 --- a/test/test_elasticity_2d_nonlinear_with_surface_load.jl +++ b/test/test_elasticity_2d_nonlinear_with_surface_load.jl @@ -12,6 +12,7 @@ using JuliaFEM.Test # field problem block = Problem(Elasticity, "BLOCK", 2) block.properties.formulation = :plane_stress + block.properties.finite_strain = true elements = aster_create_elements(mesh, :BLOCK, :QU4) update!(elements, "youngs modulus", 288.0) diff --git a/test/test_elasticity_3d_nonlinear_with_surface_load.jl b/test/test_elasticity_3d_nonlinear_with_surface_load.jl index 25349ad..50cc367 100644 --- a/test/test_elasticity_3d_nonlinear_with_surface_load.jl +++ b/test/test_elasticity_3d_nonlinear_with_surface_load.jl @@ -24,6 +24,7 @@ using JuliaFEM.Test update!([element2], "displacement traction force", Vector{Float64}[[0.0, 0.0, -100.0] for i=1:4]) elasticity_problem = Problem(Elasticity, "solve continuum block", 3) + elasticity_problem.properties.finite_strain = true push!(elasticity_problem, element1) push!(elasticity_problem, element2)