Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
JTHesse committed Feb 8, 2024
2 parents f0fbbca + 4816479 commit 6474e85
Show file tree
Hide file tree
Showing 11 changed files with 7,097 additions and 2 deletions.
4 changes: 4 additions & 0 deletions docs/src/man/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ Run PeriLab with two processors:
$ mpiexecjl -n 2 julia -e "using PeriLab; PeriLab.main()" Dogbone.yaml -v
```

## Training

The training input is given under the examples folder. The documentation and a video will follow.

## Index
```@index
Pages = ["gettin_started.md"]
Expand Down
66 changes: 66 additions & 0 deletions examples/Training/Input.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# SPDX-FileCopyrightText: 2023 Christian Willberg <christian.willberg@dlr.de>, Jan-Timo Hesse <jan-timo.hesse@dlr.de>
#
# SPDX-License-Identifier: BSD-3-Clause

PeriLab:
Discretization:
Node Sets:
Node Set 1: 1 5 9
Node Set 2: 4 8 12
Type: "Text File"
Input Mesh File: "simpleMesh.txt"
Physics:
Material Models:
Aluminium:
Material Model: "Bond-based Elastic"
Bulk Modulus: 2.0e5
Shear Modulus: 1.0e5
Symmetry: "isotropic plane stress"
Zero Energy Control: "Global"
Damage Models:
Damage:
Critical Value: 0.1
Damage Model: Critical Stretch
Blocks:
block_1:
Material Model: "Aluminium"
Damage Model: Damage
Density: 2.7e-9
Horizon: 2.7221534653465347
block_2:
Material Model: "Aluminium"
Density: 2.7e-9
Horizon: 2.7221534653465347
Boundary Conditions:
BC_1:
Type: "Displacements"
Node Set: "Node Set 1"
Coordinate: "x"
Value: "0"
BC_2:
Type: "Displacements"
Node Set: "Node Set 2"
Coordinate: "x"
Value: "2*t"
Solver:
Material Models: True
Damage Models: True
Initial Time: 0.0
Final Time: 5.2e-6
Numerical Damping: 5e-06
Verlet:
Safety Factor: 1.00
Outputs:
Output1:
Flush File: False
Output Filename: "test_1"
Output File Type: "Exodus"
Number of Output Steps: 10
Output Variables:
Forces: True
Displacements: True
Volume: True
Number of Neighbors: True
Damage: True
Testvalues: True

17 changes: 17 additions & 0 deletions examples/Training/simpleMesh.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# SPDX-FileCopyrightText: 2023 Christian Willberg <christian.willberg@dlr.de>, Jan-Timo Hesse <jan-timo.hesse@dlr.de>
#
# SPDX-License-Identifier: BSD-3-Clause

header: x y block_id volume
0 0 1 1.e-01
1 0 1 1.e-01
2 0 1 1.e-01
3 0 1 1.e-01
0 1 1 1.e-01
1 1 1 1.e-01
2 1 1 1.e-01
3 1 1 1.e-01
0 2 2 1.e-01
1 2 2 1.e-01
2 2 2 1.e-01
3 2 2 1.e-01
17 changes: 17 additions & 0 deletions examples/Training/simpleMesh_add_2D_var.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# SPDX-FileCopyrightText: 2023 Christian Willberg <christian.willberg@dlr.de>, Jan-Timo Hesse <jan-timo.hesse@dlr.de>
#
# SPDX-License-Identifier: BSD-3-Clause

header: x y block_id volume myNamex myNamey
0 0 1 1.e-01 1.123 5.123
1 0 1 1.e-01 1.3 1.3
2 0 1 1.e-01 1.3 1.3
3 0 1 1.e-01 1.3 1.3
0 1 1 1.e-01 1.3 1.3
1 1 1 1.e-01 1.1 1.1
2 1 1 1.e-01 2. 2.
3 1 1 1.e-01 1.23 1.23
0 2 2 1.e-01 3. -3.
1 2 2 1.e-01 4. -4.
2 2 2 1.e-01 1.23 -1.23
3 2 2 1.e-01 1.1 1.1
17 changes: 17 additions & 0 deletions examples/Training/simpleMesh_add_Angles.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# SPDX-FileCopyrightText: 2023 Christian Willberg <christian.willberg@dlr.de>, Jan-Timo Hesse <jan-timo.hesse@dlr.de>
#
# SPDX-License-Identifier: BSD-3-Clause

header: x y block_id volume Angles
0 0 1 1.e-01 90
1 0 1 1.e-01 90
2 0 1 1.e-01 90
3 0 1 1.e-01 90
0 1 1 1.e-01 90
1 1 1 1.e-01 90
2 1 1 1.e-01 90
3 1 1 1.e-01 90
0 2 2 1.e-01 90
1 2 2 1.e-01 90
2 2 2 1.e-01 90
3 2 2 1.e-01 90
17 changes: 17 additions & 0 deletions examples/Training/simpleMesh_add_var.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# SPDX-FileCopyrightText: 2023 Christian Willberg <christian.willberg@dlr.de>, Jan-Timo Hesse <jan-timo.hesse@dlr.de>
#
# SPDX-License-Identifier: BSD-3-Clause

header: x y block_id volume myName
0 0 1 1.e-01 1.123
1 0 1 1.e-01 1.3
2 0 1 1.e-01 1.3
3 0 1 1.e-01 1.3
0 1 1 1.e-01 1.3
1 1 1 1.e-01 1.1
2 1 1 1.e-01 2.
3 1 1 1.e-01 1.23
0 2 2 1.e-01 3.
1 2 2 1.e-01 4.
2 2 2 1.e-01 1.23
3 2 2 1.e-01 1.1
Loading

0 comments on commit 6474e85

Please sign in to comment.