Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
517 changes: 517 additions & 0 deletions contact/examples/3D/semi-implicit/cube.mesh

Large diffs are not rendered by default.

61 changes: 61 additions & 0 deletions contact/examples/3D/semi-implicit/quasistatic-adaptive.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"geometry": [
{
"mesh": "cube.mesh",
"surface_selection": [
{
"id": 2,
"axis": "+z",
"position": 0.99
}
]
},
{
"mesh": "slab.obj",
"is_obstacle": true
}
],
"materials": {
"type": "NeoHookean",
"E": 10000000.0,
"nu": 0.45,
"rho": 1000
},
"time": {
"tend": 1.0,
"dt": 0.25,
"quasistatic": true
},
"contact": {
"enabled": true,
"dhat": 0.001
},
"boundary_conditions": {
"dirichlet_boundary": [
{
"id": 2,
"value": [
"0",
"0",
"-0.25*t"
]
}
]
},
"solver": {
"contact": {
"barrier_stiffness": "adaptive"
},
"linear": {
"solver": "Eigen::SimplicialLDLT"
}
},
"output": {
"log": {
"level": "debug"
},
"paraview": {
"file_name": "quasistatic-adaptive.pvd"
}
}
}
65 changes: 65 additions & 0 deletions contact/examples/3D/semi-implicit/quasistatic-semi-alhess.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"geometry": [
{
"mesh": "cube.mesh",
"surface_selection": [
{
"id": 2,
"axis": "+z",
"position": 0.99
}
]
},
{
"mesh": "slab.obj",
"is_obstacle": true
}
],
"materials": {
"type": "NeoHookean",
"E": 10000000.0,
"nu": 0.45,
"rho": 1000
},
"time": {
"tend": 1.0,
"dt": 0.25,
"quasistatic": true
},
"contact": {
"enabled": true,
"dhat": 0.001
},
"boundary_conditions": {
"dirichlet_boundary": [
{
"id": 2,
"value": [
"0",
"0",
"-0.25*t"
]
}
]
},
"solver": {
"contact": {
"barrier_stiffness": "semi_implicit"
},
"linear": {
"solver": "Eigen::SimplicialLDLT"
},
"augmented_lagrangian": {
"strategy": "adaptive_inexact",
"initial_weight": "hessian_scaled"
}
},
"output": {
"log": {
"level": "debug"
},
"paraview": {
"file_name": "quasistatic-semi-alhess.pvd"
}
}
}
62 changes: 62 additions & 0 deletions contact/examples/3D/semi-implicit/quasistatic-semi-friction.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"geometry": [
{
"mesh": "cube.mesh",
"surface_selection": [
{
"id": 2,
"axis": "+z",
"position": 0.99
}
]
},
{
"mesh": "slab.obj",
"is_obstacle": true
}
],
"materials": {
"type": "NeoHookean",
"E": 10000000.0,
"nu": 0.45,
"rho": 1000
},
"time": {
"tend": 1.0,
"dt": 0.25,
"quasistatic": true
},
"contact": {
"enabled": true,
"dhat": 0.001,
"friction_coefficient": 0.3
},
"boundary_conditions": {
"dirichlet_boundary": [
{
"id": 2,
"value": [
"0",
"0",
"-0.25*t"
]
}
]
},
"solver": {
"contact": {
"barrier_stiffness": "semi_implicit"
},
"linear": {
"solver": "Eigen::SimplicialLDLT"
}
},
"output": {
"log": {
"level": "debug"
},
"paraview": {
"file_name": "quasistatic-semi-friction.pvd"
}
}
}
57 changes: 57 additions & 0 deletions contact/examples/3D/semi-implicit/quasistatic-semi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"geometry": [
{
"mesh": "cube.mesh",
"surface_selection": [
{
"id": 2,
"axis": "+z",
"position": 0.99
}
]
},
{
"mesh": "slab.obj",
"is_obstacle": true
}
],
"materials": {
"type": "NeoHookean",
"E": 1e7,
"nu": 0.45,
"rho": 1000
},
"time": {
"tend": 1.0,
"dt": 0.25,
"quasistatic": true
},
"contact": {
"enabled": true,
"dhat": 1e-3
},
"boundary_conditions": {
"dirichlet_boundary": [
{
"id": 2,
"value": ["0", "0", "-0.25*t"]
}
]
},
"solver": {
"contact": {
"barrier_stiffness": "semi_implicit"
},
"linear": {
"solver": "Eigen::SimplicialLDLT"
}
},
"output": {
"log": {
"level": "debug"
},
"paraview": {
"file_name": "quasistatic-semi.pvd"
}
}
}
6 changes: 6 additions & 0 deletions contact/examples/3D/semi-implicit/slab.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
v -1 -1 -0.02
v 2 -1 -0.02
v 2 2 -0.02
v -1 2 -0.02
f 1 2 3
f 1 3 4
61 changes: 61 additions & 0 deletions contact/examples/3D/semi-implicit/transient-semi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"geometry": [
{
"mesh": "cube.mesh",
"surface_selection": [
{
"id": 2,
"axis": "+z",
"position": 0.99
}
]
},
{
"mesh": "slab.obj",
"is_obstacle": true
}
],
"materials": {
"type": "NeoHookean",
"E": 10000000.0,
"nu": 0.45,
"rho": 1000
},
"time": {
"tend": 1.0,
"dt": 0.25,
"quasistatic": false
},
"contact": {
"enabled": true,
"dhat": 0.001
},
"boundary_conditions": {
"dirichlet_boundary": [
{
"id": 2,
"value": [
"0",
"0",
"-0.25*t"
]
}
]
},
"solver": {
"contact": {
"barrier_stiffness": "semi_implicit"
},
"linear": {
"solver": "Eigen::SimplicialLDLT"
}
},
"output": {
"log": {
"level": "debug"
},
"paraview": {
"file_name": "transient-semi.pvd"
}
}
}
31 changes: 25 additions & 6 deletions old-tolerances/standard/homogenization.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
},
"geometry": [
{
"mesh": "periodic_x.obj"
"mesh": "periodic_x.obj",
"surface_selection": {
"threshold": 1e-05
}
}
],
"space": {
Expand Down Expand Up @@ -39,9 +42,25 @@
}
},
"boundary_conditions": {
"periodic_boundary": {
"enabled": true,
"linear_displacement_offset": [
"periodic": [
{
"boundary_ids": [
1,
3
]
},
{
"boundary_ids": [
2,
4
]
}
]
},
"constraints": {
"zero_mean": true,
"macro_displacement_gradient": {
"value": [
[
0,
0
Expand All @@ -51,7 +70,7 @@
-0.3
]
],
"fixed_macro_strain": [
"fixed_components": [
3
]
}
Expand All @@ -62,4 +81,4 @@
"E": 1000.0,
"nu": 0.5
}
}
}
Loading