-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge Request #29
- Loading branch information
Showing
18 changed files
with
169 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.so filter=lfs diff=lfs merge=lfs -text | ||
*.tar.gz filter=lfs diff=lfs merge=lfs -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
#!/usr/bin/env bash | ||
set -ex | ||
|
||
# Make a folder to collect all DUNE-related code (-p to allow re-provisioning) | ||
mkdir -p dune && cd dune | ||
|
||
# Get required DUNE modules | ||
if [ ! -d "dune-common/" ]; then | ||
git clone --branch v2.8.0 --depth=1 https://gitlab.dune-project.org/core/dune-common.git | ||
fi | ||
|
||
if [ ! -d "dune-istl/" ]; then | ||
git clone --branch v2.8.0 --depth=1 https://gitlab.dune-project.org/core/dune-istl.git | ||
fi | ||
|
||
if [ ! -d "dune-localfunctions/" ]; then | ||
git clone --branch v2.8.0 --depth=1 https://gitlab.dune-project.org/core/dune-localfunctions.git | ||
fi | ||
|
||
if [ ! -d "dune-grid/" ]; then | ||
git clone --branch v2.8.0 --depth=1 https://gitlab.dune-project.org/core/dune-grid.git | ||
fi | ||
|
||
if [ ! -d "dune-geometry/" ]; then | ||
git clone --branch v2.8.0 --depth=1 https://gitlab.dune-project.org/core/dune-geometry.git | ||
fi | ||
|
||
if [ ! -d "dune-functions/" ]; then | ||
git clone --branch v2.8.0 --depth=1 https://gitlab.dune-project.org/staging/dune-functions.git | ||
fi | ||
|
||
if [ ! -d "dune-uggrid/" ]; then | ||
git clone --branch v2.8.0 --depth=1 https://gitlab.dune-project.org/staging/dune-uggrid.git | ||
fi | ||
|
||
if [ ! -d "dune-typetree/" ]; then | ||
git clone --branch v2.8.0 --depth=1 https://gitlab.dune-project.org/staging/dune-typetree.git | ||
fi | ||
|
||
if [ ! -d "dune-foamgrid/" ]; then | ||
git clone --branch releases/2.8 --depth=1 https://gitlab.dune-project.org/extensions/dune-foamgrid.git | ||
fi | ||
|
||
# Get the dune-elastodynamics module (solid solver) | ||
if [ ! -d "dune-elastodynamics/" ]; then | ||
git clone --branch master --depth=1 https://github.com/maxfirmbach/dune-elastodynamics.git | ||
fi | ||
( | ||
cd dune-elastodynamics | ||
git pull | ||
) | ||
|
||
# Get the DUNE-preCICE adapter | ||
if [ ! -d "dune-adapter/" ]; then | ||
git clone --branch main --depth=1 https://github.com/precice/dune-adapter.git | ||
fi | ||
( | ||
cd dune-adapter/dune-precice | ||
git pull | ||
) | ||
|
||
# Build all the DUNE and DUNE-preCICE related modules | ||
DUNE_CONTROL_PATH=~/dune ./dune-common/bin/dunecontrol all | ||
|
||
# Set the DUNE_CONTROL_PATH (DUNE recursively finds modules in this directory) | ||
echo "export DUNE_CONTROL_PATH=\"\${HOME}/dune\"" >> ~/.bashrc | ||
|
||
# Copy the built example code to the tutorials | ||
cp ~/dune/dune-adapter/dune-precice-howto/build-cmake/examples/dune-perpendicular-flap ~/tutorials/perpendicular-flap/solid-dune | ||
|
||
# We are done with DUNE, let's do back home | ||
cd ~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,4 @@ | ||
#!/usr/bin/env bash | ||
set -ex | ||
|
||
if [ ! -d "paraview" ]; then | ||
mkdir paraview | ||
PARAVIEW_URL="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v5.8&type=binary&os=Linux&downloadFile=ParaView-5.8.1-MPI-Linux-Python3.7-64bit.tar.gz" | ||
wget --no-check-certificate --quiet -O - "${PARAVIEW_URL}" | tar -xz -C paraview | ||
ln -sf ~/paraview/ParaView-5.8.1-MPI-Linux-Python3.7-64bit/bin/paraview ~/Desktop/ | ||
# Add ParaView to PATH | ||
echo "export PATH=\"\${HOME}/paraview/ParaView-5.8.1-MPI-Linux-Python3.7-64bit/bin:\${PATH}\"" >>~/.bashrc | ||
fi | ||
sudo apt-get install -y paraview |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Prebuilt libraries and tools of swak4Foam for Ubuntu 20.04 and OpenFOAM v2112, based on commit ea7680cdcf8b (December 2021). | ||
Find the source code on http://hg.code.sf.net/p/openfoam-extend/swak4Foam/rev/ea7680cdcf8b |
Git LFS file not shown