mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-06 11:16:24 +00:00
finite strain is off by default
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user