Skip to content

Commit

Permalink
add github action and update paper from master
Browse files Browse the repository at this point in the history
  • Loading branch information
thelfer committed Aug 7, 2024
1 parent f6ed4ac commit 9149d81
Show file tree
Hide file tree
Showing 3 changed files with 208 additions and 121 deletions.
64 changes: 64 additions & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Continuous Integration

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Spack
uses: spack/setup-spack@v2
with:
ref: develop # Spack version (examples: develop, releases/v0.21)
buildcache: true # Configure oci://ghcr.io/spack/github-actions-buildcache
color: true # Force color output (SPACK_COLOR=always)
path: ${{github.workspace}}/spack # Where to clone Spack

- name: Install TFEL
shell: spack-sh {0}
run: |
spack install tfel@rliv-4.2
- name: Config MFrontGallery
shell: spack-sh {0}
run: |
spack load tfel
cmake -B ${{github.workspace}}/build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER=gcc \
-DCMAKE_CXX_COMPILER=g++ \
-DCMAKE_FORTRAN_COMPILER=gfortran \
-Denable-c=ON -Denable-c++=ON -Denable-excel=ON \
-Denable-fortran=ON -Denable-python=ON -Denable-java=OFF \
-Denable-octave=OFF -Denable-generic=ON -Denable-castem=ON \
-Denable-castem-behaviours=ON -Denable-aster=ON \
-Denable-cyrano=ON -Denable-ansys=ON \
-Denable-europlexus=ON -Denable-calculix=ON \
-Denable-abaqus=ON -Denable-diana-fea=ON \
-Denable-zmat=OFF -Denable-fortran-behaviours-wrappers=ON \
-Denable-mfront-documentation-generation=OFF
- name: Build MFrontGallery
run: cmake --build ${{github.workspace}}/build --config Release

- name: Run tests
shell: spack-sh {0}
working-directory: ${{github.workspace}}/build
run: |
spack load tfel
make check
# - name: Test Report
# uses: dorny/test-reporter@v1
# if: success() || failure() # run this step even if previous step failed
# with:
# name: Tests reports # Name of the check run which will be created
# path: build/**/*.xml # Path to test results
# reporter: jest-junit
18 changes: 18 additions & 0 deletions docs/papers/joss/bibliography.bib
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
@article{bernaud_pleiades_2024,
title = {{PLEIADES}: A numerical framework dedicated to the multiphysics and multiscale nuclear fuel behavior simulation},
volume = {205},
issn = {0306-4549},
url = {https://www.sciencedirect.com/science/article/pii/S0306454924002408},
doi = {10.1016/j.anucene.2024.110577},
shorttitle = {{PLEIADES}},
abstract = {The aim of this paper is to introduce the {PLEIADES} framework offering a set of services and numerical tools to model and simulate the behavior of nucl…},
pages = {110577},
journaltitle = {Annals of Nuclear Energy},
author = {Bernaud, Stéphane and Ramière, Isabelle and Latu, Guillaume and Michel, Bruno},
urldate = {2024-08-01},
date = {2024-09-15},
langid = {american},
note = {Publisher: Pergamon},
file = {Bernaud et al. - 2024 - PLEIADES A numerical framework dedicated to the m.pdf:/home/th202608/.zotero/zotero/vzpzva46.default/zotero/storage/XPHQZJBV/Bernaud et al. - 2024 - PLEIADES A numerical framework dedicated to the m.pdf:application/pdf;Snapshot:/home/th202608/.zotero/zotero/vzpzva46.default/zotero/storage/EUKMV7YX/S0306454924002408.html:text/html},
}

@article{Helfer2015,
abstract = {The PLEIADES software environment is devoted to the thermomechanical simulation of nuclear fuel elements behaviour under irradiation. This platform is co-developed in the framework of a research cooperative program between {\'{E}}lectricit{\'{e}} de France (EDF), AREVA and the French Atomic Energy Commission (CEA). As many thermomechanical solvers are used within the platform, one of the PLEAIADES's main challenge is to propose a unified software environment for capitalisation of material knowledge coming from research and development programs on various nuclear systems. This paper introduces a tool called mfront which is basically a code generator based on C++ (Stroustrup and Eberhardt, 2004). Domain specific languages are provided which were designed to simplify the implementations of new material properties, mechanical behaviours and simple material models. mfront was recently released under the GPL open-source licence and is available on its web site: http://tfel.sourceforge.net/. The authors hope that it will prove useful for researchers and engineers, in particular in the field of solid mechanics. mfront interfaces generate code specific to each solver and language considered. In this paper, after a general overview of mfront functionalities, a particular focus is made on mechanical behaviours which are by essence more complex and may have significant impact on the numerical performances of mechanical simulations. mfront users can describe all kinds of mechanical phenomena, such as viscoplasticity, plasticity and damage, for various types of mechanical behaviour (small strain or finite strain behaviour, cohesive zone models). Performance benchmarks, performed using the Code-Aster finite element solver, show that the code generated using mfront is in most cases on par or better than the behaviour implementations written in fortran natively available in this solver. The material knowledge management strategy that was set up within the PLEIADES platform is briefly discussed. A material database named sirius proposes a rigorous material verification workflow. We illustrate the use of mfront through two case of studies: a simple FFC single crystal viscoplastic behaviour and the implementation of a recent behaviour for the fuel material which describes various phenomena: fuel cracking, plasticity and viscoplasticity.},
author = {Helfer, Thomas and Michel, Bruno and Proix, Jean-Michel and Salvo, Maxime and Sercombe, J{\'{e}}r{\^{o}}me and Casella, Michel},
Expand Down
Loading

0 comments on commit 9149d81

Please sign in to comment.