Skip to content
Snippets Groups Projects
Commit e1370a41 authored by Anna Wellmann's avatar Anna Wellmann
Browse files

Merge branch 'ALM_testcase' of...

Merge branch 'ALM_testcase' of https://git.rz.tu-bs.de/m.schoenherr/VirtualFluids_dev into ALM_testcase
parents 5026f122 f8794af1
No related branches found
No related tags found
1 merge request!186Fix boundary condition edge diagonals
Showing
with 636 additions and 41 deletions
###############################################################################
## VirtualFluids CI Pipeline ##
###############################################################################
image: git.rz.tu-bs.de:4567/irmb/virtualfluids/ubuntu20_04:1.3
image: git.rz.tu-bs.de:4567/irmb/virtualfluids/ubuntu20_04:1.4
stages:
- build
......@@ -133,27 +133,37 @@ gcc_9_python:
- export CCACHE_DIR=$CI_PROJECT_DIR/cache
script:
- python3 setup.py bdist_wheel build_ext --build-temp=_skbuild -- -DBUILD_VF_CPU=ON -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_CUDA_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache
- python3 setup.py bdist_wheel build_ext --build-temp=_skbuild -- -DBUILD_VF_CPU=ON -DBUILD_VF_DOUBLE_ACCURACY=ON -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_CUDA_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache
###############################################################################
## Container Upload ##
###############################################################################
build_singularity_image:
build_poiseuille_test_container:
image:
name: quay.io/singularity/singularity:v3.10.2
entrypoint: [""]
stage: container_upload
needs:
- gcc_9_python
rules:
- if: $REMOTE_USER && $REMOTE_HOST && $PRIVATE_KEY && $CI_PIPELINE_SOURCE == "schedule"
when: always
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
when: never
- when: manual
allow_failure: true
tags:
- linux
- privileged
rules:
- if: $CI_COMMIT_TAG
artifacts:
expire_in: 1 hrs
paths:
- Containers/PoiseuilleTestContainer.sif
script:
- singularity build Containers/VirtualFluidsPython.sif Containers/VirtualFluidsPython.def
- singularity push --docker-username "${CI_REGISTRY_USER}" --docker-password "${CI_REGISTRY_PASSWORD}" Containers/VirtualFluidsPython.sif oras://"$CI_REGISTRY_IMAGE"/"$CI_PROJECT_NAME":"$CI_COMMIT_TAG"
- singularity build "Containers/PoiseuilleTestContainer.sif" "Python/SlurmTests/poiseuille/PoiseuilleTestContainer.def"
###############################################################################
## Tests ##
......@@ -203,6 +213,28 @@ gcc_9_python_bindings_test:
- python3 -m unittest discover -s Python -v
###############################################################################
gcc_9_python_hpc_test:
image: python:latest
stage: test
needs: ["build_poiseuille_test_container"]
rules:
- if: $REMOTE_USER && $REMOTE_HOST && $PRIVATE_KEY && $CI_PIPELINE_SOURCE == "schedule"
when: always
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
when: never
- when: manual
allow_failure: true
before_script:
- pip install hpc-rocket
script:
- hpc-rocket launch --watch Python/SlurmTests/poiseuille/rocket.yml
###############################################################################
## Benchmark ##
###############################################################################
......@@ -320,8 +352,7 @@ clang_build_analyzer_clang_10:
- mkdir -p $CI_PROJECT_DIR/build
- cd $CI_PROJECT_DIR/build
- cmake ..
-DBUILD_VF_CPU=ON
-DBUILD_VF_GPU=ON
--preset=all_make
-DCMAKE_CUDA_ARCHITECTURES=60
-DCMAKE_CXX_FLAGS=-ftime-trace
- ClangBuildAnalyzer --start .
......@@ -353,8 +384,7 @@ include_what_you_use_clang_10:
- mkdir -p $CI_PROJECT_DIR/build
- cd $CI_PROJECT_DIR/build
- cmake ..
-DBUILD_VF_CPU=ON
-DBUILD_VF_GPU=ON
--preset=all_make
-DCMAKE_CUDA_ARCHITECTURES=60
-DBUILD_VF_INCLUDE_WHAT_YOU_USE=ON
- make
......@@ -474,6 +504,7 @@ clang-tidy:
- cd $CI_PROJECT_DIR/build
- cmake ..
-DBUILD_VF_CPU=ON
-DBUILD_VF_DOUBLE_ACCURACY=ON
-DBUILD_VF_GPU=OFF
- python3 ../utilities/filterCompileCommands.py compile_commands.json
- run-clang-tidy -quiet > clangtidy.txt
......@@ -605,26 +636,3 @@ sonar-scanner:
script:
- cd $CI_PROJECT_DIR
- sonar-scanner -X -Dsonar.verbose=true -Dsonar.login=$SONAR_SECURITY_TOKEN
###############################################################################
## Release ##
###############################################################################
create_release:
stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest
needs: ["build_singularity_image"]
rules:
- if: $CI_COMMIT_TAG
script:
- echo "Creating release with tag $CI_COMMIT_TAG"
- release-cli create --name "VirtualFluids $CI_COMMIT_TAG" \
--description "VirtualFluids CFD Simulator" \
--tag-name "$CI_COMMIT_TAG" \
--ref "$CI_COMMIT_SHA" \
--job-token "$CI_JOB_TOKEN" \
--assets-link="{'name':'VirtualFluidsSingularityImage_OpenMPI','url':'','type':'other','filepath':'Containers/VirtualFluidsOpenMPI.sif'}"
- build/bin/basicsTests
#################################################################################
# VirtualFluids MACHINE FILE
# Responsible: Konstantin Kutscher
# OS: Windows 10
#################################################################################
#################################################################################
# MPI
#################################################################################
#SET(MPI_DIR "C:/Program Files (x86)/mpich2")
#SET(MPI_DIR "C:/Program Files/mpich2")
#SET(USE_MPI_CXX_SYNTAX OFF)
#SET(MPI_COMPILER "C:/Program Files/mpich2/bin/mpicxx")
#SET(MPI_INCLUDE_PATH "C:/Program Files (x86)/mpich2/include")
#SET(MPI_LIBRARY "C:/Program Files/mpich2/lib/libmpi.a")
#SET(MPI_CXX_LIBRARY "C:/Program Files/MPICH2/lib/cxx.lib")
#################################################################################
# BOOST
#################################################################################
SET(BOOST_VERSION "1.60.0")
SET(BOOST_ROOT "d:/Tools/boost/boost_1_60_0")
SET(BOOST_DIR ${BOOST_ROOT})
SET(BOOST_LIBRARYDIR ${BOOST_ROOT}"/stageMSVC64/lib")
#################################################################################
# VTK
#################################################################################
set(VTK_DIR "d:/Tools/VTK/build/VTK-8.0.0")
#################################################################################
# LIGGGHTS
#################################################################################
set(LIGGGHTS_SOURCE_DIR "d:/Tools/LIGGGHTS/src")
set(LIGGGHTS_DEBUG_LIBRARY "d:/Tools/LIGGGHTS/build/Debug/liggghts.lib")
set(LIGGGHTS_RELEASE_LIBRARY "d:/Tools/LIGGGHTS/build/Release/liggghts.lib")
#################################################################################
# METIS
#################################################################################
#IF(${USE_METIS})
# SET(METIS_INCLUDEDIR "d:/Tools/metis-5.1.0/include")
# SET(METIS_DEBUG_LIBRARY "d:/Tools/metis-5.1.0/build/libmetis/Debug/metis.lib")
# SET(METIS_RELEASE_LIBRARY "d:/Tools/metis-5.1.0/build/libmetis/Release/metis.lib")
# SET(METIS_INCLUDEDIR "/mnt/d/Tools/metis-5.1.0/include")
# SET(METIS_DEBUG_LIBRARY "/mnt/d/Tools/metis-5.1.0/build/Linux-x86_64/libmetis/libmetis.a")
# SET(METIS_RELEASE_LIBRARY "/mnt/d/Tools/metis-5.1.0/build/Linux-x86_64/libmetis/libmetis.a")
#ENDIF()
#################################################################################
# PE
#################################################################################
IF(${USE_DEM_COUPLING})
SET(PE_BINARY_DIR "d:/Tools/waLBerla/walberlaGit/build" CACHE PATH "pe binary dir")
SET(PE_ROOT "d:/Tools/waLBerla/walberlaGit" CACHE PATH "pe root")
SET(PE_DEBUG_LIBRARY ${PE_BINARY_DIR}/src/pe/Debug/pe.lib)
SET(PE_RELEASE_LIBRARY ${PE_BINARY_DIR}/src/pe/Release/pe.lib)
SET(BLOCKFOREST_DEBUG_LIBRARY ${PE_BINARY_DIR}/src/blockforest/Debug/blockforest.lib)
SET(BLOCKFOREST_RELEASE_LIBRARY ${PE_BINARY_DIR}/src/blockforest/Release/blockforest.lib)
SET(DOMAIN_DECOMPOSITION_DEBUG_LIBRARY ${PE_BINARY_DIR}/src/domain_decomposition/Debug/domain_decomposition.lib)
SET(DOMAIN_DECOMPOSITION_RELEASE_LIBRARY ${PE_BINARY_DIR}/src/domain_decomposition/Release/domain_decomposition.lib)
SET(GEOMETRY_DEBUG_LIBRARY ${PE_BINARY_DIR}/src/geometry/Debug/geometry.lib)
SET(GEOMETRY_RELEASE_LIBRARY ${PE_BINARY_DIR}/src/geometry/Release/geometry.lib)
SET(CORE_DEBUG_LIBRARY ${PE_BINARY_DIR}/src/core/Debug/core.lib)
SET(CORE_RELEASE_LIBRARY ${PE_BINARY_DIR}/src/core/Release/core.lib)
ENDIF()
##################################################################################
# FETOL
##################################################################################
IF(${USE_FETOL})
SET(FETOL_INCLUDEDIR "d:/Projects/FETOL/dev/CppFETOLlib")
SET(FETOL_DEBUG_LIBRARY "d:/Projects/FETOL/dev/CppFETOLlib/build/Debug/fetol.lib")
SET(FETOL_RELEASE_LIBRARY "d:/Projects/FETOL/dev/CppFETOLlib/build/Release/fetol.lib")
SET(YAML_INCLUDEDIR "d:/Tools/yaml-cpp/include")
SET(YAML_DEBUG_LIBRARY "d:/Tools/yaml-cpp/buildVS11/Debug/libyaml-cppmdd.lib")
SET(YAML_RELEASE_LIBRARY "d:/Tools/yaml-cpp/buildVS11/Release/libyaml-cppmd.lib")
SET(BOND_INCLUDEDIR "d:/Projects/FETOL/dev/bond_src/cpp/bond/fetol")
SET(BOND_DEBUG_LIBRARY "d:/Projects/FETOL/dev/bond_lib/Debug/bond.lib")
SET(BOND_RELEASE_LIBRARY "d:/Projects/FETOL/dev/bond_lib/Release/bond.lib")
ENDIF()
##################################################################################
# Java
##############################################################################
### FindJNI.cmake
#find_package(JNI REQUIRED)
#SET(JNI_INCLUDE_DIRS ${JAVA_INCLUDE_PATH} ${JAVA_INCLUDE_PATH2} ${JAVA_AWT_INCLUDE_PATH})
#SET(JNI_LIBRARIES ${JAVA_AWT_LIBRARY} ${JAVA_JVM_LIBRARY})
#SET(JNI_FOUND 1)
\ No newline at end of file
SET(CMAKE_CUDA_ARCHITECTURES "75")
list(APPEND USER_APPS "apps/gpu/LBM/ActuatorLine")
list(APPEND USER_APPS "apps/gpu/LBM/BoundaryLayer")
list(APPEND USER_APPS "apps/gpu/LBM/SphereScaling")
BootStrap: docker
From: ubuntu:20.04
Stage: build
%files
3rdParty 3rdParty
apps apps
CMake CMake
Python Python
pythonbindings pythonbindings
src src
CMakeLists.txt CMakeLists.txt
cpu.cmake cpu.cmake
......@@ -19,7 +21,8 @@ From: ubuntu:20.04
apt-get update && \
apt-get install -y \
build-essential \
cmake=3.16.3-1ubuntu1 \
ccache \
git \
python3 \
python3-dev \
python3-pip \
......@@ -27,10 +30,31 @@ From: ubuntu:20.04
libomp-dev \
libgl1
pip3 install setuptools wheel numpy scipy pyvista
pip3 install setuptools wheel cmake numpy scipy pyvista
export PYTHONPATH=Python
python3 /setup.py install
python3 /setup.py bdist_wheel build_ext --build-temp=build
pip3 install $(find dist/*.whl)
BootStrap: docker
From: ubuntu:20.04
Stage: runtime
%files from build
Python Python
dist dist
%post
export DEBIAN_FRONTEND=noninteractive
apt-get update && \
apt-get install -y \
python3 \
python3-pip \
mpich \
libgl1
pip3 install $(find dist/*.whl)
%environment
export PYTHONPATH=/Python
......
host: $REMOTE_HOST
user: $REMOTE_USER
private_keyfile: $PRIVATE_KEY
copy:
- from: Python/SlurmTests/poiseuille/slurm.job
to: poiseuille_test/slurm.job
overwrite: true
- from: Containers/PoiseuilleTestContainer.sif
to: poiseuille_test/PoiseuilleTestContainer.sif
overwrite: true
collect:
- from: poiseuille_test/POISEUILLE_TEST.out
to: POISEUILLE_TEST.out
overwrite: true
clean:
- poiseuille_test/*
sbatch: poiseuille_test/slurm.job
continue_if_job_fails: true
r"""
=======================================================================================
____ ____ __ ______ __________ __ __ __ __
\ \ | | | | | _ \ |___ ___| | | | | / \ | |
\ \ | | | | | |_) | | | | | | | / \ | |
\ \ | | | | | _ / | | | | | | / /\ \ | |
\ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____
\ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______|
\ \ | | ________________________________________________________________
\ \ | | | ______________________________________________________________|
\ \| | | | __ __ __ __ ______ _______
\ | | |_____ | | | | | | | | | _ \ / _____)
\ | | _____| | | | | | | | | | | \ \ \_______
\ | | | | |_____ | \_/ | | | | |_/ / _____ |
\ _____| |__| |________| \_______/ |__| |______/ (_______/
This file is part of VirtualFluids. VirtualFluids is free software: you can
redistribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
VirtualFluids is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>.
! \file settings.py
! \ingroup Poiseuille
! \author Sven Marcus, Henry Korb
=======================================================================================
"""
import os
from acousticscaling import OneDirectionalAcousticScaling
from pyfluids import cpu
......
......@@ -5,7 +5,7 @@ from poiseuille.simulation import run_simulation
from pyfluids.cpu.writer import Writer, OutputFormat
scale_level = int(os.environ["PYFLUIDS_SCALE_LEVEL"])
scale_level = int(os.environ.get("PYFLUIDS_SCALE_LEVEL", 1))
grid_params, physical_params, runtime_params, kernel = Scaling.configuration_for_scale_level(scale_level)
writer = Writer()
......
#!/bin/bash
#SBATCH -J PyFluidsTest
#SBATCH -o poiseuille_test/POISEUILLE_TEST.out
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=20
......@@ -9,6 +10,9 @@
#SBATCH --partition=standard
source $HOME/.bashrc
module load singularity/3.9.9
cd poiseuille_test
echo "PyFluids Poiseuille Test Case"
echo "Number of tasks: ${SLURM_NTASKS}"
......
r"""
=======================================================================================
____ ____ __ ______ __________ __ __ __ __
\ \ | | | | | _ \ |___ ___| | | | | / \ | |
\ \ | | | | | |_) | | | | | | | / \ | |
\ \ | | | | | _ / | | | | | | / /\ \ | |
\ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____
\ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______|
\ \ | | ________________________________________________________________
\ \ | | | ______________________________________________________________|
\ \| | | | __ __ __ __ ______ _______
\ | | |_____ | | | | | | | | | _ \ / _____)
\ | | _____| | | | | | | | | | | \ \ \_______
\ | | | | |_____ | \_/ | | | | |_/ / _____ |
\ _____| |__| |________| \_______/ |__| |______/ (_______/
This file is part of VirtualFluids. VirtualFluids is free software: you can
redistribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
VirtualFluids is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>.
! \file acousticscaling.py
! \ingroup tests
! \author Sven Marcus, Henry Korb
=======================================================================================
"""
from pyfluids import cpu
......
r"""
=======================================================================================
____ ____ __ ______ __________ __ __ __ __
\ \ | | | | | _ \ |___ ___| | | | | / \ | |
\ \ | | | | | |_) | | | | | | | / \ | |
\ \ | | | | | _ / | | | | | | / /\ \ | |
\ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____
\ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______|
\ \ | | ________________________________________________________________
\ \ | | | ______________________________________________________________|
\ \| | | | __ __ __ __ ______ _______
\ | | |_____ | | | | | | | | | _ \ / _____)
\ | | _____| | | | | | | | | | | \ \ \_______
\ | | | | |_____ | \_/ | | | | |_/ / _____ |
\ _____| |__| |________| \_______/ |__| |______/ (_______/
This file is part of VirtualFluids. VirtualFluids is free software: you can
redistribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
VirtualFluids is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>.
! \file actuator_line.py
! \ingroup actuator_line
! \author Henry Korb, Henrik Asmuth
=======================================================================================
"""
#%%
import numpy as np
from pathlib import Path
......
r"""
=======================================================================================
____ ____ __ ______ __________ __ __ __ __
\ \ | | | | | _ \ |___ ___| | | | | / \ | |
\ \ | | | | | |_) | | | | | | | / \ | |
\ \ | | | | | _ / | | | | | | / /\ \ | |
\ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____
\ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______|
\ \ | | ________________________________________________________________
\ \ | | | ______________________________________________________________|
\ \| | | | __ __ __ __ ______ _______
\ | | |_____ | | | | | | | | | _ \ / _____)
\ | | _____| | | | | | | | | | | \ \ \_______
\ | | | | |_____ | \_/ | | | | |_/ / _____ |
\ _____| |__| |________| \_______/ |__| |______/ (_______/
This file is part of VirtualFluids. VirtualFluids is free software: you can
redistribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
VirtualFluids is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>.
! \file boundary_layer.py
! \ingroup boundary_layer
! \author Henry Korb, Henrik Asmuth
=======================================================================================
"""
#%%
import numpy as np
from pathlib import Path
......
r"""
=======================================================================================
____ ____ __ ______ __________ __ __ __ __
\ \ | | | | | _ \ |___ ___| | | | | / \ | |
\ \ | | | | | |_) | | | | | | | / \ | |
\ \ | | | | | _ / | | | | | | / /\ \ | |
\ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____
\ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______|
\ \ | | ________________________________________________________________
\ \ | | | ______________________________________________________________|
\ \| | | | __ __ __ __ ______ _______
\ | | |_____ | | | | | | | | | _ \ / _____)
\ | | _____| | | | | | | | | | | \ \ \_______
\ | | | | |_____ | \_/ | | | | |_/ / _____ |
\ _____| |__| |________| \_______/ |__| |______/ (_______/
This file is part of VirtualFluids. VirtualFluids is free software: you can
redistribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
VirtualFluids is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>.
! \file simulation.py
! \ingroup cubeflow
! \author Sven Marcus, Henry Korb
=======================================================================================
"""
import os
from pyfluids import cpu
......
r"""
=======================================================================================
____ ____ __ ______ __________ __ __ __ __
\ \ | | | | | _ \ |___ ___| | | | | / \ | |
\ \ | | | | | |_) | | | | | | | / \ | |
\ \ | | | | | _ / | | | | | | / /\ \ | |
\ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____
\ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______|
\ \ | | ________________________________________________________________
\ \ | | | ______________________________________________________________|
\ \| | | | __ __ __ __ ______ _______
\ | | |_____ | | | | | | | | | _ \ / _____)
\ | | _____| | | | | | | | | | | \ \ \_______
\ | | | | |_____ | \_/ | | | | |_/ / _____ |
\ _____| |__| |________| \_______/ |__| |______/ (_______/
This file is part of VirtualFluids. VirtualFluids is free software: you can
redistribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
VirtualFluids is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>.
! \file simulation.py
! \ingroup liddrivencavity
! \author Sven Marcus, Henry Korb
=======================================================================================
"""
from pyfluids import cpu
from pymuparser import Parser
......
r"""
=======================================================================================
____ ____ __ ______ __________ __ __ __ __
\ \ | | | | | _ \ |___ ___| | | | | / \ | |
\ \ | | | | | |_) | | | | | | | / \ | |
\ \ | | | | | _ / | | | | | | / /\ \ | |
\ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____
\ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______|
\ \ | | ________________________________________________________________
\ \ | | | ______________________________________________________________|
\ \| | | | __ __ __ __ ______ _______
\ | | |_____ | | | | | | | | | _ \ / _____)
\ | | _____| | | | | | | | | | | \ \ \_______
\ | | | | |_____ | \_/ | | | | |_/ / _____ |
\ _____| |__| |________| \_______/ |__| |______/ (_______/
This file is part of VirtualFluids. VirtualFluids is free software: you can
redistribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
VirtualFluids is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>.
! \file poiseuille_hpc.py
! \ingroup poiseuille
! \author Sven Marcus, Henry Korb
=======================================================================================
"""
from poiseuille.simulation import run_simulation
from pyfluids import cpu
......
r"""
=======================================================================================
____ ____ __ ______ __________ __ __ __ __
\ \ | | | | | _ \ |___ ___| | | | | / \ | |
\ \ | | | | | |_) | | | | | | | / \ | |
\ \ | | | | | _ / | | | | | | / /\ \ | |
\ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____
\ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______|
\ \ | | ________________________________________________________________
\ \ | | | ______________________________________________________________|
\ \| | | | __ __ __ __ ______ _______
\ | | |_____ | | | | | | | | | _ \ / _____)
\ | | _____| | | | | | | | | | | \ \ \_______
\ | | | | |_____ | \_/ | | | | |_/ / _____ |
\ _____| |__| |________| \_______/ |__| |______/ (_______/
This file is part of VirtualFluids. VirtualFluids is free software: you can
redistribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
VirtualFluids is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>.
! \file simulation.py
! \ingroup poiseuille
! \author Sven Marcus, Henry Korb
=======================================================================================
"""
from pyfluids import cpu
......
r"""
=======================================================================================
____ ____ __ ______ __________ __ __ __ __
\ \ | | | | | _ \ |___ ___| | | | | / \ | |
\ \ | | | | | |_) | | | | | | | / \ | |
\ \ | | | | | _ / | | | | | | / /\ \ | |
\ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____
\ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______|
\ \ | | ________________________________________________________________
\ \ | | | ______________________________________________________________|
\ \| | | | __ __ __ __ ______ _______
\ | | |_____ | | | | | | | | | _ \ / _____)
\ | | _____| | | | | | | | | | | \ \ \_______
\ | | | | |_____ | \_/ | | | | |_/ / _____ |
\ _____| |__| |________| \_______/ |__| |______/ (_______/
This file is part of VirtualFluids. VirtualFluids is free software: you can
redistribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
VirtualFluids is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>.
! \file test_poiseuille_l2.py
! \ingroup poiseuille
! \author Sven Marcus, Henry Korb
=======================================================================================
"""
import os
import shutil
import unittest
......
r"""
=======================================================================================
____ ____ __ ______ __________ __ __ __ __
\ \ | | | | | _ \ |___ ___| | | | | / \ | |
\ \ | | | | | |_) | | | | | | | / \ | |
\ \ | | | | | _ / | | | | | | / /\ \ | |
\ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____
\ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______|
\ \ | | ________________________________________________________________
\ \ | | | ______________________________________________________________|
\ \| | | | __ __ __ __ ______ _______
\ | | |_____ | | | | | | | | | _ \ / _____)
\ | | _____| | | | | | | | | | | \ \ \_______
\ | | | | |_____ | \_/ | | | | |_/ / _____ |
\ _____| |__| |________| \_______/ |__| |______/ (_______/
This file is part of VirtualFluids. VirtualFluids is free software: you can
redistribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
VirtualFluids is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>.
! \file test_acousticscaling.py
! \ingroup tests
! \author Sven Marcus, Henry Korb
=======================================================================================
"""
import unittest
from typing import List
......
r"""
=======================================================================================
____ ____ __ ______ __________ __ __ __ __
\ \ | | | | | _ \ |___ ___| | | | | / \ | |
\ \ | | | | | |_) | | | | | | | / \ | |
\ \ | | | | | _ / | | | | | | / /\ \ | |
\ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____
\ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______|
\ \ | | ________________________________________________________________
\ \ | | | ______________________________________________________________|
\ \| | | | __ __ __ __ ______ _______
\ | | |_____ | | | | | | | | | _ \ / _____)
\ | | _____| | | | | | | | | | | \ \ \_______
\ | | | | |_____ | \_/ | | | | |_/ / _____ |
\ _____| |__| |________| \_______/ |__| |______/ (_______/
This file is part of VirtualFluids. VirtualFluids is free software: you can
redistribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
VirtualFluids is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>.
! \file test_boundaryconditions.py
! \ingroup tests
! \author Sven Marcus, Henry Korb
=======================================================================================
"""
import unittest
from pyfluids import cpu
......
r"""
=======================================================================================
____ ____ __ ______ __________ __ __ __ __
\ \ | | | | | _ \ |___ ___| | | | | / \ | |
\ \ | | | | | |_) | | | | | | | / \ | |
\ \ | | | | | _ / | | | | | | / /\ \ | |
\ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____
\ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______|
\ \ | | ________________________________________________________________
\ \ | | | ______________________________________________________________|
\ \| | | | __ __ __ __ ______ _______
\ | | |_____ | | | | | | | | | _ \ / _____)
\ | | _____| | | | | | | | | | | \ \ \_______
\ | | | | |_____ | \_/ | | | | |_/ / _____ |
\ _____| |__| |________| \_______/ |__| |______/ (_______/
This file is part of VirtualFluids. VirtualFluids is free software: you can
redistribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
VirtualFluids is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>.
! \file test_geometry.py
! \ingroup tests
! \author Sven Marcus, Henry Korb
=======================================================================================
"""
import unittest
from pyfluids import cpu
......
r"""
=======================================================================================
____ ____ __ ______ __________ __ __ __ __
\ \ | | | | | _ \ |___ ___| | | | | / \ | |
\ \ | | | | | |_) | | | | | | | / \ | |
\ \ | | | | | _ / | | | | | | / /\ \ | |
\ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____
\ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______|
\ \ | | ________________________________________________________________
\ \ | | | ______________________________________________________________|
\ \| | | | __ __ __ __ ______ _______
\ | | |_____ | | | | | | | | | _ \ / _____)
\ | | _____| | | | | | | | | | | \ \ \_______
\ | | | | |_____ | \_/ | | | | |_/ / _____ |
\ _____| |__| |________| \_______/ |__| |______/ (_______/
This file is part of VirtualFluids. VirtualFluids is free software: you can
redistribute it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
VirtualFluids is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with VirtualFluids (see COPYING.txt). If not, see <http://www.gnu.org/licenses/>.
! \file test_kernel.py
! \ingroup tests
! \author Sven Marcus, Henry Korb
=======================================================================================
"""
import unittest
from pyfluids import cpu
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment