Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
scopplestone committed Jun 4, 2023
1 parent 194252f commit 219826d
Show file tree
Hide file tree
Showing 75 changed files with 36,564 additions and 1,007 deletions.
56 changes: 48 additions & 8 deletions .github/workflows/cmake-ninja.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,27 @@ jobs:
cat ~/.bashrc
echo "======================================================================="
- name: Configure CMake Piclas Single-core
shell: bash
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: |
source ~/.bashrc
cmake -G Ninja -B build_single -DCMAKE_BUILD_TYPE=Release -DLIBS_USE_MPI=OFF -DLIBS_BUILD_HDF5=OFF -DPICLAS_BUILD_POSTI=ON -DPOSTI_BUILD_SUPERB=ON -DPICLAS_READIN_CONSTANTS=ON -DCMAKE_INSTALL_PREFIX=/usr
- name: Build Piclas Single-core
shell: bash
run: |
source ~/.bashrc
cmake --build build_single
- name: Configure CMake Piclas DSMC
shell: bash
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: |
source ~/.bashrc
cmake -G Ninja -B build_DSMC -DPICLAS_TIMEDISCMETHOD=DSMC -DCMAKE_BUILD_TYPE=Release -DLIBS_USE_MPI=ON -DLIBS_BUILD_HDF5=OFF -DPICLAS_BUILD_POSTI=ON -DPOSTI_BUILD_SUPERB=ON -DPICLAS_READIN_CONSTANTS=ON -DCMAKE_INSTALL_PREFIX=/usr
#cmake -G Ninja -B build_DSMC -DPICLAS_TIMEDISCMETHOD=DSMC -DCMAKE_BUILD_TYPE=Debug -DLIBS_USE_MPI=ON -DLIBS_BUILD_HDF5=OFF -DPICLAS_BUILD_POSTI=ON -DPOSTI_BUILD_SUPERB=ON -DPICLAS_READIN_CONSTANTS=ON -DCMAKE_INSTALL_PREFIX=/usr
cmake -G Ninja -B build_DSMC -DPOSTI_BUILD_PICLAS2VTK=OFF -DPOSTI_BUILD_SUPERB=OFF -DPICLAS_POLYNOMIAL_DEGREE=1 -DPICLAS_TIMEDISCMETHOD=DSMC -DCMAKE_BUILD_TYPE=Release -DLIBS_USE_MPI=ON -DLIBS_BUILD_HDF5=OFF -DPICLAS_READIN_CONSTANTS=ON -DCMAKE_INSTALL_PREFIX=/usr
- name: Build Piclas DSMC
shell: bash
Expand All @@ -204,9 +217,8 @@ jobs:
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: |
source ~/.bashrc
cmake -G Ninja -B build_poisson_leapfrog -DPICLAS_TIMEDISCMETHOD=Leapfrog -DPICLAS_EQNSYSNAME=poisson -DPICLAS_PETSC=ON -DCMAKE_BUILD_TYPE=Release -DLIBS_USE_MPI=ON -DLIBS_BUILD_HDF5=OFF -DPICLAS_BUILD_POSTI=ON -DPOSTI_BUILD_SUPERB=ON -DPICLAS_READIN_CONSTANTS=ON -DCMAKE_INSTALL_PREFIX=/usr
#cmake -G Ninja -B build_poisson_leapfrog -DPICLAS_TIMEDISCMETHOD=Leapfrog -DPICLAS_EQNSYSNAME=poisson -DPICLAS_PETSC=OFF -DCMAKE_BUILD_TYPE=Release -DLIBS_USE_MPI=ON -DLIBS_BUILD_HDF5=OFF -DPICLAS_BUILD_POSTI=ON -DPOSTI_BUILD_SUPERB=ON -DPICLAS_READIN_CONSTANTS=ON -DCMAKE_INSTALL_PREFIX=/usr
#cmake -G Ninja -B build_poisson_leapfrog -DPICLAS_TIMEDISCMETHOD=Leapfrog -DPICLAS_EQNSYSNAME=poisson -DPICLAS_PETSC=OFF -DCMAKE_BUILD_TYPE=Debug -DLIBS_USE_MPI=ON -DLIBS_BUILD_HDF5=OFF -DPICLAS_BUILD_POSTI=ON -DPOSTI_BUILD_SUPERB=ON -DPICLAS_READIN_CONSTANTS=ON -DCMAKE_INSTALL_PREFIX=/usr
cmake -G Ninja -B build_poisson_leapfrog -DPOSTI_BUILD_PICLAS2VTK=OFF -DPOSTI_BUILD_SUPERB=OFF -DPICLAS_TIMEDISCMETHOD=Leapfrog -DPICLAS_EQNSYSNAME=poisson -DPICLAS_PETSC=ON -DCMAKE_BUILD_TYPE=Release -DLIBS_USE_MPI=ON -DLIBS_BUILD_HDF5=OFF -DPICLAS_READIN_CONSTANTS=ON -DCMAKE_INSTALL_PREFIX=/usr
#cmake -G Ninja -B build_poisson_leapfrog -DPOSTI_BUILD_PICLAS2VTK=OFF -DPOSTI_BUILD_SUPERB=OFF -DPICLAS_TIMEDISCMETHOD=Leapfrog -DPICLAS_EQNSYSNAME=poisson -DPICLAS_PETSC=OFF -DCMAKE_BUILD_TYPE=Release -DLIBS_USE_MPI=ON -DLIBS_BUILD_HDF5=OFF -DPICLAS_READIN_CONSTANTS=ON -DCMAKE_INSTALL_PREFIX=/usr
- name: Build Piclas Poisson Leapfrog
shell: bash
Expand All @@ -218,6 +230,34 @@ jobs:
shell: bash
run: |
source ~/.bashrc
echo "======================================================================="
ls -la build_single/bin
echo "======================================================================="
cd build_single
# Declare an array of strings
declare -a PROGS=("piclas2vtk" "superB")
# Iterate the string array
for PROG in ${PROGS[@]}; do
rm -rf AppDir
DESTDIR=AppDir ninja install
mkdir -p AppDir/usr/share/icons
cp ../docs/logo.png AppDir/usr/share/icons/${PROG}.png
cp ../.github/workflows/piclas.desktop template.desktop
mv template.desktop ${PROG}.desktop
sed -i -e "s/Name=.*/Name=${PROG}/" ${PROG}.desktop
sed -i -e "s/Exec=.*/Exec=${PROG}/" ${PROG}.desktop
sed -i -e "s/Icon=.*/Icon=${PROG}/" ${PROG}.desktop
./../linuxdeploy-x86_64.AppImage --appdir AppDir --output appimage --desktop-file=${PROG}.desktop
done
# Check folder contents
ls -la
cd ..
echo "======================================================================="
ls -la build_DSMC/bin
echo "======================================================================="
Expand Down Expand Up @@ -250,7 +290,7 @@ jobs:
cd build_poisson_leapfrog
# Declare an array of strings
declare -a PROGS=("piclas2vtk" "piclas" "superB")
declare -a PROGS=("piclas")
# Iterate the string array
for PROG in ${PROGS[@]}; do
Expand Down Expand Up @@ -331,10 +371,10 @@ jobs:
run: |
mkdir artifacts
mkdir release-assets
cp build_single/piclas2vtk*x86_64.AppImage piclas2vtk
cp build_single/superB*x86_64.AppImage superB
cp build_DSMC/piclas-*x86_64.AppImage piclasDSMC
cp build_poisson_leapfrog/piclas-*x86_64.AppImage piclasLeapfrogHDG
cp build_poisson_leapfrog/piclas2vtk*x86_64.AppImage piclas2vtk
cp build_poisson_leapfrog/superB*x86_64.AppImage superB
7z a release-assets/piclas-linux64.zip piclasDSMC piclasLeapfrogHDG piclas2vtk superB
ls -la release-assets
mv piclasDSMC piclasLeapfrogHDG piclas2vtk superB artifacts/.
Expand Down
34 changes: 18 additions & 16 deletions REGGIE.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,14 +209,15 @@ Testing more complex DSMC routines: [Link CMAKE-CONFIG](regressioncheck/NIG_DSMC

Different dielectric regions in combination with the HDG solver (Poisson's equation)

| **No.** | **Case** | **CMAKE-CONFIG** | **Feature** | **Execution** | **Comparing** | **Readme** |
| :-----: | :--------------------------------: | :--------------: | :-------------------------------------------: | :-----------: | :------------------------------------------------: | :------------------------------------------------------------: |
| 1 | HDG_cylinder | | cylindrical dielectric region | nProcs=1 | reference solution for DielectricGlobal | [Link](/regressioncheck/NIG_dielectric/HDG_cylinder/readme.md) |
| 2 | HDG_point_charge | | single charged particle and dielectric region | nProcs=1 | reference solution for DielectricGlobal N=3 to N=9 | |
| 3 | HDG_slab | | dielectric slab | nProcs=1 | reference solution for DielectricGlobal | |
| 4 | HDG_sphere_in_box_analytical_BC | | single charged particle and dielectric region | nProcs=1 | analytic reference solution and p-convergence rate | |
| 5 | HDG_sphere_in_box_potential_BC | | single charged particle and dielectric region | nProcs=1 | analytic reference solution and p-convergence rate | |
| 6 | HDG_sphere_in_sphere_analytical_BC | | single charged particle and dielectric region | nProcs=1 | analytic reference solution and p-convergence rate | |
| **No.** | **Case** | **Feature** | **Execution** | **Comparing** | **Readme** |
| :-----: | :--------------------------------: | :-------------------------------------------: | :-----------: | :-------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------: |
| 1 | HDG_cylinder | cylindrical dielectric region | nProcs=1 | reference solution for DielectricGlobal | [Link](/regressioncheck/NIG_dielectric/HDG_cylinder/readme.md) |
| 2 | HDG_point_charge_CVWM_surf_charge | single charged particle and dielectric region | nProcs=5 | L2 error (analytical solution) | [Link](/regressioncheck/NIG_dielectric/HDG_point_charge_CVWM_surf_charge/readme.md) |
| 3 | HDG_point_charge_SF | single charged particle and dielectric region | nProcs=5 | reference solution for DielectricGlobal N=3 to N=9, 2 error (analytical solution) | [Link](/regressioncheck/NIG_dielectric/HDG_point_charge_SF/readme.md) |
| 4 | HDG_slab | dielectric slab | nProcs=1 | reference solution for DielectricGlobal | |
| 5 | HDG_sphere_in_box_analytical_BC | single charged particle and dielectric region | nProcs=1 | analytic reference solution and p-convergence rate | |
| 6 | HDG_sphere_in_box_potential_BC | single charged particle and dielectric region | nProcs=1 | analytic reference solution and p-convergence rate | |
| 7 | HDG_sphere_in_sphere_analytical_BC | single charged particle and dielectric region | nProcs=1 | analytic reference solution and p-convergence rate | |

### NIG_Reservoir

Expand Down Expand Up @@ -327,16 +328,17 @@ Testing PIC compiled with Boris-Leapfrog integration (poisson,Boris-Leapfrog), s

Testing PIC compiled with Runge-Kutta 3 integration, solving Poisson's equation: [Link to build](regressioncheck/NIG_PIC_poisson_RK3/builds.ini).

| **No.** | **Case** | **CMAKE-CONFIG** | **Feature** | **Execution** | **Comparing** | **Readme** |
| **No.** | **Case** | **CMAKE-CONFIG** | **Feature** | **Execution** | **Comparing** | **Readme** |
| :-----: | :-----------------------------------------------------------: | :--------------: | :-----------------------------------------------------------------------------------------------------------------------------: | :-------------: | :--------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------: |
| 1 | parallel_plates | | CalcCoupledPower | nProcs=1 | PartAnalyzeRK3_ref.csv | [Link](regressioncheck/NIG_PIC_poisson_RK3/parallel_plates/readme.md) |
| 2 | parallel_plates_AC | | CalcCoupledPower | nProcs=1 | PartAnalyzeRK3_ref.csv | [Link](regressioncheck/NIG_PIC_poisson_RK3/parallel_plates_AC/readme.md) |
| 3 | plasma_sheath_BR-electrons_conforming | | non-linear HDG (BR electrons) | nProcs=2 | TimeAvg | [Link](regressioncheck/NIG_PIC_poisson_RK3/plasma_sheath_BR-electrons_conforming/readme.md) |
| 4 | plasma_sheath_BR-electrons_conforming_auto-switch | | non-linear HDG (BR electrons), automatic switching BR/kinetic | nProcs=1,2,4 | - | [Link](regressioncheck/NIG_PIC_poisson_RK3-electrons_conforming/plasma_sheath_BR-electrons_conforming_auto-switch/readme.md) |
| 5 | plasma_sheath_BR-electrons_conforming_auto-switch_auto-ref | | non-linear HDG (BR electrons), automatic switching BR/kinetic, automatic ref. values, change nSkipAnalyze during the simulation | nProcs=1,2,4,11 | integrate Te over time (PartAnalyze.csv) | [Link](regressioncheck/NIG_PIC_poisson_RK3-electrons_conforming/plasma_sheath_BR-electrons_conforming_auto-switch_auto-ref/readme.md) |
| 1 | parallel_plates | | CalcCoupledPower | nProcs=1 | PartAnalyzeRK3_ref.csv | [Link](regressioncheck/NIG_PIC_poisson_RK3/parallel_plates/readme.md) |
| 2 | parallel_plates_AC | | CalcCoupledPower | nProcs=1 | PartAnalyzeRK3_ref.csv | [Link](regressioncheck/NIG_PIC_poisson_RK3/parallel_plates_AC/readme.md) |
| 3 | plasma_sheath_BR-electrons_conforming | | non-linear HDG (BR electrons) | nProcs=2 | TimeAvg | [Link](regressioncheck/NIG_PIC_poisson_RK3/plasma_sheath_BR-electrons_conforming/readme.md) |
| 4 | plasma_sheath_BR-electrons_conforming_auto-switch | | non-linear HDG (BR electrons), automatic switching BR/kinetic | nProcs=1,2,4 | - | [Link](regressioncheck/NIG_PIC_poisson_RK3-electrons_conforming/plasma_sheath_BR-electrons_conforming_auto-switch/readme.md) |
| 5 | plasma_sheath_BR-electrons_conforming_auto-switch_auto-ref | | non-linear HDG (BR electrons), automatic switching BR/kinetic, automatic ref. values, change nSkipAnalyze during the simulation | nProcs=1,2,4,11 | integrate Te over time (PartAnalyze.csv) | [Link](regressioncheck/NIG_PIC_poisson_RK3-electrons_conforming/plasma_sheath_BR-electrons_conforming_auto-switch_auto-ref/readme.md) |
| 6 | plasma_sheath_BR-electrons_conforming_auto-switch_variable_Te | | non-linear HDG (BR electrons), automatic switching BR/kinetic, variable Te, change nSkipAnalyze during the simulation | nProcs=1,2,4,11 | integrate Te over time (PartAnalyze.csv) | [Link](regressioncheck/NIG_PIC_poisson_RK3-electrons_conforming/plasma_sheath_BR-electrons_conforming_auto-switch_variable_Te/readme.md) |
| 7 | plasma_sheath_BR-electrons_mortar | | non-linear HDG (BR electrons), Mortars | nProcs=2 | TimeAvg | [Link](regressioncheck/NIG_PIC_poisson_RK3-electrons_conforming/plasma_sheath_BR-electrons_mortar/readme.md) |
| 8 | turner | | | nProcs=4 | L2 error, PartAnalyze.csv | |
| 7 | plasma_sheath_BR-electrons_mortar | | non-linear HDG (BR electrons), Mortars | nProcs=2 | TimeAvg | [Link](regressioncheck/NIG_PIC_poisson_RK3-electrons_conforming/plasma_sheath_BR-electrons_mortar/readme.md) |
| 8 | turner | | | nProcs=4 | L2 error, PartAnalyze.csv | |
| 9 | turner_bias-voltage_AC-DC | | bias voltage for AC with BCType=51 and 52 (power control) and DC with BCType=50 potential boundaries | nProcs=1,2,4,10 | PartAnalyze.csv, SurfaceAnalyze.csv | [Link](regressioncheck/NIG_PIC_poisson_RK3/turner_bias-voltage_AC-DC/readme.md) |

### NIG_PIC_maxwell_RK4

Expand Down
Loading

0 comments on commit 219826d

Please sign in to comment.