Skip to content
Merged
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
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,19 @@ precice-config.xml.orig
*.o
*.so
.out

# CMake
build/
CMakeFiles/
cmake_install.cmake
CMakeCache.txt
Makefile

# Python
.venv/
__pycache__/
*.pyc
*.pyo

# Rust
Cargo.lock
Expand All @@ -60,6 +67,10 @@ postProcessing/
*.foam
*.OpenFOAM
dynamicCode
Make/*
!Make/files
!Make/options
lnInclude/

# CalculiX
spooles.out
Expand Down Expand Up @@ -108,6 +119,9 @@ install*
# G+smo
pointData.csv

# FMI
*.fmu

# FEniCS covered by .vtk
# Nutils covered by .vtk

Expand Down
9 changes: 0 additions & 9 deletions elastic-tube-1d/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions flow-around-controlled-moving-cylinder/.gitignore

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Pre-processing 0.orig
0/
2 changes: 1 addition & 1 deletion flow-over-heated-plate/solid-fenicsx/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
12 changes: 8 additions & 4 deletions flow-over-heated-plate/solid-fenicsx/run.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
#!/bin/sh
#!/usr/bin/env bash
set -e -u

if [ ! -d .venv ]; then
if [ ! -v PRECICE_TUTORIALS_NO_VENV ]; then
if [ ! -d ".venv" ]; then
python3 -m venv --system-site-packages .venv
source .venv/bin/activate
pip install -r requirements.txt && pip freeze > pip-installed-packages.log
else
source .venv/bin/activate
fi
. .venv/bin/activate
pip install -r requirements.txt
fi

python3 solid.py
12 changes: 0 additions & 12 deletions heat-exchanger/.gitignore

This file was deleted.

1 change: 1 addition & 0 deletions heat-exchanger/fluid-inner-openfoam/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
constant/polyMesh
1 change: 1 addition & 0 deletions heat-exchanger/fluid-outer-openfoam/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
constant/polyMesh
10 changes: 10 additions & 0 deletions heat-exchanger/solid-calculix/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Files downloaded via run.sh
adiabatic.dfl
all.msh
inner-interface.flm
inner-interface.nam
inner-interface.sur
outer-interface.flm
outer-interface.nam
outer-interface.sur
solid.inp
1 change: 0 additions & 1 deletion oscillator/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion oscillator/mass-left-fmi/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion oscillator/mass-right-fmi/.gitignore

This file was deleted.

11 changes: 6 additions & 5 deletions partitioned-heat-conduction/dirichlet-fenics/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ set -e -u
. ../../tools/log.sh
exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
if [ ! -d .venv ]; then
if [ ! -v PRECICE_TUTORIALS_NO_VENV ]; then
if [ ! -d ".venv" ]; then
python3 -m venv --system-site-packages .venv
source .venv/bin/activate
pip install -r ../solver-fenics/requirements.txt && pip freeze > pip-installed-packages.log
else
source .venv/bin/activate
fi
. .venv/bin/activate
pip install -r ../solver-fenics/requirements.txt
fi

if [ $# -eq 0 ]
Expand Down
12 changes: 8 additions & 4 deletions partitioned-heat-conduction/dirichlet-fenicsx/run.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
#!/bin/sh
#!/usr/bin/env bash
set -e -u

if [ ! -d .venv ]; then
if [ ! -v PRECICE_TUTORIALS_NO_VENV ]; then
if [ ! -d ".venv" ]; then
python3 -m venv --system-site-packages .venv
source .venv/bin/activate
pip install -r ../solver-fenicsx/requirements.txt && pip freeze > pip-installed-packages.log
else
source .venv/bin/activate
fi
. .venv/bin/activate
pip install -r ../solver-fenicsx/requirements.txt
fi

python3 ../solver-fenicsx/heat.py Dirichlet
11 changes: 6 additions & 5 deletions partitioned-heat-conduction/neumann-fenics/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ set -e -u
. ../../tools/log.sh
exec > >(tee --append "$LOGFILE") 2>&1

if [ ! -v PRECICE_TUTORIALS_NO_VENV ]
then
if [ ! -d .venv ]; then
if [ ! -v PRECICE_TUTORIALS_NO_VENV ]; then
if [ ! -d ".venv" ]; then
python3 -m venv --system-site-packages .venv
source .venv/bin/activate
pip install -r ../solver-fenics/requirements.txt && pip freeze > pip-installed-packages.log
else
source .venv/bin/activate
fi
. .venv/bin/activate
pip install -r ../solver-fenics/requirements.txt
fi

python3 ../solver-fenics/heat.py Neumann
Expand Down
13 changes: 9 additions & 4 deletions partitioned-heat-conduction/neumann-fenicsx/run.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
#!/bin/sh
#!/usr/bin/env bash
set -e -u

if [ ! -d .venv ]; then
if [ ! -v PRECICE_TUTORIALS_NO_VENV ]; then
if [ ! -d ".venv" ]; then
python3 -m venv --system-site-packages .venv
source .venv/bin/activate
pip install -r ../solver-fenicsx/requirements.txt && pip freeze > pip-installed-packages.log
else
source .venv/bin/activate
fi
. .venv/bin/activate
pip install -r ../solver-fenicsx/requirements.txt
fi

python3 ../solver-fenicsx/heat.py Neumann
2 changes: 1 addition & 1 deletion partitioned-heat-conduction/solver-fenicsx/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
4 changes: 0 additions & 4 deletions partitioned-heat-conduction/solver-openfoam/.gitignore

This file was deleted.

This file was deleted.

4 changes: 0 additions & 4 deletions quickstart/solid-cpp/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
CMakeFiles/
cmake_install.cmake
CMakeCache.txt
Makefile
rigid_body_solver
2 changes: 1 addition & 1 deletion resonant-circuit/capacitor-julia/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion resonant-circuit/capacitor-matlab/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion resonant-circuit/capacitor-matlab/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash

# Run MATLAB code without GUI
matlab -nodisplay -r "capacitor;exit;"
2 changes: 1 addition & 1 deletion resonant-circuit/capacitor-python/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion resonant-circuit/coil-julia/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion resonant-circuit/coil-matlab/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion resonant-circuit/coil-matlab/run.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash

# Run MATLAB code without GUI
matlab -nodisplay -r "coil;exit;"
2 changes: 1 addition & 1 deletion resonant-circuit/coil-python/clean.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
set -e -u

. ../../tools/cleaning-tools.sh
Expand Down
2 changes: 1 addition & 1 deletion resonant-circuit/plot-solution.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash

if [ "${1:-}" = "" ]; then
echo "No target directory specified. Please specify the directory of the participant containing the watchpoint, e.g. ./plot-displacement.sh coil-python."
Expand Down
2 changes: 0 additions & 2 deletions tools/tests/.gitignore

This file was deleted.

1 change: 1 addition & 0 deletions volume-coupled-flow/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# Signal file expected by the system tests specifically in uni-directional coupling
fluid-participant-finished.log