Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/PeriHub/PeriLab.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
CWillberg committed Jan 26, 2025
2 parents 6c015f2 + cea8b73 commit 02d6576
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 16 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ SPDX-License-Identifier: BSD-3-Clause

All notable changes to this project will be documented in this file.

## [1.3.0] - 2025-01-24

### Added

- FEM-PD Coupling #218
- Multiple Job Excution #222

## [1.2.7] - 2025-01.20

### Added
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PeriLab"
uuid = "2ecefcea-59f0-46dd-9cfd-1d2b8cc5f112"
authors = ["Christian Willberg <christian.willberg@dlr.de>", "Jan-Timo Hesse <jan-timo.hesse@dlr.de>"]
version = "1.2.8"
version = "1.3.0"

[deps]
AbaqusReader = "bc6b9049-e460-56d6-94b4-a597b2c0390d"
Expand Down
28 changes: 16 additions & 12 deletions src/PeriLab.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ import .Logging_module
import .IO
import .Solver_control

PERILAB_VERSION = "1.2.8"
PERILAB_VERSION = "1.3.0"

export main

Expand Down Expand Up @@ -134,8 +134,9 @@ function parse_commandline()
"--reload", "-r"
help = "reload"
action = :store_true
"filename"
help = "filename"
"filenames"
nargs = '*'
help = "filenames"
required = true
end

Expand All @@ -156,15 +157,18 @@ function main()::Cint
@debug " $arg => $val"
end
MPI.Init()
main(
parsed_args["filename"];
output_dir = parsed_args["output_dir"],
dry_run = parsed_args["dry_run"],
verbose = parsed_args["verbose"],
debug = parsed_args["debug"],
silent = parsed_args["silent"],
reload = parsed_args["reload"],
)
for filename in parsed_args["filenames"]
main(
filename;
output_dir = parsed_args["output_dir"],
dry_run = parsed_args["dry_run"],
verbose = parsed_args["verbose"],
debug = parsed_args["debug"],
silent = parsed_args["silent"],
reload = parsed_args["reload"],
)
end
MPI.Finalize()
return 0
end

Expand Down
Binary file not shown.
10 changes: 10 additions & 0 deletions test/fullscale_tests/test_FEM_coupling/test_FEM_coupling.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
DEFAULT TOLERANCE absolute 1.0E-9
COORDINATES absolute 1.0E-12
TIME STEPS absolute 1.0E-14
NODAL VARIABLES absolute 1.0E-12
DisplacementsX absolute 1.0E-8
DisplacementsY absolute 1.0E-8
"Cauchy Stressyy" absolute 1.0E-8
"Cauchy Stressxy" absolute 1.0E-8
"Cauchy Stressyx" absolute 1.0E-8
"Cauchy Stressyy" absolute 1.0E-8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2023 Christian Willberg <christian.willberg@dlr.de>, Jan-Timo Hesse <jan-timo.hesse@dlr.de>

SPDX-License-Identifier: BSD-3-Clause
Binary file modified test/fullscale_tests/test_aniso_damage/Reference/aniso_damage.e
Binary file not shown.
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,9 @@ MPI.Init()
@testset "test_point_wise_material" begin
include("fullscale_tests/test_point_wise_material/test_point_wise_material.jl")
end
@testset "test_FEM_coupling" begin
include("fullscale_tests/test_FEM_coupling/test_FEM_coupling.jl")
end
# @testset "test_FEM_coupling" begin
# include("fullscale_tests/test_FEM_coupling/test_FEM_coupling.jl")
# end
@testset "test_FEM" begin
include("fullscale_tests/test_FEM/test_FEM.jl")
end
Expand Down

0 comments on commit 02d6576

Please sign in to comment.