diff --git a/.gitignore b/.gitignore
index b57ab1cf2..bc7352b7e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -93,6 +93,7 @@ PlyParser_FoamFileParser_parsetab.py
*.tar
*.tgz
*.gtgz
+*.xz
# ignore the persistent .build tag in the main directory
/.build
@@ -127,4 +128,17 @@ src/lduSolvers/amg/amgPolicy/aamgPolicy.H
# vagrant stuff
vagrantSandbox/.vagrant/
+# Various intermediate files and directories generated CMAKE
+CMakeFiles/
+build/
+Makefile
+CMakeCache.txt
+cmake_install.cmake
+install_manifest.txt
+timestamp
+
+# new target folders - just for the moment
+bin
+lib
+
# end-of-file
diff --git a/Allwmake.mingw b/Allwmake.mingw
index 2a7f4ba63..33547c821 100644
--- a/Allwmake.mingw
+++ b/Allwmake.mingw
@@ -2,7 +2,7 @@
#----------------------------------*-sh-*--------------------------------------
# ========= |
# \\ / F ield | foam-extend: Open Source CFD
-# \\ / O peration | Version: 4.0
+# \\ / O peration | Version: 4.1
# \\ / A nd | Web: http://www.foam-extend.org
# \\/ M anipulation | For copyright notice see file Copyright
#------------------------------------------------------------------------------
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 28b88def5..ecc674499 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,10 +1,10 @@
-# /*-------------------------------------------------------------------------*\
-# ========= |
-# \\ / F ield | foam-extend: Open Source CFD
-# \\ / O peration | Version: 4.1
-# \\ / A nd | Web: http://www.foam-extend.org
-# \\/ M anipulation | For copyright notice see file Copyright
-# -----------------------------------------------------------------------------
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
# License
# This file is part of foam-extend.
#
@@ -22,381 +22,27 @@
# along with foam-extend. If not, see .
#
# Description
-# CMakeLists.txt file for implementing a test harness for the compilation
-# and test of foam-extend-4.1 using Kitware CTest/CMake/CDash
-#
-# The results will be submitted to the CDash server identified by the file
-# CTestConfig.cmake
+# CMakeLists.txt file for libraries and applications
#
# Author
-# Martin Beaudoin, Hydro-Quebec, 2010. All rights reserved
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
#
#
-# \*-------------------------------------------------------------------------*/
+# --------------------------------------------------------------------------
cmake_minimum_required (VERSION 2.8)
-PROJECT(foam-extend-4.1)
+project(foam-extend-4.1 C CXX)
-#-----------------------------------------------------------------------------
-# Utility functions
-#
-# GetHostName(var)
-#
-# Set the variable named ${var} to the host hostname
-#
-function(GetHostName var)
- set( thisHostName "unknown")
+list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
- if(CMAKE_HOST_WIN32)
- execute_process(
- COMMAND hostname
- OUTPUT_VARIABLE thisHostname
- OUTPUT_STRIP_TRAILING_WHITESPACE
- )
- else()
- execute_process(
- COMMAND hostname -f
- OUTPUT_VARIABLE thisHostname
- OUTPUT_STRIP_TRAILING_WHITESPACE
- )
- endif()
+option(BUILD_WITH_CMAKE "Build using cmake" ON)
+option(RUN_TESTS "Run test loop" OFF)
- set(${var} ${thisHostname} PARENT_SCOPE)
-endfunction()
+if(BUILD_WITH_CMAKE)
+ include(compileFOAM)
+endif(BUILD_WITH_CMAKE)
-#
-# GetGitStatus(status ecode)
-#
-# Get the git status for the local git repository of the source code
-# The variable named ${status} will get the git status
-# The variable named ${ecode} will get the command error code
-#
-function(GetGitStatus _status _ecode)
- set( git_status "unknown")
- set( git_ecode "1")
-
- execute_process(
- COMMAND git status
- WORKING_DIRECTORY ${FOAM_ROOT}
- OUTPUT_VARIABLE git_status
- RESULT_VARIABLE git_ecode
- ERROR_QUIET
- )
- set(${_status} ${git_status} PARENT_SCOPE)
- set(${_ecode} ${git_ecode} PARENT_SCOPE)
-endfunction()
-
-#
-# GetGitBranchName(var)
-#
-# Set the variable named ${var} to the git branch name of the source code
-#
-function(GetGitBranchName var)
- set( retValue "unknown")
-
- execute_process(
- COMMAND git branch --no-color
- WORKING_DIRECTORY ${FOAM_ROOT}
- OUTPUT_VARIABLE listOfGitBranches
- )
- # Create list of strings
- string(REPLACE "\n" ";" listOfGitBranches ${listOfGitBranches})
-
- # Iterate over list, find the string beginning with "* "
- foreach(branch ${listOfGitBranches})
- string(REGEX MATCH "\\* .*$" matchString ${branch})
- string(LENGTH "${matchString}" lengthMatchString)
- if(lengthMatchString GREATER 0)
- # We have match. Cleanup and set retValue
- string(REPLACE "* " "" retValue ${matchString})
- endif()
- endforeach()
-
- set(${var} ${retValue} PARENT_SCOPE)
-endfunction()
-
-#
-# GetGitRevNumber(var)
-#
-# Set the variable named ${var} to the git revision number of the source code
-#
-function(GetGitRevNumber var)
- set( retValue "unknown")
-
- execute_process(
- COMMAND git rev-parse --short=12 HEAD
- WORKING_DIRECTORY ${FOAM_ROOT}
- OUTPUT_VARIABLE git_rev_number
- )
-
- # Minimal check that we do have a valid string
- string(LENGTH "${git_rev_number}" lengthString)
- if(lengthString GREATER 0)
- set(retValue ${git_rev_number})
- endif()
-
- set(${var} ${retValue} PARENT_SCOPE)
-endfunction()
-
-# CleanUpStringForCDash(var)
-#
-# Cleanup the variable named ${value} for characters not supported
-# for CDash identifiers. Return the modified value in retVar
-#
-function(CleanUpStringForCDash value retVar)
- string(REPLACE "/" "_" value "${value}")
- string(REPLACE " " "_" value ${value})
- set(${retVar} ${value} PARENT_SCOPE)
-endfunction()
-
-#-----------------------------------------------------------------------------
-#
-#
-# Initialization of CTest specific variables
-#
-## Run ctest in parallel if environment variable WM_NCOMPPROCS is set
-IF (NOT $ENV{WM_NCOMPPROCS} STREQUAL "")
- # Will run ctest in parallel over $WM_NCOMPPROCS processors
- set(CMAKE_CTEST_COMMAND ${CMAKE_CTEST_COMMAND} --parallel $ENV{WM_NCOMPPROCS})
- MESSAGE("Running tests in parallel using $ENV{WM_NCOMPPROCS} processors")
-ENDIF ()
-
-# Initialize the site name
-
-IF (NOT $ENV{CDASH_SUBMIT_LOCAL_HOST_ID} STREQUAL "")
- # We can override the site name with the environment variable
- # $CDASH_SUBMIT_LOCAL_HOST_ID
- SET(
- SITENAME $ENV{CDASH_SUBMIT_LOCAL_HOST_ID}
- CACHE STRING "Name of the local site"
- )
-ELSE ()
- # Grab the hostname FQN; will be used for the sitename
- GetHostName(SITENAME)
-
-ENDIF()
-
-MESSAGE("Initializing the name of this local site to: ${SITENAME}")
-
-SET(
- SITE ${SITENAME}
- CACHE STRING "Name of the local site"
-)
-
-#Grab the FOAM installation directory.
-SET(
- FOAM_ROOT $ENV{WM_PROJECT_DIR}
- CACHE INTERNAL "FOAM root directory."
-)
-
-# Construct the build name.
-# No need to add $WM_PROJECT_VERSION to the name of the build,
-# the test harness name should have taken care of that.
-SET(
- BUILDNAME $ENV{WM_OPTIONS}
- CACHE STRING "Build ID"
-)
-
-# We allow overriding the git branch and revision information with some
-# user-supplied information using the CDASH_SCM_INFO environment variable.
-#
-# Mercurial or other SCM users should be using this environment variable
-# in order to provide branch and revision information for the buildname.
-#
-# Git users should use this environment variable in order to provide
-# additionnal information instead of just the branch and revision number.
-#
-# Otherwise, the buildname will be appended with the following information:
-# -git-branch=the_git_branch_name-git-rev=the_git_revision_number
-SET(
- BUILDNAME_SCM_INFO $ENV{CDASH_SCM_INFO}
- CACHE STRING "SCM info for CDash buildname"
-)
-
-# Find out the version of the compiler being used.
-# Add this information to the buildname
-# This is for gcc or icc because they both support the -dumpversion option
-EXEC_PROGRAM($ENV{WM_CC}
- ARGS -dumpversion
- OUTPUT_VARIABLE COMPILER_VERSION
-)
-SET(BUILDNAME "${BUILDNAME}-$ENV{WM_CC}${COMPILER_VERSION}")
-#
-# We will support more compilers eventually.
-#
-
-# Timeout for running every single test: 4 hours: 4 x 3600 seconds
-#SET(
-# DART_TESTING_TIMEOUT 14400
-# CACHE STRING "Maximum time allowed (4 hours) before CTest will kill the test."
-#)
-# Timeout for running all this: 20 minutes : 1200 seconds (for debug)
-SET(
- DART_TESTING_TIMEOUT 1200
- CACHE STRING "Maximum time allowed (20 minutes) before CTest will kill the test."
-)
-
-SET(
- CMAKE_VERBOSE_MAKEFILE TRUE
-)
-
-
-# Update section
-#-----------------------------------------------------------------------------
-set (UPDATE_TYPE git)
-
-#
-# Using GIT as SCM
-#
-find_package(Git)
-
-if(NOT BUILDNAME_SCM_INFO STREQUAL "")
- SET(BUILDNAME "${BUILDNAME}-${BUILDNAME_SCM_INFO}")
-
-elseif(GIT_FOUND)
- message("The git command was found: ${GIT_EXECUTABLE}")
-
- # Check if the source code is under a valid git repository
- GetGitStatus(GIT_STATUS GIT_ECODE)
-
- if(NOT GIT_ECODE)
- # We have a valid git repository.
- # Grab the branch and revision info. Add to the build name
- GetGitBranchName(GIT_BRANCH_NAME)
- message("Git branch: ${GIT_BRANCH_NAME}")
-
- GetGitRevNumber(GIT_REV_NUMBER)
- message("Git revision: ${GIT_REV_NUMBER}")
-
- SET(BUILDNAME "${BUILDNAME}-git-branch=${GIT_BRANCH_NAME}")
- SET(BUILDNAME "${BUILDNAME}-git-rev=${GIT_REV_NUMBER}")
- else()
- execute_process(
- COMMAND hg id
- WORKING_DIRECTORY ${FOAM_ROOT}
- OUTPUT_VARIABLE HG_STATUS
- RESULT_VARIABLE HG_ECODE
- ERROR_QUIET
- )
- if(NOT HG_ECODE)
- # We have a valid git repository. Grab the branch and revision info.
- # Add to the build name
- message("No git-branch. Mercurial?")
- EXEC_PROGRAM(hg
- ARGS id --bookmarks
- OUTPUT_VARIABLE GIT_BRANCH_NAME
- )
- EXEC_PROGRAM(hg
- ARGS id --id
- OUTPUT_VARIABLE GIT_REV_NUMBER
- )
- EXEC_PROGRAM(hg
- ARGS log --template='git_{gitnode|short}' -l 1
- OUTPUT_VARIABLE GIT_REAL_REV_NUMBER
- )
- string(REPLACE " " "_" GIT_BRANCH_NAME ${GIT_BRANCH_NAME})
- string(REPLACE "+" ":modified" GIT_REV_NUMBER ${GIT_REV_NUMBER})
- SET(GIT_REV_NUMBER "${GIT_REV_NUMBER}_${GIT_REAL_REV_NUMBER}")
- message("Git branch (mercurial): ${GIT_BRANCH_NAME} Revision: ${GIT_REV_NUMBER}")
-
- SET(BUILDNAME "${BUILDNAME}-hg-branch=${GIT_BRANCH_NAME}")
- SET(BUILDNAME "${BUILDNAME}-hg-rev=${GIT_REV_NUMBER}")
- else()
- # Not a git or mercurial repository: no branch nor revision information available
- SET(BUILDNAME "${BUILDNAME}-git-branch=unknown")
- SET(BUILDNAME "${BUILDNAME}-git-rev=unknown")
- endif()
- endif()
-else()
- # Git is not available: no branch nor revision information supplied
- SET(BUILDNAME "${BUILDNAME}-git-branch=unknown")
- SET(BUILDNAME "${BUILDNAME}-git-rev=unknown")
-endif()
-
-# Some last minute cleanup
-# Seems like no '/' or ' 'are allowed in the BUILDNAME or in the SITE name
-CleanUpStringForCDash(${BUILDNAME} BUILDNAME)
-CleanUpStringForCDash(${SITE} SITE)
-
-message("Build name: ${BUILDNAME}")
-message("Site name: ${SITE}")
-
-#
-# Build section
-#-----------------------------------------------------------------------------
-
-# Compile FOAM, libs and apps
-add_custom_target (foam-extend-$ENV{WM_PROJECT_VERSION} ALL
- ${FOAM_ROOT}/Allwmake
-)
-
-set_property(
- TARGET foam-extend-$ENV{WM_PROJECT_VERSION}
- PROPERTY LABELS foam-extend-$ENV{WM_PROJECT_VERSION}
-)
-
-# Compile the FOAM unit tests located under applications/test
-# This part will not be compiled and run by default.
-# This would be a good candidate for a sub-project
-add_custom_target (foam-extend-$ENV{WM_PROJECT_VERSION}_unitTests
- wmake all ${FOAM_ROOT}/applications/test
-)
-
-# Test section
-#-----------------------------------------------------------------------------
-
-#Enable testing and dashboard
-ENABLE_TESTING()
-INCLUDE(CTest)
-
-SET (CTEST_UPDATE_COMMAND ${GIT_EXECUTABLE})
-
-SET(
- CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 1000
- CACHE INTERNAL "Max number of errors"
-)
-SET(
- CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 1000
- CACHE INTERNAL "Max number of warnings"
-)
-
-IF(BUILD_TESTING)
-
- # Modify this variable if you want the full length test case simulations
- # Beware, this might take a long time to execute.
- # Otherwise, the default behaviour is to run each tutorial for 1 "timestep"
- #SET(RUN_FROM_ONE_TIMESTEP 0)
- SET(RUN_FROM_ONE_TIMESTEP 1)
-
- IF(RUN_FROM_ONE_TIMESTEP)
- SET(testIdSuffix "_oneTimeStep")
- ENDIF(RUN_FROM_ONE_TIMESTEP)
-
- # FOAM will run against this test suite:
-
- # Add the suite of FOAM tutorials
- #
- INCLUDE($ENV{FOAM_TEST_HARNESS_DIR}/CMakeFiles/FOAM_Tutorials.cmake)
-
- IF(RUN_FROM_ONE_TIMESTEP)
- # Modify the cases controlDict file in order to run for only one time step
- MESSAGE("${testRunTimeDirectory}: Modifying the controlDict files for running only one time step in directory: ${TEST_CASE_DIR}")
- if(CMAKE_HOST_WIN32)
- # Need to supply a bash shell to run the script under Windows
- EXECUTE_PROCESS(
- COMMAND bash -c "$ENV{FOAM_TEST_HARNESS_DIR}/scripts/prepareCasesForOneTimeStep.sh ${TEST_CASE_DIR}"
- WORKING_DIRECTORY .
- )
- else()
- EXECUTE_PROCESS(
- COMMAND $ENV{FOAM_TEST_HARNESS_DIR}/scripts/prepareCasesForOneTimeStep.sh ${TEST_CASE_DIR}
- WORKING_DIRECTORY .
- )
- endif()
- ENDIF(RUN_FROM_ONE_TIMESTEP)
-
-ENDIF(BUILD_TESTING)
-
-# That's it.
-#
+if(RUN_TESTS)
+ include(testFOAM)
+endif(RUN_TESTS)
diff --git a/ExtendProjectPreamble b/ExtendProjectPreamble
index 62e0e6ffc..91caea8f5 100644
--- a/ExtendProjectPreamble
+++ b/ExtendProjectPreamble
@@ -2,7 +2,7 @@ The OpenFOAM-Extend Project
Web site: http://www.extend-project.de/
-The goal of the OpenFOAM -Extend Project is to open the OpenFOAM CFD toolbox
+The goal of the FOAM-Extend Project is to open the OpenFOAM CFD toolbox
to community contributed extensions in the spirit of the Open Source
development model.
diff --git a/Macros/tensorOperator.sty b/Macros/tensorOperator.sty
index 62040b9f2..929902bbd 100644
--- a/Macros/tensorOperator.sty
+++ b/Macros/tensorOperator.sty
@@ -1,7 +1,7 @@
%-----------------------------------------------------------------------------
% ========= |
% \\ / F ield | foam-extend: Open Source CFD
-% \\ / O peration | Version: 4.0
+% \\ / O peration | Version: 4.1
% \\ / A nd | Web: http://www.foam-extend.org
% \\/ M anipulation | For copyright notice see file Copyright
%------------------------------------------------------------------------------
diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt
index d736dcaa7..7d23f7bd6 100644
--- a/ReleaseNotes.txt
+++ b/ReleaseNotes.txt
@@ -1,10 +1,10 @@
- _____________________________________
+ _____________________________________
- *RELEASE NOTES FOR FOAM-EXTEND-4.0*
- _____________________________________
+ *RELEASE NOTES FOR FOAM-EXTEND-4.0*
+ _____________________________________
- December 2016
+ December 2016
Table of Contents
diff --git a/ThirdParty/AllClean.stage1 b/ThirdParty/AllClean.stage1
index 4a151d513..aa2a33e26 100755
--- a/ThirdParty/AllClean.stage1
+++ b/ThirdParty/AllClean.stage1
@@ -66,11 +66,6 @@ uninstallPackage mpc-0.8.2 $1
uninstallPackage mpc-1.0.1 $1
# gcc
-uninstallPackage gcc-4.4.5 $1
-uninstallPackage gcc-4.5.1 $1
-uninstallPackage gcc-4.6.4 $1
-uninstallPackage gcc-4.7.4 $1
-uninstallPackage gcc-4.8.4 $1
uninstallPackage gcc-4.9.2 $1
#LLVM
@@ -90,14 +85,7 @@ uninstallPackage bison-2.7 $1
uninstallPackage flex-2.5.35 $1
# cmake
-uninstallPackage cmake-2.8.3 $1
-uninstallPackage cmake-2.8.5 $1
-uninstallPackage cmake-2.8.6 $1
-uninstallPackage cmake-2.8.8 $1
-uninstallPackage cmake-2.8.11 $1
-uninstallPackage cmake-2.8.12 $1
-uninstallPackage cmake-3.2.2 $1
-uninstallPackage cmake-3.3.2 $1
+uninstallPackage cmake-3.11.4 $1
echo
@@ -107,5 +95,3 @@ echo ========================================
echo
# ----------------------------------------------------------------- end-of-file
-
-
diff --git a/ThirdParty/AllClean.stage2 b/ThirdParty/AllClean.stage2
index 63927bdc6..b365a998b 100755
--- a/ThirdParty/AllClean.stage2
+++ b/ThirdParty/AllClean.stage2
@@ -56,6 +56,8 @@ uninstallPackage openmpi-1.4.3 $1
uninstallPackage openmpi-1.5 $1
uninstallPackage openmpi-1.6.5 $1
uninstallPackage openmpi-1.8.4 $1
+uninstallPackage openmpi-3.1.0 $1
+uninstallPackage openmpi-4.0.0 $1
echo
echo ========================================
@@ -64,5 +66,3 @@ echo ========================================
echo
# ----------------------------------------------------------------- end-of-file
-
-
diff --git a/ThirdParty/AllMake.stage1 b/ThirdParty/AllMake.stage1
index b1ff54715..ff374eb49 100755
--- a/ThirdParty/AllMake.stage1
+++ b/ThirdParty/AllMake.stage1
@@ -61,62 +61,6 @@ echo Starting ThirdParty AllMake: Stage1
echo ========================================
echo
-# Gcc 4.4.5 and companion libraries
-#
-[ ! -z "$WM_THIRD_PARTY_USE_GCC_445" ] && {
- echo "Building gmp-5.0.1 mpfr-3.0.1 gcc-4.4.5"
- ( rpm_make -p gmp-5.0.1 -s gmp-5.0.1.spec -u http://ftpmirror.gnu.org/gmp/gmp-5.0.1.tar.gz )
- ( rpm_make -p mpfr-3.0.1 -s mpfr-3.0.1.spec -u http://ftpmirror.gnu.org/mpfr/mpfr-3.0.1.tar.gz )
- ( rpm_make -p gcc-4.4.5 -s gcc-4.4.5.spec -u http://ftpmirror.gnu.org/gcc/gcc-4.4.5/gcc-4.4.5.tar.gz )
-}
-
-# Gcc 4.5.1 and companion libraries
-#
-[ ! -z "$WM_THIRD_PARTY_USE_GCC_451" ] && {
- echo "Building gmp-5.0.1 mpfr-3.0.1 mpc-0.8.2 gcc-4.5.1"
- ( rpm_make -p gmp-5.0.1 -s gmp-5.0.1.spec -u http://ftpmirror.gnu.org/gmp/gmp-5.0.1.tar.gz )
- ( rpm_make -p mpfr-3.0.1 -s mpfr-3.0.1.spec -u http://ftpmirror.gnu.org/mpfr/mpfr-3.0.1.tar.gz )
- ( rpm_make -p mpc-0.8.2 -s mpc-0.8.2.spec -u http://www.multiprecision.org/downloads/mpc-0.8.2.tar.gz )
- ( rpm_make -p gcc-4.5.1 -s gcc-4.5.1.spec -u http://ftpmirror.gnu.org/gcc/gcc-4.5.1/gcc-4.5.1.tar.gz )
-}
-
-# Gcc 4.6.3 and companion libraries
-#
-[ ! -z "$WM_THIRD_PARTY_USE_GCC_463" ] && {
- echo "Building gmp-5.0.5 mpfr-3.1.0 mpc-0.9 gcc-4.6.3"
- ( rpm_make -p gmp-5.0.5 -s gmp-5.0.5.spec -u http://ftpmirror.gnu.org/gmp/gmp-5.0.5.tar.bz2 )
- ( rpm_make -p mpfr-3.1.0 -s mpfr-3.1.0.spec -u http://ftpmirror.gnu.org/mpfr/mpfr-3.1.0.tar.gz )
- ( rpm_make -p mpc-0.9 -s mpc-0.9.spec -u http://www.multiprecision.org/downloads/mpc-0.9.tar.gz )
- ( rpm_make -p gcc-4.6.3 -s gcc-4.6.3.spec -u http://ftpmirror.gnu.org/gcc/gcc-4.6.3/gcc-4.6.3.tar.gz )
-}
-
-# Gcc 4.7.4 and companion libraries
-#
-[ ! -z "$WM_THIRD_PARTY_USE_GCC_474" ] && {
- echo "Building gmp-5.0.5 mpfr-3.1.0 mpc-0.9 gcc-4.6.3"
- ( rpm_make -p gmp-5.1.2 -s gmp-5.1.2.spec -u ftp://ftp.gnu.org/gnu/gmp/gmp-5.1.2.tar.bz2 )
- ( rpm_make -p mpfr-3.1.2 -s mpfr-3.1.2.spec -u ftp://ftp.gnu.org/gnu/mpfr/mpfr-3.1.2.tar.gz )
- ( rpm_make -p mpc-1.0.1 -s mpc-1.0.1.spec -u http://www.multiprecision.org/downloads/mpc-1.0.1.tar.gz )
- ( rpm_make -p gcc-4.7.4 -s gcc-4.7.4.spec -u ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.4/gcc-4.7.4.tar.gz )
-}
-
-# Gcc 4.7.4 and companion libraries
-#
-[ ! -z "$WM_THIRD_PARTY_USE_GCC_474" ] && {
- echo "Building gmp-5.0.5 mpfr-3.1.0 mpc-0.9 gcc-4.6.3"
- ( rpm_make -p gmp-5.1.2 -s gmp-5.1.2.spec -u ftp://ftp.gnu.org/gnu/gmp/gmp-5.1.2.tar.bz2 )
- ( rpm_make -p mpfr-3.1.2 -s mpfr-3.1.2.spec -u ftp://ftp.gnu.org/gnu/mpfr/mpfr-3.1.2.tar.gz )
- ( rpm_make -p mpc-1.0.1 -s mpc-1.0.1.spec -u http://www.multiprecision.org/downloads/mpc-1.0.1.tar.gz )
- ( rpm_make -p gcc-4.7.4 -s gcc-4.7.4.spec -u ftp://ftp.gnu.org/gnu/gcc/gcc-4.7.4/gcc-4.7.4.tar.gz )
-}
-
-# Gcc 4.8.4 and companion libraries
-#
-[ ! -z "$WM_THIRD_PARTY_USE_GCC_484" ] && {
- echo "Building gcc-4.8.4"
- ( rpm_make -p gcc-4.8.4 -s gcc-4.8.4.spec -u http://ftpmirror.gnu.org/gcc/gcc-4.8.4/gcc-4.8.4.tar.gz )
-}
-
# Gcc 4.9.2 and companion libraries
#
[ ! -z "$WM_THIRD_PARTY_USE_GCC_492" ] && {
@@ -161,25 +105,11 @@ echo
( rpm_make -p flex-2.5.35 -s flex-2.5.35.spec -u https://github.com/westes/flex/archive/flex-2-5-35.tar.gz )
}
-# cmake 2.8.12
+# cmake 3.11.4
#
-[ ! -z "$WM_THIRD_PARTY_USE_CMAKE_2812" ] && {
- echo "Building cmake 2.8.12"
- ( rpm_make -p cmake-2.8.12 -s cmake-2.8.12.spec -u http://www.cmake.org/files/v2.8/cmake-2.8.12.tar.gz )
-}
-
-# cmake 3.2.2
-#
-[ ! -z "$WM_THIRD_PARTY_USE_CMAKE_322" ] && {
- echo "Building cmake 3.2.2"
- ( rpm_make -p cmake-3.2.2 -s cmake-3.2.2.spec -u http://www.cmake.org/files/v3.2/cmake-3.2.2.tar.gz )
-}
-
-# cmake 3.3.2
-#
-[ ! -z "$WM_THIRD_PARTY_USE_CMAKE_332" ] && {
- echo "Building cmake 3.3.2"
- ( rpm_make -p cmake-3.3.2 -s cmake-3.3.2.spec -u http://www.cmake.org/files/v3.3/cmake-3.3.2.tar.gz )
+[ ! -z "$WM_THIRD_PARTY_USE_CMAKE_3114" ] && {
+ echo "Building cmake 3.11.4"
+ ( rpm_make -p cmake-3.11.4 -s cmake-3.11.4.spec -u http://www.cmake.org/files/v3.11/cmake-3.11.4.tar.gz )
}
echo ========================================
@@ -188,5 +118,3 @@ echo ========================================
echo
# ----------------------------------------------------------------- end-of-file
-
-
diff --git a/ThirdParty/AllMake.stage2 b/ThirdParty/AllMake.stage2
index cb1e4da03..37c556d26 100755
--- a/ThirdParty/AllMake.stage2
+++ b/ThirdParty/AllMake.stage2
@@ -31,10 +31,10 @@
# Communication libraries
#
# Once this stage is built, you would normally re-initialize your
-# foam-extend environment in order redirect foam-extend toward the
-# appropriate communication library
+# foam-extend environment in order redirect foam-extend toward the
+# appropriate communication library
#
-# NOTE: This stage is optional. Use it only if you want to override
+# NOTE: This stage is optional. Use it only if you want to override
# your system communication libraries
#
# Requirements:
@@ -45,7 +45,7 @@
#
# Author:
# Martin Beaudoin, Hydro-Quebec, (2015)
-#
+#
#------------------------------------------------------------------------------
# run from third-party directory only
cd ${0%/*} || exit 1
@@ -104,6 +104,23 @@ then
( rpm_make -p openmpi-1.8.8 -s openmpi-1.8.8.spec -u https://www.open-mpi.org/software/ompi/v1.8/downloads/openmpi-1.8.8.tar.gz \
-f --define '_configureAdditionalArgs "$WM_THIRD_PARTY_USE_OPENMPI_188_ConfigureAdditionalArgs"')
}
+
+ # openmpi 3.1.1
+ #
+ [ ! -z "$WM_THIRD_PARTY_USE_OPENMPI_311" ] && {
+ echo "Building openmpi 3.1.1"
+ ( rpm_make -p openmpi-3.1.1 -s openmpi-3.1.1.spec -u https://www.open-mpi.org/software/ompi/v3.1/downloads/openmpi-3.1.1.tar.gz \
+ -f --define '_configureAdditionalArgs "$WM_THIRD_PARTY_USE_OPENMPI_311_ConfigureAdditionalArgs"')
+ }
+
+ # openmpi 4.0.0
+ #
+ [ ! -z "$WM_THIRD_PARTY_USE_OPENMPI_400" ] && {
+ echo "Building openmpi 4.0.0"
+ ( rpm_make -p openmpi-4.0.0 -s openmpi-4.0.0.spec -u https://www.open-mpi.org/software/ompi/v4.0/downloads/openmpi-4.0.0.tar.gz \
+ -f --define '_configureAdditionalArgs "$WM_THIRD_PARTY_USE_OPENMPI_400_ConfigureAdditionalArgs"')
+ }
+
# mvipich2-2.2
#
[ ! -z "$WM_THIRD_PARTY_USE_MVAPICH2_22" ] && {
@@ -121,5 +138,3 @@ echo ========================================
echo
# ----------------------------------------------------------------- end-of-file
-
-
diff --git a/ThirdParty/AllMake.stage3 b/ThirdParty/AllMake.stage3
index 7f2aaabae..9b2139e1d 100755
--- a/ThirdParty/AllMake.stage3
+++ b/ThirdParty/AllMake.stage3
@@ -108,6 +108,13 @@ then
echo "Building Mesquite 2.1.2"
( rpm_make -p mesquite-2.1.2 -s mesquite-2.1.2.spec -u http://downloads.sourceforge.net/project/foam-extend/ThirdParty/mesquite-2.1.2.tar.gz )
}
+ # Mesquite 2.3.0
+ #
+ [ ! -z "$WM_THIRD_PARTY_USE_MESQUITE_230" ] && {
+ echo "Building Mesquite 2.3.0"
+ ( rpm_make -p mesquite-2.3.0 -s mesquite-2.3.0.spec -u https://software.sandia.gov/mesquite/mesquite-2.3.0.tar.gz )
+ # ( rpm_make -p mesquite-2.3.0 -s mesquite-2.3.0.spec -u http://downloads.sourceforge.net/project/foam-extend/ThirdParty/mesquite-2.3.0.tar.gz )
+ }
else
echo "Using system installed Mesquite"
echo ""
@@ -183,6 +190,18 @@ then
echo "Building PyFoam 0.6.4"
( rpm_make -p PyFoam-0.6.4 -s PyFoam-0.6.4.spec -u http://openfoamwiki.net/images/3/3b/PyFoam-0.6.4.tar.gz -n PyFoam-0.6.4-1.noarch -a noarch)
}
+ # PyFoam 0.6.6
+ #
+ [ ! -z "$WM_THIRD_PARTY_USE_PYFOAM_066" ] && {
+ echo "Building PyFoam 0.6.6"
+ ( rpm_make -p PyFoam-0.6.6 -s PyFoam-0.6.6.spec -u https://openfoamwiki.net/images/a/af/PyFoam-0.6.6.tar.gz -n PyFoam-0.6.6-1.noarch -a noarch)
+ }
+ # PyFoam 0.6.9
+ #
+ [ ! -z "$WM_THIRD_PARTY_USE_PYFOAM_069" ] && {
+ echo "Building PyFoam 0.6.9"
+ ( rpm_make -p PyFoam-0.6.9 -s PyFoam-0.6.9.spec -u https://files.pythonhosted.org/packages/78/f5/8f65b66c8ac0e5415f785809e182dd0f0dc562a42094e1a86bd22c7d7ece/PyFoam-0.6.9.tar.gz -n PyFoam-0.6.9-1.noarch -a noarch)
+ }
else
echo "Using system installed PyFoam"
echo ""
@@ -191,6 +210,13 @@ fi
# hwloc
if [ -z "$HWLOC_SYSTEM" ]
then
+ # hwloc 2.0.1
+ #
+ [ ! -z "$WM_THIRD_PARTY_USE_HWLOC_201" ] && {
+ echo "Building hwloc 2.0.1"
+ ( rpm_make -p hwloc-2.0.1 -s hwloc-2.0.1.spec -u http://www.open-mpi.org/software/hwloc/v2.0/downloads/hwloc-2.0.1.tar.gz )
+ # ( rpm_make -p hwloc-2.0.1 -s hwloc-2.0.1.spec -u http://downloads.sourceforge.net/project/foam-extend/ThirdParty/hwloc-2.0.1.tar.gz )
+ }
# hwloc 1.10.1
#
[ ! -z "$WM_THIRD_PARTY_USE_HWLOC_1101" ] && {
diff --git a/ThirdParty/AllMake.stage4 b/ThirdParty/AllMake.stage4
index 9b79feead..aa84c82ad 100755
--- a/ThirdParty/AllMake.stage4
+++ b/ThirdParty/AllMake.stage4
@@ -71,6 +71,12 @@ then
echo "Building Qt 5.8.0"
( rpm_make -p qt-everywhere-opensource-src-5.8.0 -s qt-everywhere-opensource-src-5.8.0.spec -u http://download.qt.io/archive/qt/5.8/5.8.0/single/qt-everywhere-opensource-src-5.8.0.tar.gz )
}
+ # Qt 5.11.1
+ #
+ [ ! -z "$WM_THIRD_PARTY_USE_QT_5111" ] && {
+ echo "Building Qt 5.11.1"
+ ( rpm_make -p qt-everywhere-src-5.11.1 -s qt-everywhere-src-5.11.1.spec -u http://download.qt.io/archive/qt/5.11/5.11.1/single/qt-everywhere-src-5.11.1.tar.xz )
+ }
else
echo "Using system installed QT"
echo ""
@@ -124,6 +130,14 @@ then
-f --define='_qmakePath $QT_BIN_DIR/qmake'
)
}
+ # ParaView 5.5.2
+ #
+ [ ! -z "$WM_THIRD_PARTY_USE_PARAVIEW_552" ] && {
+ echo "Building ParaView 5.5.2"
+ ( rpm_make -p ParaView-5.5.2 -s ParaView-5.5.2.spec -u http://www.paraview.org/files/v5.5/ParaView-v5.5.2.tar.gz \
+ -f --define='_qmakePath $QT_BIN_DIR/qmake'
+ )
+ }
else
echo "WARNING: "
echo "WARNING: Skipping the installation of ParaView-4.x.x."
@@ -172,5 +186,3 @@ echo ========================================
echo
# ----------------------------------------------------------------- end-of-file
-
-
diff --git a/ThirdParty/AllMake.stage5 b/ThirdParty/AllMake.stage5
index 5a7c2f147..3390e406d 100755
--- a/ThirdParty/AllMake.stage5
+++ b/ThirdParty/AllMake.stage5
@@ -62,7 +62,7 @@ echo
# which is also replicated under the Breeder_2.0 section of the Subversion repository
#
-SWAK_RELEASE_VERSION=0.4.0
+SWAK_RELEASE_VERSION=0.4.2
if [ -z "$SWAK4FOAM_SYSTEM" ]
then
@@ -78,16 +78,22 @@ then
then
echo "Using Mercurial/hg to download the source code for swak4Foam"
(
- cd ./rpmBuild/BUILD;
- hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam swak4Foam-$SWAK_RELEASE_VERSION;
- cd swak4Foam-$SWAK_RELEASE_VERSION;
- hg checkout version_${SWAK_RELEASE_VERSION}_v2.x
+ cd ./rpmBuild/BUILD
+ hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam swak4Foam-$SWAK_RELEASE_VERSION
+ cd swak4Foam-$SWAK_RELEASE_VERSION
+ #hg checkout version_${SWAK_RELEASE_VERSION}_v2.x
+ # We use dev-branch temporarily
+ hg checkout compile_foamExtend4.1
)
else
echo "Warning: Mercurial/hg is not installed. Switching to an alternate Subversion repository"
command -v svn >/dev/null
if [ $? -eq 0 ];
then
+ # Disabled temporarily
+ echo "Subversion/svn is currently not supported"
+ exit -1
+
echo "Using Subversion/svn to download the source code for swak4Foam"
(cd ./rpmBuild/BUILD; svn checkout svn://svn.code.sf.net/p/openfoam-extend/svn/trunk/Breeder_2.0/libraries/swak4Foam swak4Foam-$SWAK_RELEASE_VERSION)
else
diff --git a/ThirdParty/rpmBuild/SOURCES/ParMGridGen-1.0.patch_64Bit b/ThirdParty/rpmBuild/SOURCES/ParMGridGen-1.0.patch_64Bit
new file mode 100644
index 000000000..aa634ec21
--- /dev/null
+++ b/ThirdParty/rpmBuild/SOURCES/ParMGridGen-1.0.patch_64Bit
@@ -0,0 +1,38 @@
+--- orig/ParMGridGen-1.0/mgridgen.h 2019-01-15 13:32:54.247812378 +0100
++++ ParMGridGen-1.0/mgridgen.h 2019-01-15 13:35:03.972952464 +0100
+@@ -1,4 +1,4 @@
+-typedef int idxtype;
++typedef long int idxtype;
+ typedef double realtype;
+
+
+--- orig/ParMGridGen-1.0/parmgridgen.h 2019-01-15 13:32:54.251812414 +0100
++++ ParMGridGen-1.0/parmgridgen.h 2019-01-15 13:42:14.344335223 +0100
+@@ -1,4 +1,4 @@
+-typedef int idxtype;
++typedef long int idxtype;
+ typedef double realtype;
+
+ void ParMGridGen(idxtype *, idxtype *, realtype *, realtype *, idxtype *,
+--- orig/ParMGridGen-1.0/ParMGridGen/IMParMetis-2.0/ParMETISLib/struct.h 2019-01-15 13:32:54.247812378 +0100
++++ ParMGridGen-1.0/ParMGridGen/IMParMetis-2.0/ParMETISLib/struct.h 2019-01-15 13:44:17.605231500 +0100
+@@ -15,7 +15,7 @@
+
+ /* Indexes are as long as integers for now */
+ #ifdef IDXTYPE_INT
+-typedef int idxtype;
++typedef long int idxtype;
+ #define IDX_DATATYPE MPI_INT
+ #else
+ typedef short idxtype;
+--- orig/ParMGridGen-1.0/MGridGen/IMlib/IMlib.h 2019-01-15 13:32:54.251812414 +0100
++++ ParMGridGen-1.0/MGridGen/IMlib/IMlib.h 2019-01-15 13:52:11.504522970 +0100
+@@ -16,7 +16,7 @@
+
+ /* Indexes are as long as integers for now */
+ #ifdef IDXTYPE_INT
+-typedef int idxtype;
++typedef long int idxtype;
+ #else
+ typedef short idxtype;
+ #endif
diff --git a/ThirdParty/rpmBuild/SOURCES/ParMetis-3.1.1.patch_64Bit b/ThirdParty/rpmBuild/SOURCES/ParMetis-3.1.1.patch_64Bit
new file mode 100644
index 000000000..0d2684910
--- /dev/null
+++ b/ThirdParty/rpmBuild/SOURCES/ParMetis-3.1.1.patch_64Bit
@@ -0,0 +1,11 @@
+--- orig/parmetis-4.0.3/metis/include/metis.h 2019-01-15 12:40:31.050842343 +0100
++++ parmetis-4.0.3/metis/include/metis.h 2019-01-15 12:43:01.883662756 +0100
+@@ -30,7 +30,7 @@
+ GCC does provides these definitions in stdint.h, but it may require some
+ modifications on other architectures.
+ --------------------------------------------------------------------------*/
+-#define IDXTYPEWIDTH 32
++#define IDXTYPEWIDTH 64
+
+
+ /*--------------------------------------------------------------------------
diff --git a/ThirdParty/rpmBuild/SOURCES/ParaView-5.5.2.patch b/ThirdParty/rpmBuild/SOURCES/ParaView-5.5.2.patch
new file mode 100644
index 000000000..d52162e20
--- /dev/null
+++ b/ThirdParty/rpmBuild/SOURCES/ParaView-5.5.2.patch
@@ -0,0 +1,122 @@
+# From https://gitlab.kitware.com/bob.obara/paraview/commit/931c779dde8460fe32aa8a3d19956b175b96e4f9.patch
+diff --git a/Plugins/SLACTools/pqSLACDataLoadManager.cxx b/Plugins/SLACTools/pqSLACDataLoadManager.cxx
+index 3ba019c26b177f2cd93d19f01a0b3a280aaf6ac2..ce38396f6844e7628d4d225d165f2ac4f6598f19 100644
+--- a/Plugins/SLACTools/pqSLACDataLoadManager.cxx
++++ b/Plugins/SLACTools/pqSLACDataLoadManager.cxx
+@@ -34,6 +34,7 @@
+ #include "vtkSMProperty.h"
+ #include "vtkSMSourceProxy.h"
+
++#include
+ #include
+ #include
+
+diff --git a/Qt/ApplicationComponents/pqColorMapEditor.cxx b/Qt/ApplicationComponents/pqColorMapEditor.cxx
+index 0395185e0ab17a544233e9add78cc926ae19f2cd..88b56745eb0d58e5a6b2f2d2cacd62e66c230901 100644
+--- a/Qt/ApplicationComponents/pqColorMapEditor.cxx
++++ b/Qt/ApplicationComponents/pqColorMapEditor.cxx
+@@ -59,6 +59,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ #include
+ #include
+ #include
++#include
+ #include
+
+ class pqColorMapEditor::pqInternals
+diff --git a/Qt/ApplicationComponents/pqDoubleRangeSliderPropertyWidget.cxx b/Qt/ApplicationComponents/pqDoubleRangeSliderPropertyWidget.cxx
+index 908e4598e025fab059a7b6b4097ceddf9cffef6a..820361a2b34abc0af6e4f317d7f77c6a954f7129 100644
+--- a/Qt/ApplicationComponents/pqDoubleRangeSliderPropertyWidget.cxx
++++ b/Qt/ApplicationComponents/pqDoubleRangeSliderPropertyWidget.cxx
+@@ -43,6 +43,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ #include "vtkSMUncheckedPropertyHelper.h"
+
+ #include
++#include
+
+ class pqDoubleRangeSliderPropertyWidget::pqInternals
+ {
+diff --git a/Qt/ApplicationComponents/pqStandardViewFrameActionsImplementation.cxx b/Qt/ApplicationComponents/pqStandardViewFrameActionsImplementation.cxx
+index c297dc3d9e7acab31d5fe326a6207fb326893e73..501633f63a1facae26371e9ea75eccdab582a6cc 100644
+--- a/Qt/ApplicationComponents/pqStandardViewFrameActionsImplementation.cxx
++++ b/Qt/ApplicationComponents/pqStandardViewFrameActionsImplementation.cxx
+@@ -69,6 +69,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ #include
+ #include
+ #include
++#include
+
+ //-----------------------------------------------------------------------------
+ pqStandardViewFrameActionsImplementation::pqStandardViewFrameActionsImplementation(
+diff --git a/Qt/ApplicationComponents/pqTimeInspectorWidget.cxx b/Qt/ApplicationComponents/pqTimeInspectorWidget.cxx
+index 6774c2e48e61e6e8278da02075a47b0ecabcd396..e85e614f042143700f938cc855ef486f9f8be2d7 100644
+--- a/Qt/ApplicationComponents/pqTimeInspectorWidget.cxx
++++ b/Qt/ApplicationComponents/pqTimeInspectorWidget.cxx
+@@ -49,6 +49,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ #include "vtkSMPropertyHelper.h"
+ #include "vtkSMSourceProxy.h"
+
++#include
+ #include
+ #include
+ #include
+diff --git a/Qt/ApplicationComponents/pqTransferFunctionWidgetPropertyDialog.cxx b/Qt/ApplicationComponents/pqTransferFunctionWidgetPropertyDialog.cxx
+index 55d31464474eff2f965d959f99dd2db0b5c185bf..93cd995d92e1bbe361857bb9e88d710463da9914 100644
+--- a/Qt/ApplicationComponents/pqTransferFunctionWidgetPropertyDialog.cxx
++++ b/Qt/ApplicationComponents/pqTransferFunctionWidgetPropertyDialog.cxx
+@@ -36,6 +36,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ #include "vtkPiecewiseFunction.h"
+ #include
+
++#include
++
+ class pqTransferFunctionWidgetPropertyDialog::pqInternals
+ {
+ public:
+diff --git a/Qt/ApplicationComponents/pqViewResolutionPropertyWidget.cxx b/Qt/ApplicationComponents/pqViewResolutionPropertyWidget.cxx
+index 6d2865431ef930a13a9fa0796474dbfb126fc4ac..8d2c4b61cd1038836feb610437f6539dcc6e00bd 100644
+--- a/Qt/ApplicationComponents/pqViewResolutionPropertyWidget.cxx
++++ b/Qt/ApplicationComponents/pqViewResolutionPropertyWidget.cxx
+@@ -39,6 +39,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ #include "vtkSMProxy.h"
+
+ #include
++#include
+
+ class pqViewResolutionPropertyWidget::pqInternals
+ {
+diff --git a/Qt/Components/pqChangeInputDialog.cxx b/Qt/Components/pqChangeInputDialog.cxx
+index 8a67b10095ee037ad3ee1179b342c72d62d11db9..86db3de01c7dccb0727148e709616d9f4c7debe6 100644
+--- a/Qt/Components/pqChangeInputDialog.cxx
++++ b/Qt/Components/pqChangeInputDialog.cxx
+@@ -45,6 +45,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ #include "vtkSMProxy.h"
+ #include "vtkSmartPointer.h"
+
++#include
+ #include
+ #include
+ #include
+diff --git a/Qt/Components/pqCinemaTrackSelection.cxx b/Qt/Components/pqCinemaTrackSelection.cxx
+index 3d6d9dde19f3860c3f0af54f088e4f3b28d1f7b9..eea2e37680126ced46921749c4e70b1295680032 100644
+--- a/Qt/Components/pqCinemaTrackSelection.cxx
++++ b/Qt/Components/pqCinemaTrackSelection.cxx
+@@ -30,6 +30,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+ ========================================================================*/
+ #include
++#include
+
+ #include "vtkPVArrayInformation.h"
+ #include "vtkPVDataInformation.h"
+diff --git a/Qt/Python/pqPythonShell.cxx b/Qt/Python/pqPythonShell.cxx
+index 3d01fd0a96deda60a5c946820b10c54992a6c9fb..bc1a0149360a1d4ae2caa8622ac76f2176608109 100644
+--- a/Qt/Python/pqPythonShell.cxx
++++ b/Qt/Python/pqPythonShell.cxx
+@@ -52,6 +52,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ #include "vtkStringOutputWindow.h"
+ #include "vtkWeakPointer.h"
+
++#include
+ #include
+ #include
+ #include
diff --git a/ThirdParty/rpmBuild/SOURCES/metis-5.1.0_patch_64Bit b/ThirdParty/rpmBuild/SOURCES/metis-5.1.0_patch_64Bit
new file mode 100644
index 000000000..dc702db1d
--- /dev/null
+++ b/ThirdParty/rpmBuild/SOURCES/metis-5.1.0_patch_64Bit
@@ -0,0 +1,11 @@
+--- orig/metis-5.1.0/include/metis.h 2019-01-15 12:40:31.050842343 +0100
++++ metis-5.1.0/include/metis.h 2019-01-15 12:43:01.883662756 +0100
+@@ -30,7 +30,7 @@
+ GCC does provides these definitions in stdint.h, but it may require some
+ modifications on other architectures.
+ --------------------------------------------------------------------------*/
+-#define IDXTYPEWIDTH 32
++#define IDXTYPEWIDTH 64
+
+
+ /*--------------------------------------------------------------------------
diff --git a/ThirdParty/rpmBuild/SOURCES/openmpi-3.1.1.patch b/ThirdParty/rpmBuild/SOURCES/openmpi-3.1.1.patch
new file mode 100644
index 000000000..f8124ca05
--- /dev/null
+++ b/ThirdParty/rpmBuild/SOURCES/openmpi-3.1.1.patch
@@ -0,0 +1,28 @@
+--- openmpi-3.1.1_orig/ompi/include/mpi.h.in 2018-06-29 20:38:13.000000000 +0430
++++ openmpi-3.1.1/ompi/include/mpi.h.in 2019-01-30 22:03:31.021316632 +0330
+@@ -307,7 +307,11 @@
+ * when building OMPI).
+ */
+ #if !OMPI_BUILDING
++#if defined(c_plusplus) || defined(__cplusplus)
++#define OMPI_PREDEFINED_GLOBAL(type, global) (static_cast (static_cast (&(global))))
++#else
+ #define OMPI_PREDEFINED_GLOBAL(type, global) ((type) ((void *) &(global)))
++#endif
+ #else
+ #define OMPI_PREDEFINED_GLOBAL(type, global) ((type) &(global))
+ #endif
+@@ -753,8 +757,13 @@
+ */
+ #define MPI_INFO_ENV OMPI_PREDEFINED_GLOBAL(MPI_Info, ompi_mpi_info_env)
+
++#if defined(c_plusplus) || defined(__cplusplus)
++#define MPI_STATUS_IGNORE (static_cast (0))
++#define MPI_STATUSES_IGNORE (static_cast (0))
++#else
+ #define MPI_STATUS_IGNORE ((MPI_Status *) 0)
+ #define MPI_STATUSES_IGNORE ((MPI_Status *) 0)
++#endif
+
+ /*
+ * Special MPI_T handles
diff --git a/ThirdParty/rpmBuild/SOURCES/openmpi-4.0.0.patch b/ThirdParty/rpmBuild/SOURCES/openmpi-4.0.0.patch
new file mode 100644
index 000000000..30beee336
--- /dev/null
+++ b/ThirdParty/rpmBuild/SOURCES/openmpi-4.0.0.patch
@@ -0,0 +1,28 @@
+--- openmpi-4.0.0_orig/ompi/include/mpi.h.in 2018-11-12 23:50:53.000000000 +0330
++++ openmpi-4.0.0/ompi/include/mpi.h.in 2019-01-30 22:04:14.433503290 +0330
+@@ -325,7 +325,11 @@
+ * when building OMPI).
+ */
+ #if !OMPI_BUILDING
++#if defined(c_plusplus) || defined(__cplusplus)
++#define OMPI_PREDEFINED_GLOBAL(type, global) (static_cast (static_cast (&(global))))
++#else
+ #define OMPI_PREDEFINED_GLOBAL(type, global) ((type) ((void *) &(global)))
++#endif
+ #else
+ #define OMPI_PREDEFINED_GLOBAL(type, global) ((type) &(global))
+ #endif
+@@ -765,8 +769,13 @@
+ */
+ #define MPI_INFO_ENV OMPI_PREDEFINED_GLOBAL(MPI_Info, ompi_mpi_info_env)
+
++#if defined(c_plusplus) || defined(__cplusplus)
++#define MPI_STATUS_IGNORE (static_cast (0))
++#define MPI_STATUSES_IGNORE (static_cast (0))
++#else
+ #define MPI_STATUS_IGNORE ((MPI_Status *) 0)
+ #define MPI_STATUSES_IGNORE ((MPI_Status *) 0)
++#endif
+
+ /*
+ * Special MPI_T handles
diff --git a/ThirdParty/rpmBuild/SOURCES/scotch-6.0.4_patch_0 b/ThirdParty/rpmBuild/SOURCES/scotch-6.0.4_patch_0
index fba224042..84f4393bc 100644
--- a/ThirdParty/rpmBuild/SOURCES/scotch-6.0.4_patch_0
+++ b/ThirdParty/rpmBuild/SOURCES/scotch-6.0.4_patch_0
@@ -27,14 +27,15 @@ diff -ruN scotch_6.0.4_orig/src/Make.inc/Makefile.inc.i686_mac_darwin10.shlib sc
diff -ruN scotch_6.0.4_orig/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib scotch_6.0.4/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib
--- scotch_6.0.4_orig/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib 2014-08-05 08:56:17.000000000 -0400
+++ scotch_6.0.4/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib 2015-06-21 00:26:43.072992194 -0400
-@@ -8,10 +8,10 @@
+@@ -8,10 +8,11 @@
CAT = cat
CCS = gcc
CCP = mpicc
-CCD = gcc
-CFLAGS = -O3 -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_PTHREAD -Drestrict=__restrict
+CCD = mpicc -I$(MPI_HOME)/include
-+CFLAGS = -O3 -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_PTHREAD -Drestrict=__restrict -Xlinker --no-as-needed
++INTSIZE =
++CFLAGS = -O3 $(INTSIZE) -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_PTHREAD -Drestrict=__restrict -Xlinker --no-as-needed
CLIBFLAGS = -shared -fPIC
-LDFLAGS = -lz -lm -pthread
+LDFLAGS = -lz -lm -pthread -lrt
diff --git a/ThirdParty/rpmBuild/SOURCES/scotch-6.0.4_patch_64Bit b/ThirdParty/rpmBuild/SOURCES/scotch-6.0.4_patch_64Bit
new file mode 100644
index 000000000..fce35365a
--- /dev/null
+++ b/ThirdParty/rpmBuild/SOURCES/scotch-6.0.4_patch_64Bit
@@ -0,0 +1,12 @@
+diff -ruN scotch_6.0.4_orig/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib scotch_6.0.4/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib
+--- orig/scotch_6.0.4/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib 2019-01-15 11:26:39.142915259 +0100
++++ scotch_6.0.4/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib 2019-01-15 11:26:58.871041175 +0100
+@@ -9,7 +9,7 @@
+ CCS = gcc
+ CCP = mpicc
+ CCD = mpicc -I$(MPI_HOME)/include
+-INTSIZE =
++INTSIZE = -DINTSIZE64
+ CFLAGS = -O3 $(INTSIZE) -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_PTHREAD -Drestrict=__restrict -Xlinker --no-as-needed
+ CLIBFLAGS = -shared -fPIC
+ LDFLAGS = -lz -lm -pthread -lrt
diff --git a/ThirdParty/rpmBuild/SPECS/ParMGridGen-1.0.spec b/ThirdParty/rpmBuild/SPECS/ParMGridGen-1.0.spec
index 540f37ab3..d52fc4073 100644
--- a/ThirdParty/rpmBuild/SPECS/ParMGridGen-1.0.spec
+++ b/ThirdParty/rpmBuild/SPECS/ParMGridGen-1.0.spec
@@ -78,6 +78,7 @@ Prefix: %{_prefix}
Group: Development/Tools
Patch0: ParMGridGen-1.0.patch_darwin
Patch1: ParMGridGen-1.0.patch
+Patch2: ParMGridGen-1.0.patch_64Bit
%define _installPrefix %{_prefix}/packages/%{name}-%{version}/platforms/%{_WM_OPTIONS}
@@ -93,6 +94,10 @@ Patch1: ParMGridGen-1.0.patch
%patch1 -p1
%endif
+if [ "$WM_LABEL_SIZE" = "64" ]; then
+%patch2 -p1
+fi
+
%build
[ -n "$WM_CC" ] && export CC="$WM_CC"
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
diff --git a/ThirdParty/rpmBuild/SPECS/ParaView-5.5.2.spec b/ThirdParty/rpmBuild/SPECS/ParaView-5.5.2.spec
new file mode 100644
index 000000000..7d421de31
--- /dev/null
+++ b/ThirdParty/rpmBuild/SPECS/ParaView-5.5.2.spec
@@ -0,0 +1,295 @@
+#------------------------------------------------------------------------------
+# ========= |
+# \\ / F ield | foam-extend: Open Source CFD
+# \\ / O peration |
+# \\ / A nd | For copyright notice see file Copyright
+# \\/ M anipulation |
+#------------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Script
+# RPM spec file for ParaView-5.5.2
+#
+# Description
+# RPM spec file for creating a relocatable RPM
+#
+# Authors:
+# Martin Beaudoin, (2018)
+# Andreas Feymark, Chalmers University of Technology, (2013)
+# Pascal Beckstein, HZDR, (2018)
+#
+#------------------------------------------------------------------------------
+
+# We grab the value of WM_THIRD_PARTY and WM_OPTIONS from the environment variable
+%{expand:%%define _WM_THIRD_PARTY_DIR %(echo $WM_THIRD_PARTY_DIR)}
+%{expand:%%define _WM_OPTIONS %(echo $WM_OPTIONS)}
+
+# Disable the generation of debuginfo packages
+%define debug_package %{nil}
+
+# Turning off the Fascist build policy
+# Useful for debugging the install section
+%define _unpackaged_files_terminate_build 0
+
+# The topdir needs to point to the $WM_THIRD_PARTY/rpmbuild directory
+%define _topdir %{_WM_THIRD_PARTY_DIR}/rpmBuild
+%define _tmppath %{_topdir}/tmp
+
+# Will install the package directly $WM_THIRD_PARTY_DIR
+# Some comments about package relocation:
+# By using this prefix for the Prefix: parameter in this file, you will make this
+# package relocatable.
+#
+# This is fine, as long as your software is itself relocatable.
+#
+# Simply take note that libraries built with libtool are not relocatable because the
+# prefix we specify will be hard-coded in the library .la files.
+# Ref: http://sourceware.org/autobook/autobook/autobook_80.html
+#
+# In that case, if you ever change the value of the $WM_THIRD_PARTY_DIR, you will
+# not be able to reutilize this RPM, even though it is relocatable. You will need to
+# regenerate the RPM.
+#
+%define _prefix %{_WM_THIRD_PARTY_DIR}
+
+%define name ParaView
+%define release %{_WM_OPTIONS}
+%define version 5.5.2
+
+%define buildroot %{_topdir}/BUILD/%{name}-%{version}-root
+
+BuildRoot: %{buildroot}
+Summary: ParaView
+License: Unkown
+Name: %{name}
+Version: %{version}
+Release: %{release}
+URL: http://www.paraview.org/files/v5.5/
+Source: %url/%{name}-v%{version}.tar.gz
+Prefix: %{_prefix}
+Group: Development/Tools
+Patch0: ParaView-5.5.2.patch
+
+%define _installPrefix %{_prefix}/packages/%{name}-%{version}/platforms/%{_WM_OPTIONS}
+
+#--------------------------------------------------------------------------
+#
+# Here, we define default compiling options for cmake
+#
+# One can override the option on the commande line : --define='MACRO EXPR'
+#
+%{!?_withVerbose: %define _withVerbose false}
+%{!?_withMesa: %define _withMesa false}
+%{!?_withMPI: %define _withMPI false}
+%{!?_withPython: %define _withPython false}
+%{!?_withQt: %define _withQt true}
+%{!?_qmakePath: %define _qmakePath Undefined}
+%{!?_mesaIncludePath: %define _mesaIncludePath Undefined}
+%{!?_mesaLibPath: %define _mesaLibPath Undefined}
+%{!?_pythonLibPath: %define _pythonLibPath Undefined}
+
+#--------------------------------------------------------------------------
+
+%description
+%{summary}
+
+%prep
+%setup -q -n %{name}-v%{version}
+
+%patch0 -p1
+
+%build
+#
+# set CMake cache variables
+#
+ addCMakeVariable()
+ {
+ while [ -n "$1" ]
+ do
+ CMAKE_VARIABLES="$CMAKE_VARIABLES -D$1"
+ shift
+ done
+ }
+
+ # export WM settings in a form that GNU configure recognizes
+ [ -n "$WM_CC" ] && export CC="$WM_CC"
+ [ -n "$WM_CXX" ] && export CXX="$WM_CXX"
+ [ -n "$WM_CFLAGS" ] && export CFLAGS="$WM_CFLAGS"
+ [ -n "$WM_CXXFLAGS" ] && export CXXFLAGS="$WM_CXXFLAGS"
+ [ -n "$WM_LDFLAGS" ] && export LDFLAGS="$WM_LDFLAGS"
+
+ set +x
+ echo ""
+ echo "Compilation options:"
+ echo " _withVerbose : %{_withVerbose}"
+ echo " _withMesa : %{_withMesa}"
+ echo " _withMPI : %{_withMPI}"
+ echo " _withPython : %{_withPython}"
+ echo " _withQt : %{_withQt}"
+ echo " _qmakePath : %{_qmakePath}"
+ echo " _mesaIncludePath : %{_mesaIncludePath}"
+ echo " _mesaLibPath : %{_mesaLibPath}"
+ echo " _pythonLibPath : %{_pythonLibPath}"
+ echo ""
+ set -x
+
+ # start with these general settings
+ addCMakeVariable BUILD_SHARED_LIBS:BOOL=ON
+ addCMakeVariable CMAKE_BUILD_TYPE:STRING=Release
+ addCMakeVariable BUILD_TESTING:BOOL=OFF
+
+ # We build with Python. This is ust too useful
+ addCMakeVariable PARAVIEW_ENABLE_PYTHON:BOOL=ON
+
+ # include development files in "make install"
+ addCMakeVariable PARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON
+
+%ifos darwin
+ # Additional installation rules for Mac OSX
+ addCMakeVariable PARAVIEW_EXTRA_INSTALL_RULES_FILE:FILEPATH=%{_topdir}/BUILD/%{name}-v%{version}-source/Applications/ParaView-4.4.0_extra_install_Darwin.cmake
+
+ # We activate the new Unix-style installation for Mac OS X
+ addCMakeVariable PARAVIEW_DO_UNIX_STYLE_INSTALLS:BOOL=ON
+
+ # Recent version of Mac OSX (Yosemite) cannot compile ParaView with the gcc compiler
+ # Using clang instead
+ CC=clang
+ CXX=clang++
+%endif
+
+ # Add the value of _qmakePath for QT_QMAKE_EXECUTABLE
+ addCMakeVariable QT_QMAKE_EXECUTABLE:FILEPATH=%{_qmakePath}
+
+ echo "CMAKE_VARIABLES: $CMAKE_VARIABLES"
+
+ mkdir -p ./buildObj
+ cd ./buildObj
+
+ cmake \
+ -DCMAKE_INSTALL_PREFIX:PATH=%{_installPrefix} \
+ $CMAKE_VARIABLES \
+ ..
+
+ [ -z "$WM_NCOMPPROCS" ] && WM_NCOMPPROCS=1
+ make -j $WM_NCOMPPROCS
+
+%install
+ # On OpenSUSE, rpmbuild, will choke when detecting unreferenced symlinks
+ # created during installation.
+ # Qt version 4.8.0 will generate some unreferenced symlinks when
+ # ParaView is compiled and installed. By enabling the following
+ # environment variable, the command brp-symlink will still complain
+ # about missing link targets, but it won't stop rpmbuild from generating
+ # the final rpm.
+ # For all other Unix distros, this is a no-op.
+ export NO_BRP_STALE_LINK_ERROR=yes
+
+ cd buildObj
+ make install DESTDIR=$RPM_BUILD_ROOT
+
+%ifos darwin
+ # Cleaning up some strange install side effect from option
+ # PARAVIEW_DO_UNIX_STYLE_INSTALLS
+ # Need to revisit this section eventually.
+ if [ -d "$RPM_BUILD_ROOT/$RPM_BUILD_ROOT" ]; then
+ mv $RPM_BUILD_ROOT/$RPM_BUILD_ROOT/%{_installPrefix}/bin/* $RPM_BUILD_ROOT/%{_installPrefix}/bin
+ fi
+%endif
+
+ # Creation of foam-extend specific .csh and .sh files"
+
+ echo ""
+ echo "Generating foam-extend specific .csh and .sh files for the package %{name}-%{version}"
+ echo ""
+ #
+ # Generate package specific .sh file for foam-extend
+ #
+mkdir -p $RPM_BUILD_ROOT/%{_installPrefix}/etc
+cat << DOT_SH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}.sh
+# Load %{name}-%{version} libraries and binaries if available
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+export PARAVIEW_DIR=\$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/\$WM_OPTIONS
+export PARAVIEW_BIN_DIR=\$PARAVIEW_DIR/bin
+export PARAVIEW_LIB_DIR=\$PARAVIEW_DIR/lib
+export PARAVIEW_INCLUDE_DIR=\$PARAVIEW_DIR/include/paraview-5.5
+
+export PARAVIEW_VERSION=%{version}
+
+# NB: It is important to set the PV_PLUGIN_PATH location to a directory containing only the ParaView plugins.
+# Otherwise, paraview will try to automatically autoload each and every dynamic library it can find in the
+# specified directory to see if a given library is a paraview plugin.
+# In the case of \$FOAM_LIBBIN, with over 80 libraries, this is a total waste of time that will slow down the
+# startup of paraview or even make paraview crash on startup.
+export PV_PLUGIN_PATH=\$FOAM_LIBBIN/paraview-5.5_plugins
+
+[ -d \$PARAVIEW_LIB_DIR/paraview-5.5 ] && _foamAddLib \$PARAVIEW_LIB_DIR/paraview-5.5
+
+# Enable access to the package applications if present
+[ -d \$PARAVIEW_BIN_DIR ] && _foamAddPath \$PARAVIEW_BIN_DIR
+
+# Additional binary path if running on Mac OS X
+[ -d \$PARAVIEW_BIN_DIR/paraview.app/Contents/MacOS ] && _foamAddPath \$PARAVIEW_BIN_DIR/paraview.app/Contents/MacOS
+
+DOT_SH_EOF
+
+ #
+ # Generate package specific .csh file for foam-extend
+ #
+cat << DOT_CSH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}.csh
+# Load %{name}-%{version} libraries and binaries if available
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+setenv PARAVIEW_DIR \$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/\$WM_OPTIONS
+setenv PARAVIEW_BIN_DIR \$PARAVIEW_DIR/bin
+setenv PARAVIEW_LIB_DIR \$PARAVIEW_DIR/lib
+setenv PARAVIEW_INCLUDE_DIR \$PARAVIEW_DIR/include/paraview-5.5
+
+setenv PARAVIEW_VERSION %{version}
+
+# NB: It is important to set the PV_PLUGIN_PATH location to a directory containing only the ParaView plugins.
+# Otherwise, paraview will try to automatically autoload each and every dynamic library it can find in the
+# specified directory to see if a given library is a paraview plugin.
+# In the case of \$FOAM_LIBBIN, with over 80 libraries, this is a total waste of time that will slow down the
+# startup of paraview or even make paraview crash on startup.
+setenv PV_PLUGIN_PATH \$FOAM_LIBBIN/paraview-5.5_plugins
+
+if ( -e \$PARAVIEW_BIN_DIR ) then
+ _foamAddPath \$PARAVIEW_BIN_DIR
+endif
+
+if ( -e \$PARAVIEW_LIB_DIR/paraview-5.5 ) then
+ _foamAddLib \$PARAVIEW_LIB_DIR/paraview-5.5
+endif
+
+
+# Additional binary path if running on Mac OS X
+if ( -e \$PARAVIEW_BIN_DIR/paraview.app/Contents/MacOS ) then
+ _foamAddPath \$PARAVIEW_BIN_DIR/paraview.app/Contents/MacOS
+endif
+DOT_CSH_EOF
+
+ #finally, generate a .tgz file for systems where using rpm for installing packages
+ # as a non-root user might be a problem.
+ (mkdir -p %{_topdir}/TGZS/%{_target_cpu}; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{_target_cpu}/%{name}-%{version}.tgz packages/%{name}-%{version})
+
+%clean
+
+%files
+%defattr(-,root,root)
+%{_installPrefix}
+
+
diff --git a/ThirdParty/rpmBuild/SPECS/PyFoam-0.6.6.spec b/ThirdParty/rpmBuild/SPECS/PyFoam-0.6.6.spec
new file mode 100644
index 000000000..86665fe1a
--- /dev/null
+++ b/ThirdParty/rpmBuild/SPECS/PyFoam-0.6.6.spec
@@ -0,0 +1,205 @@
+#------------------------------------------------------------------------------
+# ========= |
+# \\ / F ield | foam-extend: Open Source CFD
+# \\ / O peration |
+# \\ / A nd | For copyright notice see file Copyright
+# \\/ M anipulation |
+#------------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Script
+# RPM spec file for PyFoam-0.6.6
+#
+# Description
+# RPM spec file for PyFoam version 0.6.6
+#
+# Author:
+# Martin Beaudoin (2018)
+#
+#------------------------------------------------------------------------------
+
+# We grab the value of WM_THIRD_PARTY and WM_OPTIONS from the environment variable
+%{expand:%%define _WM_THIRD_PARTY_DIR %(echo $WM_THIRD_PARTY_DIR)}
+%{expand:%%define _WM_OPTIONS %(echo $WM_OPTIONS)}
+
+# Disable the generation of debuginfo packages
+%define debug_package %{nil}
+
+# The topdir needs to point to the $WM_THIRD_PARTY/rpmbuild directory
+%define _topdir %{_WM_THIRD_PARTY_DIR}/rpmBuild
+%define _tmppath %{_topdir}/tmp
+
+# Will install the package directly $WM_THIRD_PARTY_DIR
+# Some comments about package relocation:
+# By using this prefix for the Prefix: parameter in this file, you will make this
+# package relocatable.
+#
+# This is fine, as long as your software is itself relocatable.
+#
+# Simply take note that libraries built with libtool are not relocatable because the
+# prefix we specify will be hard-coded in the library .la files.
+# Ref: http://sourceware.org/autobook/autobook/autobook_80.html
+#
+# In that case, if you ever change the value of the $WM_THIRD_PARTY_DIR, you will
+# not be able to reutilize this RPM, even though it is relocatable. You will need to
+# regenerate the RPM.
+#
+%define _prefix %{_WM_THIRD_PARTY_DIR}
+
+%define name PyFoam
+%define release 1
+%define version 0.6.6
+
+%define buildroot %{_topdir}/BUILD/%{name}-%{version}-root
+
+BuildRoot: %{buildroot}
+Summary: PyFoam
+License: Unkown
+Name: %{name}
+Version: %{version}
+Release: %{release}
+BuildArch: noarch
+URL: https://openfoamwiki.net/images/a/af/PyFoam-0.6.6.tar.gz
+Source: %url/%{name}-%{version}.tar.gz
+Prefix: %{_prefix}
+Group: Development/Tools
+
+%define _installPrefix %{_prefix}/packages/%{name}-%{version}/platforms/noarch
+
+%description
+%{summary}
+
+%prep
+%setup -q -n PyFoam-%{version}
+
+%build
+ # Make the shebang line portable
+ python setup.py build --executable "/usr/bin/env python"
+
+%install
+ %define pythonVersion $(python -V 2>&1 | awk -F ' ' {'print $2'} | awk -F \. {'print $1 "." $2'})
+
+ # Temporary settings for the installation
+ mkdir -p $RPM_BUILD_ROOT/%{_installPrefix}/lib/python%{pythonVersion}/site-packages
+ export PYTHONPATH=$RPM_BUILD_ROOT/%{_installPrefix}/lib/python%{pythonVersion}/site-packages:$PYTHONPATH
+ python setup.py install --prefix=$RPM_BUILD_ROOT/%{_installPrefix}
+
+
+ # Creation of foam-extend specific .csh and .sh files"
+
+ echo ""
+ echo "Generating foam-extend specific .csh and .sh files for the package %{name}-%{version}"
+ echo ""
+ #
+ # Generate package specific .sh file for foam-extend
+ #
+mkdir -p $RPM_BUILD_ROOT/%{_installPrefix}/etc
+cat << DOT_SH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}.sh
+# Load %{name}-%{version} libraries and binaries if available
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+export PYFOAM_DIR=\$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/noarch
+export PYTHONPATH=\$PYFOAM_DIR/lib/python%{pythonVersion}/site-packages:\$PYTHONPATH
+
+# Enable access to the package applications if present
+[ -d \$PYFOAM_DIR/bin ] && _foamAddPath \$PYFOAM_DIR/bin
+
+DOT_SH_EOF
+
+ #
+ # Generate package specific .csh file for foam-extend
+ #
+cat << DOT_CSH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}.csh
+# Load %{name}-%{version} libraries and binaries if available
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+setenv PYFOAM_DIR \$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/noarch
+
+if ! \$?PYTHONPATH then
+ setenv PYTHONPATH \$PYFOAM_DIR/lib/python%{pythonVersion}/site-packages
+else
+ setenv PYTHONPATH \$PYFOAM_DIR/lib/python%{pythonVersion}/site-packages:\$PYTHONPATH
+endif
+
+
+if ( -e \$PYFOAM_DIR/bin ) then
+ _foamAddPath \$PYFOAM_DIR/bin
+endif
+
+if \$?PYFOAM_SITE_DIR then
+ if ( -e \$PYFOAM_SITE_DIR/bin ) then
+ _foamAddPath \$PYFOAM_SITE_DIR/bin
+ endif
+endif
+DOT_CSH_EOF
+
+cat << DOT_HARDCODED_SH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}_hardcoded.sh
+# In this version of the configuration script, the paths are hardcoded,
+# which makes it easier to load PyFoam without the foam-extend environment
+# variables
+#
+# Load %{name}-%{version} libraries and binaries if available
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+export PYFOAM_DIR=$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/noarch
+export PYTHONPATH=\$PYFOAM_DIR/lib/python%{pythonVersion}/site-packages:\$PYTHONPATH
+
+# Enable access to the package applications if present
+[ -d \$PYFOAM_DIR/bin ] && export PATH=\$PYFOAM_DIR/bin:\$PATH
+
+DOT_HARDCODED_SH_EOF
+
+ #
+ # Generate package specific .csh file for foam-extend
+ #
+cat << DOT_HARDCODED_CSH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}_hardcoded.csh
+# In this version of the configuration script, the paths are hardcoded,
+# which makes it easier to load PyFoam without the foam-extend environment
+# variables
+#
+# Load %{name}-%{version} libraries and binaries if available
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+setenv PYFOAM_DIR $WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/noarch
+
+if ! \$?PYTHONPATH then
+ setenv PYTHONPATH \$PYFOAM_DIR/lib/python%{pythonVersion}/site-packages
+else
+ setenv PYTHONPATH \$PYFOAM_DIR/lib/python%{pythonVersion}/site-packages:\$PYTHONPATH
+endif
+
+
+if ( -e \$PYFOAM_DIR/bin ) then
+ _foamAddPath \$PYFOAM_DIR/bin
+endif
+
+if \$?PYFOAM_SITE_DIR then
+ if ( -e \$PYFOAM_SITE_DIR/bin ) then
+ _foamAddPath \$PYFOAM_SITE_DIR/bin
+ endif
+endif
+DOT_HARDCODED_CSH_EOF
+
+ #finally, generate a .tgz file for systems where using rpm for installing packages
+ # as a non-root user might be a problem.
+ (mkdir -p %{_topdir}/TGZS/%{_target_cpu}; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{_target_cpu}/%{name}-%{version}.tgz packages/%{name}-%{version})
+
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%{_installPrefix}
diff --git a/ThirdParty/rpmBuild/SPECS/PyFoam-0.6.9.spec b/ThirdParty/rpmBuild/SPECS/PyFoam-0.6.9.spec
new file mode 100644
index 000000000..8581c63d6
--- /dev/null
+++ b/ThirdParty/rpmBuild/SPECS/PyFoam-0.6.9.spec
@@ -0,0 +1,205 @@
+#------------------------------------------------------------------------------
+# ========= |
+# \\ / F ield | foam-extend: Open Source CFD
+# \\ / O peration |
+# \\ / A nd | For copyright notice see file Copyright
+# \\/ M anipulation |
+#------------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Script
+# RPM spec file for PyFoam-0.6.9
+#
+# Description
+# RPM spec file for PyFoam version 0.6.9
+#
+# Author:
+# Martin Beaudoin (2018)
+#
+#------------------------------------------------------------------------------
+
+# We grab the value of WM_THIRD_PARTY and WM_OPTIONS from the environment variable
+%{expand:%%define _WM_THIRD_PARTY_DIR %(echo $WM_THIRD_PARTY_DIR)}
+%{expand:%%define _WM_OPTIONS %(echo $WM_OPTIONS)}
+
+# Disable the generation of debuginfo packages
+%define debug_package %{nil}
+
+# The topdir needs to point to the $WM_THIRD_PARTY/rpmbuild directory
+%define _topdir %{_WM_THIRD_PARTY_DIR}/rpmBuild
+%define _tmppath %{_topdir}/tmp
+
+# Will install the package directly $WM_THIRD_PARTY_DIR
+# Some comments about package relocation:
+# By using this prefix for the Prefix: parameter in this file, you will make this
+# package relocatable.
+#
+# This is fine, as long as your software is itself relocatable.
+#
+# Simply take note that libraries built with libtool are not relocatable because the
+# prefix we specify will be hard-coded in the library .la files.
+# Ref: http://sourceware.org/autobook/autobook/autobook_80.html
+#
+# In that case, if you ever change the value of the $WM_THIRD_PARTY_DIR, you will
+# not be able to reutilize this RPM, even though it is relocatable. You will need to
+# regenerate the RPM.
+#
+%define _prefix %{_WM_THIRD_PARTY_DIR}
+
+%define name PyFoam
+%define release 1
+%define version 0.6.9
+
+%define buildroot %{_topdir}/BUILD/%{name}-%{version}-root
+
+BuildRoot: %{buildroot}
+Summary: PyFoam
+License: Unkown
+Name: %{name}
+Version: %{version}
+Release: %{release}
+BuildArch: noarch
+URL: https://files.pythonhosted.org/packages/78/f5/8f65b66c8ac0e5415f785809e182dd0f0dc562a42094e1a86bd22c7d7ece/PyFoam-0.6.9.tar.gz
+Source: %url/%{name}-%{version}.tar.gz
+Prefix: %{_prefix}
+Group: Development/Tools
+
+%define _installPrefix %{_prefix}/packages/%{name}-%{version}/platforms/noarch
+
+%description
+%{summary}
+
+%prep
+%setup -q -n PyFoam-%{version}
+
+%build
+ # Make the shebang line portable
+ python setup.py build --executable "/usr/bin/env python"
+
+%install
+ %define pythonVersion $(python -V 2>&1 | awk -F ' ' {'print $2'} | awk -F \. {'print $1 "." $2'})
+
+ # Temporary settings for the installation
+ mkdir -p $RPM_BUILD_ROOT/%{_installPrefix}/lib/python%{pythonVersion}/site-packages
+ export PYTHONPATH=$RPM_BUILD_ROOT/%{_installPrefix}/lib/python%{pythonVersion}/site-packages:$PYTHONPATH
+ python setup.py install --prefix=$RPM_BUILD_ROOT/%{_installPrefix}
+
+
+ # Creation of foam-extend specific .csh and .sh files"
+
+ echo ""
+ echo "Generating foam-extend specific .csh and .sh files for the package %{name}-%{version}"
+ echo ""
+ #
+ # Generate package specific .sh file for foam-extend
+ #
+mkdir -p $RPM_BUILD_ROOT/%{_installPrefix}/etc
+cat << DOT_SH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}.sh
+# Load %{name}-%{version} libraries and binaries if available
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+export PYFOAM_DIR=\$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/noarch
+export PYTHONPATH=\$PYFOAM_DIR/lib/python%{pythonVersion}/site-packages:\$PYTHONPATH
+
+# Enable access to the package applications if present
+[ -d \$PYFOAM_DIR/bin ] && _foamAddPath \$PYFOAM_DIR/bin
+
+DOT_SH_EOF
+
+ #
+ # Generate package specific .csh file for foam-extend
+ #
+cat << DOT_CSH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}.csh
+# Load %{name}-%{version} libraries and binaries if available
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+setenv PYFOAM_DIR \$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/noarch
+
+if ! \$?PYTHONPATH then
+ setenv PYTHONPATH \$PYFOAM_DIR/lib/python%{pythonVersion}/site-packages
+else
+ setenv PYTHONPATH \$PYFOAM_DIR/lib/python%{pythonVersion}/site-packages:\$PYTHONPATH
+endif
+
+
+if ( -e \$PYFOAM_DIR/bin ) then
+ _foamAddPath \$PYFOAM_DIR/bin
+endif
+
+if \$?PYFOAM_SITE_DIR then
+ if ( -e \$PYFOAM_SITE_DIR/bin ) then
+ _foamAddPath \$PYFOAM_SITE_DIR/bin
+ endif
+endif
+DOT_CSH_EOF
+
+cat << DOT_HARDCODED_SH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}_hardcoded.sh
+# In this version of the configuration script, the paths are hardcoded,
+# which makes it easier to load PyFoam without the foam-extend environment
+# variables
+#
+# Load %{name}-%{version} libraries and binaries if available
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+export PYFOAM_DIR=$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/noarch
+export PYTHONPATH=\$PYFOAM_DIR/lib/python%{pythonVersion}/site-packages:\$PYTHONPATH
+
+# Enable access to the package applications if present
+[ -d \$PYFOAM_DIR/bin ] && export PATH=\$PYFOAM_DIR/bin:\$PATH
+
+DOT_HARDCODED_SH_EOF
+
+ #
+ # Generate package specific .csh file for foam-extend
+ #
+cat << DOT_HARDCODED_CSH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}_hardcoded.csh
+# In this version of the configuration script, the paths are hardcoded,
+# which makes it easier to load PyFoam without the foam-extend environment
+# variables
+#
+# Load %{name}-%{version} libraries and binaries if available
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+setenv PYFOAM_DIR $WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/noarch
+
+if ! \$?PYTHONPATH then
+ setenv PYTHONPATH \$PYFOAM_DIR/lib/python%{pythonVersion}/site-packages
+else
+ setenv PYTHONPATH \$PYFOAM_DIR/lib/python%{pythonVersion}/site-packages:\$PYTHONPATH
+endif
+
+
+if ( -e \$PYFOAM_DIR/bin ) then
+ _foamAddPath \$PYFOAM_DIR/bin
+endif
+
+if \$?PYFOAM_SITE_DIR then
+ if ( -e \$PYFOAM_SITE_DIR/bin ) then
+ _foamAddPath \$PYFOAM_SITE_DIR/bin
+ endif
+endif
+DOT_HARDCODED_CSH_EOF
+
+ #finally, generate a .tgz file for systems where using rpm for installing packages
+ # as a non-root user might be a problem.
+ (mkdir -p %{_topdir}/TGZS/%{_target_cpu}; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{_target_cpu}/%{name}-%{version}.tgz packages/%{name}-%{version})
+
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%{_installPrefix}
diff --git a/ThirdParty/rpmBuild/SPECS/cmake-3.11.4.spec b/ThirdParty/rpmBuild/SPECS/cmake-3.11.4.spec
new file mode 100644
index 000000000..46466d871
--- /dev/null
+++ b/ThirdParty/rpmBuild/SPECS/cmake-3.11.4.spec
@@ -0,0 +1,166 @@
+#------------------------------------------------------------------------------
+# ========= |
+# \\ / F ield | foam-extend: Open Source CFD
+# \\ / O peration |
+# \\ / A nd | For copyright notice see file Copyright
+# \\/ M anipulation |
+#------------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Script
+# RPM spec file for cmake-3.11.4
+#
+# Description
+# RPM spec file for creating a relocatable RPM
+#
+# Author:
+# Martin Beaudoin, (2018)
+# Pascal Beckstein, HZDR, (2018)
+#
+#------------------------------------------------------------------------------
+
+# We grab the value of WM_THIRD_PARTY and WM_OPTIONS from the environment variable
+%{expand:%%define _WM_THIRD_PARTY_DIR %(echo $WM_THIRD_PARTY_DIR)}
+%{expand:%%define _WM_OPTIONS %(echo $WM_OPTIONS)}
+
+# Disable the generation of debuginfo packages
+%define debug_package %{nil}
+
+# The topdir needs to point to the $WM_THIRD_PARTY/rpmbuild directory
+%define _topdir %{_WM_THIRD_PARTY_DIR}/rpmBuild
+%define _tmppath %{_topdir}/tmp
+
+# Will install the package directly $WM_THIRD_PARTY_DIR
+# Some comments about package relocation:
+# By using this prefix for the Prefix: parameter in this file, you will make this
+# package relocatable.
+#
+# This is fine, as long as your software is itself relocatable.
+#
+# Simply take note that libraries built with libtool are not relocatable because the
+# prefix we specify will be hard-coded in the library .la files.
+# Ref: http://sourceware.org/autobook/autobook/autobook_80.html
+#
+# In that case, if you ever change the value of the $WM_THIRD_PARTY_DIR, you will
+# not be able to reutilize this RPM, even though it is relocatable. You will need to
+# regenerate the RPM.
+#
+%define _prefix %{_WM_THIRD_PARTY_DIR}
+
+%define name cmake
+%define release %{_WM_OPTIONS}
+%define version 3.11.4
+
+%define buildroot %{_topdir}/BUILD/%{name}-%{version}-root
+
+BuildRoot: %{buildroot}
+Summary: cmake
+License: Unkown
+Name: %{name}
+Version: %{version}
+Release: %{release}
+URL: http://www.cmake.org/files/v3.3/
+Source: %url/%{name}-%{version}.tar.gz
+Prefix: %{_prefix}
+Group: Development/Tools
+
+
+%define _installPrefix %{_prefix}/packages/%{name}-%{version}/platforms/%{_WM_OPTIONS}
+
+%description
+%{summary}
+
+%prep
+%setup -q
+
+%build
+ # export WM settings in a form that GNU configure recognizes
+ [ -n "$WM_CC" ] && export CC="$WM_CC"
+ [ -n "$WM_CXX" ] && export CXX="$WM_CXX"
+ [ -n "$WM_CFLAGS" ] && export CFLAGS="$WM_CFLAGS"
+ [ -n "$WM_CXXFLAGS" ] && export CXXFLAGS="$WM_CXXFLAGS"
+ [ -n "$WM_LDFLAGS" ] && export LDFLAGS="$WM_LDFLAGS"
+
+%ifos darwin
+ # For Mac OSX:
+ # The configuration of cmake will be using the environment variable MACOSX_DEPLOYMENT_TARGET.
+ # This variable was initialized using 'sw_vers -productVersion' in etc/bashrc.
+ # We need to get rid of the revision number from this string. eg turn "10.7.5" into "10.7"
+ v=( ${MACOSX_DEPLOYMENT_TARGET//./ } )
+ export MACOSX_DEPLOYMENT_TARGET="${v[0]}.${v[1]}"
+ echo "Resetting MACOSX_DEPLOYMENT_TARGET to ${MACOSX_DEPLOYMENT_TARGET}"
+
+ # Recent version of Mac OSX (Yosemite) cannot compile cmake when gcc is the compiler
+ # Using clang instead
+ CC=clang
+ CXX=clang++
+
+%endif
+
+ ./configure \
+ --prefix=%{_installPrefix}
+
+ [ -z "$WM_NCOMPPROCS" ] && WM_NCOMPPROCS=1
+ make -j $WM_NCOMPPROCS
+
+%install
+ make install DESTDIR=$RPM_BUILD_ROOT
+
+ # Creation of foam-extend specific .csh and .sh files"
+
+ echo ""
+ echo "Generating foam-extend specific .csh and .sh files for the package %{name}-%{version}"
+ echo ""
+ #
+ # Generate package specific .sh file for foam-extend
+ #
+mkdir -p $RPM_BUILD_ROOT/%{_installPrefix}/etc
+cat << DOT_SH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}.sh
+# Load %{name}-%{version} libraries and binaries if available
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+export CMAKE_DIR=\$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/\$WM_OPTIONS
+export CMAKE_BIN_DIR=\$CMAKE_DIR/bin
+
+# Enable access to the runtime package applications
+[ -d \$CMAKE_BIN_DIR ] && _foamAddPath \$CMAKE_BIN_DIR
+DOT_SH_EOF
+
+ #
+ # Generate package specific .csh file for foam-extend
+ #
+cat << DOT_CSH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}.csh
+# Load %{name}-%{version} libraries and binaries if available
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+setenv CMAKE_DIR \$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/\$WM_OPTIONS
+setenv CMAKE_BIN_DIR \$CMAKE_DIR/bin
+
+if ( -e \$CMAKE_BIN_DIR ) then
+ _foamAddPath \$CMAKE_BIN_DIR
+endif
+DOT_CSH_EOF
+
+ #finally, generate a .tgz file for systems where using rpm for installing packages
+ # as a non-root user might be a problem.
+ (mkdir -p %{_topdir}/TGZS/%{_target_cpu}; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{_target_cpu}/%{name}-%{version}.tgz packages/%{name}-%{version})
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%{_installPrefix}
diff --git a/ThirdParty/rpmBuild/SPECS/hwloc-2.0.1.spec b/ThirdParty/rpmBuild/SPECS/hwloc-2.0.1.spec
new file mode 100644
index 000000000..e5db37875
--- /dev/null
+++ b/ThirdParty/rpmBuild/SPECS/hwloc-2.0.1.spec
@@ -0,0 +1,149 @@
+#------------------------------------------------------------------------------
+# ========= |
+# \\ / F ield | foam-extend: Open Source CFD
+# \\ / O peration |
+# \\ / A nd | For copyright notice see file Copyright
+# \\/ M anipulation |
+#------------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Script
+# RPM spec file for hwloc-2.0.1
+#
+# Description
+# RPM spec file for creating a relocatable RPM
+#
+# Author:
+# Martin Beaudoin (2018)
+#
+#------------------------------------------------------------------------------
+
+# We grab the value of WM_THIRD_PARTY and WM_OPTIONS from the environment variable
+%{expand:%%define _WM_THIRD_PARTY_DIR %(echo $WM_THIRD_PARTY_DIR)}
+%{expand:%%define _WM_OPTIONS %(echo $WM_OPTIONS)}
+
+# Disable the generation of debuginfo packages
+%define debug_package %{nil}
+
+# The topdir needs to point to the $WM_THIRD_PARTY/rpmbuild directory
+%define _topdir %{_WM_THIRD_PARTY_DIR}/rpmBuild
+%define _tmppath %{_topdir}/tmp
+
+# Will install the package directly $WM_THIRD_PARTY_DIR
+# Some comments about package relocation:
+# By using this prefix for the Prefix: parameter in this file, you will make this
+# package relocatable.
+#
+# This is fine, as long as your software is itself relocatable.
+#
+# Simply take note that libraries built with libtool are not relocatable because the
+# prefix we specify will be hard-coded in the library .la files.
+# Ref: http://sourceware.org/autobook/autobook/autobook_80.html
+#
+# In that case, if you ever change the value of the $WM_THIRD_PARTY_DIR, you will
+# not be able to reutilize this RPM, even though it is relocatable. You will need to
+# regenerate the RPM.
+#
+%define _prefix %{_WM_THIRD_PARTY_DIR}
+
+%define name hwloc
+%define release %{_WM_OPTIONS}
+%define version 2.0.1
+
+%define buildroot %{_topdir}/BUILD/%{name}-%{version}-root
+
+BuildRoot: %{buildroot}
+Summary: hwloc
+License: the New BSD license
+Name: %{name}
+Version: %{version}
+Release: %{release}
+URL: http://www.open-mpi.org/software/hwloc/v2.0/downloads/hwloc-2.0.1.tar.gz
+Source: %url/%{name}-%{version}.tar.gz
+Prefix: %{_prefix}
+Group: Development/Tools
+
+
+%define _installPrefix %{_prefix}/packages/%{name}-%{version}/platforms/%{_WM_OPTIONS}
+
+%description
+%{summary}
+
+%prep
+%setup -q
+
+%build
+ # export WM settings in a form that GNU configure recognizes
+ [ -n "$WM_CC" ] && export CC="$WM_CC"
+ [ -n "$WM_CXX" ] && export CXX="$WM_CXX"
+ [ -n "$WM_CFLAGS" ] && export CFLAGS="$WM_CFLAGS"
+ [ -n "$WM_CXXFLAGS" ] && export CXXFLAGS="$WM_CXXFLAGS"
+ [ -n "$WM_LDFLAGS" ] && export LDFLAGS="$WM_LDFLAGS"
+
+ ./configure \
+ --prefix=%{_installPrefix}
+
+ [ -z "$WM_NCOMPPROCS" ] && WM_NCOMPPROCS=1
+ make -j $WM_NCOMPPROCS
+
+%install
+ make install DESTDIR=$RPM_BUILD_ROOT
+
+ # Creation of foam-extend specific .csh and .sh files"
+
+ echo ""
+ echo "Generating foam-extend specific .csh and .sh files for the package %{name}-%{version}"
+ echo ""
+ #
+ # Generate package specific .sh file for foam-extend
+ #
+mkdir -p $RPM_BUILD_ROOT/%{_installPrefix}/etc
+cat << DOT_SH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}.sh
+# Load %{name}-%{version} libraries and binaries if available
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+export HWLOC_DIR=\$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/\$WM_OPTIONS
+export HWLOC_BIN_DIR=\$HWLOC_DIR/bin
+
+# Enable access to the runtime package applications
+[ -d \$HWLOC_BIN_DIR ] && _foamAddPath \$HWLOC_BIN_DIR
+DOT_SH_EOF
+
+ #
+ # Generate package specific .csh file for foam-extend
+ #
+cat << DOT_CSH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}.csh
+# Load %{name}-%{version} libraries and binaries if available
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+setenv HWLOC_DIR \$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/\$WM_OPTIONS
+setenv HWLOC_BIN_DIR \$HWLOC_DIR/bin
+
+if ( -e \$HWLOC_BIN_DIR ) then
+ _foamAddPath \$HWLOC_BIN_DIR
+endif
+DOT_CSH_EOF
+
+ #finally, generate a .tgz file for systems where using rpm for installing packages
+ # as a non-root user might be a problem.
+ (mkdir -p %{_topdir}/TGZS/%{_target_cpu}; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{_target_cpu}/%{name}-%{version}.tgz packages/%{name}-%{version})
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%{_installPrefix}
diff --git a/ThirdParty/rpmBuild/SPECS/mesquite-2.3.0.spec b/ThirdParty/rpmBuild/SPECS/mesquite-2.3.0.spec
new file mode 100644
index 000000000..ce422678d
--- /dev/null
+++ b/ThirdParty/rpmBuild/SPECS/mesquite-2.3.0.spec
@@ -0,0 +1,175 @@
+#------------------------------------------------------------------------------
+# ========= |
+# \\ / F ield | foam-extend: Open Source CFD
+# \\ / O peration |
+# \\ / A nd | For copyright notice see file Copyright
+# \\/ M anipulation |
+#------------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Script
+# RPM spec file for mesquite-2.3.0
+#
+# Description
+# RPM spec file for creating a relocatable RPM
+#
+# Author:
+# Martin Beaudoin (2018)
+#
+# Contributor:
+# Philippose Rajan : patch0 for gcc 4.6.x
+#
+#------------------------------------------------------------------------------
+
+# We grab the value of WM_THIRD_PARTY and WM_OPTIONS from the environment variable
+%{expand:%%define _WM_THIRD_PARTY_DIR %(echo $WM_THIRD_PARTY_DIR)}
+%{expand:%%define _WM_OPTIONS %(echo $WM_OPTIONS)}
+
+# Disable the generation of debuginfo packages
+%define debug_package %{nil}
+
+# The topdir needs to point to the $WM_THIRD_PARTY/rpmbuild directory
+%define _topdir %{_WM_THIRD_PARTY_DIR}/rpmBuild
+%define _tmppath %{_topdir}/tmp
+
+# Will install the package directly $WM_THIRD_PARTY_DIR
+# Some comments about package relocation:
+# By using this prefix for the Prefix: parameter in this file, you will make this
+# package relocatable.
+#
+# This is fine, as long as your software is itself relocatable.
+#
+# Simply take note that libraries built with libtool are not relocatable because the
+# prefix we specify will be hard-coded in the library .la files.
+# Ref: http://sourceware.org/autobook/autobook/autobook_80.html
+#
+# In that case, if you ever change the value of the $WM_THIRD_PARTY_DIR, you will
+# not be able to reutilize this RPM, even though it is relocatable. You will need to
+# regenerate the RPM.
+#
+%define _prefix %{_WM_THIRD_PARTY_DIR}
+
+%define name mesquite
+%define release %{_WM_OPTIONS}
+%define version 2.3.0
+
+%define buildroot %{_topdir}/BUILD/%{name}-%{version}-root
+
+BuildRoot: %{buildroot}
+Summary: mesquite
+License: Unkown
+Name: %{name}
+Version: %{version}
+Release: %{release}
+URL: https://software.sandia.gov/mesquite
+Source: %url/%{name}-%{version}.tar.gz
+Prefix: %{_prefix}
+Group: Development/Tools
+
+%define _installPrefix %{_prefix}/packages/%{name}-%{version}/platforms/%{_WM_OPTIONS}
+
+%description
+%{summary}
+
+%prep
+%setup -q
+
+
+%build
+ # export WM settings in a form that GNU configure recognizes
+ [ -n "$WM_CC" ] && export CC="$WM_CC"
+ [ -n "$WM_FC" ] && export FC="$WM_FC"
+ [ -n "$WM_CXX" ] && export CXX="$WM_CXX"
+ [ -n "$WM_CFLAGS" ] && export CFLAGS="$WM_CFLAGS"
+ [ -n "$WM_FCFLAGS" ] && export FCFLAGS="$WM_FCFLAGS"
+ [ -n "$WM_CXXFLAGS" ] && export CXXFLAGS="$WM_CXXFLAGS"
+ [ -n "$WM_LDFLAGS" ] && export LDFLAGS="$WM_LDFLAGS"
+
+ ./configure \
+ --prefix=%{_installPrefix} \
+ --libdir=%{_installPrefix}/lib \
+ --enable-release \
+ --disable-debug-assertions \
+ --enable-shared \
+ --without-cppunit \
+ --enable-trap-fpe \
+ --disable-function-timers
+
+ # Remove the file include/Mesquite_all_headers.hpp
+ # This file will be regenerated during the compilation process
+ [ -e include/Mesquite_all_headers.hpp ] && rm -f include/Mesquite_all_headers.hpp
+
+ [ -z "$WM_NCOMPPROCS" ] && WM_NCOMPPROCS=1
+ make -j $WM_NCOMPPROCS OPTFLAGS="-O3 -mtune=native -fPIC"
+
+%install
+ make install DESTDIR=$RPM_BUILD_ROOT
+
+ # Creation of foam-extend specific .csh and .sh files"
+
+ echo ""
+ echo "Generating foam-extend specific .csh and .sh files for the package %{name}-%{version}"
+ echo ""
+ #
+ # Generate package specific .sh file for foam-extend
+ #
+mkdir -p $RPM_BUILD_ROOT/%{_installPrefix}/etc
+cat << DOT_SH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}.sh
+# Load %{name}-%{version} libraries and binaries if available
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+export MESQUITE_DIR=\$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/\$WM_OPTIONS
+export MESQUITE_BIN_DIR=\$MESQUITE_DIR/bin
+export MESQUITE_LIB_DIR=\$MESQUITE_DIR/lib
+export MESQUITE_INCLUDE_DIR=\$MESQUITE_DIR/include
+
+# Enable access to the package runtime applications and libraries
+[ -d \$MESQUITE_BIN_DIR ] && _foamAddPath \$MESQUITE_BIN_DIR
+[ -d \$MESQUITE_LIB_DIR ] && _foamAddLib \$MESQUITE_LIB_DIR
+DOT_SH_EOF
+
+ #
+ # Generate package specific .csh file for foam-extend
+ #
+cat << DOT_CSH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}.csh
+# Load %{name}-%{version} libraries and binaries if available
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+setenv MESQUITE_DIR \$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/\$WM_OPTIONS
+setenv MESQUITE_BIN_DIR \$MESQUITE_DIR/bin
+setenv MESQUITE_LIB_DIR \$MESQUITE_DIR/lib
+setenv MESQUITE_INCLUDE_DIR \$MESQUITE_DIR/include
+
+if ( -e \$MESQUITE_BIN_DIR ) then
+ _foamAddPath \$MESQUITE_BIN_DIR
+endif
+
+if ( -e \$MESQUITE_LIB_DIR ) then
+ _foamAddLib \$MESQUITE_LIB_DIR
+endif
+DOT_CSH_EOF
+
+ #finally, generate a .tgz file for systems where using rpm for installing packages
+ # as a non-root user might be a problem.
+ (mkdir -p %{_topdir}/TGZS/%{_target_cpu}; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{_target_cpu}/%{name}-%{version}.tgz packages/%{name}-%{version})
+
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%{_installPrefix}
diff --git a/ThirdParty/rpmBuild/SPECS/metis-5.1.0.spec b/ThirdParty/rpmBuild/SPECS/metis-5.1.0.spec
index 5450c3e68..f115d27ba 100644
--- a/ThirdParty/rpmBuild/SPECS/metis-5.1.0.spec
+++ b/ThirdParty/rpmBuild/SPECS/metis-5.1.0.spec
@@ -77,6 +77,7 @@ Source: %url/%{name}-%{version}.tar.gz
Prefix: %{_prefix}
Group: Development/Tools
Patch0: metis-5.1.0_patch_gcc
+Patch1: metis-5.1.0_patch_64Bit
%define _installPrefix %{_prefix}/packages/%{name}-%{version}/platforms/%{_WM_OPTIONS}
@@ -90,6 +91,10 @@ Patch0: metis-5.1.0_patch_gcc
%patch0 -p1
%endif
+if [ "$WM_LABEL_SIZE" = "64" ]; then
+%patch1 -p1
+fi
+
%build
[ -n "$WM_CC" ] && export CC="$WM_CC"
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
diff --git a/ThirdParty/rpmBuild/SPECS/openmpi-3.1.0.spec b/ThirdParty/rpmBuild/SPECS/openmpi-3.1.0.spec
new file mode 100644
index 000000000..be52853b3
--- /dev/null
+++ b/ThirdParty/rpmBuild/SPECS/openmpi-3.1.0.spec
@@ -0,0 +1,264 @@
+#------------------------------------------------------------------------------
+# ========= |
+# \\ / F ield | foam-extend: Open Source CFD
+# \\ / O peration |
+# \\ / A nd | For copyright notice see file Copyright
+# \\/ M anipulation |
+#------------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Script
+# RPM spec file for openmpi-3.1.0
+#
+# Description
+# RPM spec file for creating a relocatable RPM
+#
+# Author:
+# Martin Beaudoin, (2018)
+#
+#------------------------------------------------------------------------------
+
+# We grab the value of WM_THIRD_PARTY and WM_OPTIONS from the environment variable
+%{expand:%%define _WM_THIRD_PARTY_DIR %(echo $WM_THIRD_PARTY_DIR)}
+%{expand:%%define _WM_OPTIONS %(echo $WM_OPTIONS)}
+
+# Disable the generation of debuginfo packages
+%define debug_package %{nil}
+
+# The topdir needs to point to the $WM_THIRD_PARTY/rpmbuild directory
+%define _topdir %{_WM_THIRD_PARTY_DIR}/rpmBuild
+%define _tmppath %{_topdir}/tmp
+
+# Will install the package directly $WM_THIRD_PARTY_DIR
+# Some comments about package relocation:
+# By using this prefix for the Prefix: parameter in this file, you will make this
+# package relocatable.
+#
+# This is fine, as long as your software is itself relocatable.
+#
+# Simply take note that libraries built with libtool are not relocatable because the
+# prefix we specify will be hard-coded in the library .la files.
+# Ref: http://sourceware.org/autobook/autobook/autobook_80.html
+#
+# In that case, if you ever change the value of the $WM_THIRD_PARTY_DIR, you will
+# not be able to reutilize this RPM, even though it is relocatable. You will need to
+# regenerate the RPM.
+#
+%define _prefix %{_WM_THIRD_PARTY_DIR}
+
+%define name openmpi
+%define release %{_WM_OPTIONS}
+%define version 3.1.0
+
+%define buildroot %{_topdir}/BUILD/%{name}-%{version}-root
+
+BuildRoot: %{buildroot}
+Summary: openmpi
+License: Unkown
+Name: %{name}
+Version: %{version}
+Release: %{release}
+URL: http://www.open-mpi.org/software/ompi/v1.8/downloads
+Source: %url/%{name}-%{version}.tar.gz
+Prefix: %{_prefix}
+Group: Development/Tools
+
+
+%define _installPrefix %{_prefix}/packages/%{name}-%{version}/platforms/%{_WM_OPTIONS}
+
+#--------------------------------------------------------------------------
+#
+# Here, we define default compiling options for openmpi
+#
+# One can override the option on the commande line : --define='MACRO EXPR'
+#
+%{!?_configureAdditionalArgs: %define _configureAdditionalArgs Undefined}
+
+
+%description
+%{summary}
+
+%prep
+%setup -q
+
+
+%build
+ # export WM settings in a form that GNU configure recognizes
+ [ -n "$WM_CC" ] && export CC="$WM_CC"
+ [ -n "$WM_CXX" ] && export CXX="$WM_CXX"
+ [ -n "$WM_CFLAGS" ] && export CFLAGS="$WM_CFLAGS"
+ [ -n "$WM_CXXFLAGS" ] && export CXXFLAGS="$WM_CXXFLAGS"
+ [ -n "$WM_LDFLAGS" ] && export LDFLAGS="$WM_LDFLAGS"
+
+ set +x
+ echo ""
+ echo "Compilation options:"
+ echo " _configureAdditionalArgs : %{_configureAdditionalArgs}"
+ echo ""
+ set -x
+
+ unset mpiWith
+ # Enable GridEngine if it appears to be in use
+ # If you don't want any integration with SGE, simply unset the SGE
+ # environment variable
+ if [ -n "$SGE_ROOT" ]
+ then
+ mpiWith="$mpiWith --with-sge"
+ else
+ mpiWith="$mpiWith --without-sge"
+ mpiWith="$mpiWith --enable-mca-no-build=ras-gridengine,pls-gridengine"
+ fi
+
+ # Infiniband support
+ # Adjust according to your local paths
+ # if [ -d /usr/local/ofed -a -d /usr/local/ofed/lib64 ]
+ # then
+ # mpiWith="$mpiWith --with-openib=/usr/local/ofed"
+ # mpiWith="$mpiWith --with-openib-libdir=/usr/local/ofed/lib64"
+ # fi
+
+ ./configure \
+ --prefix=%{_installPrefix} \
+ --exec_prefix=%{_installPrefix} \
+ --enable-mpirun-prefix-by-default \
+ --enable-orterun-prefix-by-default \
+ --enable-shared \
+ --enable-mpi-cxx \
+ --disable-static \
+ --disable-mpi-fortran \
+ --without-slurm \
+ `echo %{?_configureAdditionalArgs}`
+
+ [ -z "$WM_NCOMPPROCS" ] && WM_NCOMPPROCS=1
+ make -j $WM_NCOMPPROCS
+
+%install
+ make install DESTDIR=$RPM_BUILD_ROOT
+
+ # Creation of foam-extend specific .csh and .sh files"
+
+ echo ""
+ echo "Generating foam-extend specific .csh and .sh files for the package %{name}-%{version}"
+ echo ""
+ #
+ # Generate package specific .sh file for foam-extend
+ #
+mkdir -p $RPM_BUILD_ROOT/%{_installPrefix}/etc
+cat << DOT_SH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}.sh
+# Load %{name}-%{version} libraries and binaries
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+export OPENMPI_DIR=\$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/\$WM_OPTIONS
+export OPENMPI_BIN_DIR=\$OPENMPI_DIR/bin
+export OPENMPI_LIB_DIR=\$OPENMPI_DIR/lib
+
+# Enable access to the package runtime applications and libraries
+[ -d \$OPENMPI_BIN_DIR ] && _foamAddPath \$OPENMPI_BIN_DIR
+[ -d \$OPENMPI_LIB_DIR ] && _foamAddLib \$OPENMPI_LIB_DIR
+
+export MPI_HOME=\$OPENMPI_DIR
+export MPI_ARCH_PATH=\$MPI_HOME
+export OPAL_PREFIX=\$MPI_ARCH_PATH
+
+# We initialize the rest of the environment using mpicc --showme:
+export OPENMPI_INCLUDE_DIR="\`mpicc --showme:incdirs\`"
+export OPENMPI_COMPILE_FLAGS="\`mpicc --showme:compile\`"
+export OPENMPI_LINK_FLAGS="\`mpicc --showme:link\`"
+
+# Set the foam-extend compilation flags
+export PINC=\$OPENMPI_COMPILE_FLAGS
+export PLIBS=\$OPENMPI_LINK_FLAGS
+
+
+if [ "\$FOAM_VERBOSE" -a "\$PS1" ]
+then
+ echo " Environment variables defined for OpenMPI:"
+ echo " OPENMPI_BIN_DIR : \$OPENMPI_BIN_DIR"
+ echo " OPENMPI_LIB_DIR : \$OPENMPI_LIB_DIR"
+ echo " OPENMPI_INCLUDE_DIR : \$OPENMPI_INCLUDE_DIR"
+ echo " OPENMPI_COMPILE_FLAGS : \$OPENMPI_COMPILE_FLAGS"
+ echo " OPENMPI_LINK_FLAGS : \$OPENMPI_LINK_FLAGS"
+ echo ""
+ echo " MPI_HOME : \$MPI_HOME"
+ echo " MPI_ARCH_PATH : \$MPI_ARCH_PATH"
+ echo " MPIRUN_OPTIONS : \$MPIRUN_OPTIONS"
+ echo " OPAL_PREFIX : \$OPAL_PREFIX"
+ echo " PINC : \$PINC"
+ echo " PLIBS : \$PLIBS"
+fi
+DOT_SH_EOF
+
+ #
+ # Generate package specific .csh file for foam-extend
+ #
+cat << DOT_CSH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}.csh
+# Load %{name}-%{version} libraries and binaries
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+setenv OPENMPI_DIR \$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/\$WM_OPTIONS
+setenv OPENMPI_BIN_DIR \$OPENMPI_DIR/bin
+setenv OPENMPI_LIB_DIR \$OPENMPI_DIR/lib
+
+# Enable access to the package runtime applications and libraries
+if ( -e \$OPENMPI_BIN_DIR ) then
+ _foamAddPath \$OPENMPI_BIN_DIR
+endif
+
+if ( -e \$OPENMPI_LIB_DIR ) then
+ _foamAddLib \$OPENMPI_LIB_DIR
+endif
+
+setenv MPI_HOME \$OPENMPI_DIR
+setenv MPI_ARCH_PATH \$MPI_HOME
+setenv OPAL_PREFIX \$MPI_ARCH_PATH
+
+# We initialize the rest of the environment using mpicc --showme:
+setenv OPENMPI_INCLUDE_DIR "\`mpicc --showme:incdirs\`"
+setenv OPENMPI_COMPILE_FLAGS "\`mpicc --showme:compile\`"
+setenv OPENMPI_LINK_FLAGS "\`mpicc --showme:link\`"
+
+# Set the foam-extend compilation flags
+setenv PINC "\$OPENMPI_COMPILE_FLAGS"
+setenv PLIBS "\$OPENMPI_LINK_FLAGS"
+
+
+if (\$?FOAM_VERBOSE && \$?prompt) then
+ echo " Environment variables defined for OpenMPI:"
+ echo " OPENMPI_BIN_DIR : \$OPENMPI_BIN_DIR"
+ echo " OPENMPI_LIB_DIR : \$OPENMPI_LIB_DIR"
+ echo " OPENMPI_INCLUDE_DIR : \$OPENMPI_INCLUDE_DIR"
+ echo " OPENMPI_COMPILE_FLAGS : \$OPENMPI_COMPILE_FLAGS"
+ echo " OPENMPI_LINK_FLAGS : \$OPENMPI_LINK_FLAGS"
+ echo ""
+ echo " MPI_HOME : \$MPI_HOME"
+ echo " MPI_ARCH_PATH : \$MPI_ARCH_PATH"
+ echo " MPIRUN_OPTIONS : \$MPIRUN_OPTIONS"
+ echo " OPAL_PREFIX : \$OPAL_PREFIX"
+ echo " PINC : \$PINC"
+ echo " PLIBS : \$PLIBS"
+endif
+DOT_CSH_EOF
+
+ #finally, generate a .tgz file for systems where using rpm for installing packages
+ # as a non-root user might be a problem.
+ (mkdir -p %{_topdir}/TGZS/%{_target_cpu}; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{_target_cpu}/%{name}-%{version}.tgz packages/%{name}-%{version})
+
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%{_installPrefix}
diff --git a/ThirdParty/rpmBuild/SPECS/openmpi-3.1.1.spec b/ThirdParty/rpmBuild/SPECS/openmpi-3.1.1.spec
new file mode 100644
index 000000000..19ad48569
--- /dev/null
+++ b/ThirdParty/rpmBuild/SPECS/openmpi-3.1.1.spec
@@ -0,0 +1,267 @@
+#------------------------------------------------------------------------------
+# ========= |
+# \\ / F ield | foam-extend: Open Source CFD
+# \\ / O peration |
+# \\ / A nd | For copyright notice see file Copyright
+# \\/ M anipulation |
+#------------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Script
+# RPM spec file for openmpi-3.1.1
+#
+# Description
+# RPM spec file for creating a relocatable RPM
+#
+# Author:
+# Martin Beaudoin, (2018)
+#
+#------------------------------------------------------------------------------
+
+# We grab the value of WM_THIRD_PARTY and WM_OPTIONS from the environment variable
+%{expand:%%define _WM_THIRD_PARTY_DIR %(echo $WM_THIRD_PARTY_DIR)}
+%{expand:%%define _WM_OPTIONS %(echo $WM_OPTIONS)}
+
+# Disable the generation of debuginfo packages
+%define debug_package %{nil}
+
+# The topdir needs to point to the $WM_THIRD_PARTY/rpmbuild directory
+%define _topdir %{_WM_THIRD_PARTY_DIR}/rpmBuild
+%define _tmppath %{_topdir}/tmp
+
+# Will install the package directly $WM_THIRD_PARTY_DIR
+# Some comments about package relocation:
+# By using this prefix for the Prefix: parameter in this file, you will make this
+# package relocatable.
+#
+# This is fine, as long as your software is itself relocatable.
+#
+# Simply take note that libraries built with libtool are not relocatable because the
+# prefix we specify will be hard-coded in the library .la files.
+# Ref: http://sourceware.org/autobook/autobook/autobook_80.html
+#
+# In that case, if you ever change the value of the $WM_THIRD_PARTY_DIR, you will
+# not be able to reutilize this RPM, even though it is relocatable. You will need to
+# regenerate the RPM.
+#
+%define _prefix %{_WM_THIRD_PARTY_DIR}
+
+%define name openmpi
+%define release %{_WM_OPTIONS}
+%define version 3.1.1
+
+%define buildroot %{_topdir}/BUILD/%{name}-%{version}-root
+
+BuildRoot: %{buildroot}
+Summary: openmpi
+License: Unkown
+Name: %{name}
+Version: %{version}
+Release: %{release}
+URL: http://www.open-mpi.org/software/ompi/v3.0/downloads
+Source: %url/%{name}-%{version}.tar.gz
+Prefix: %{_prefix}
+Group: Development/Tools
+Patch0: openmpi-3.1.1.patch
+
+
+%define _installPrefix %{_prefix}/packages/%{name}-%{version}/platforms/%{_WM_OPTIONS}
+
+#--------------------------------------------------------------------------
+#
+# Here, we define default compiling options for openmpi
+#
+# One can override the option on the commande line : --define='MACRO EXPR'
+#
+%{!?_configureAdditionalArgs: %define _configureAdditionalArgs Undefined}
+
+
+%description
+%{summary}
+
+%prep
+%setup -q
+
+%patch0 -p1
+
+
+%build
+ # export WM settings in a form that GNU configure recognizes
+ [ -n "$WM_CC" ] && export CC="$WM_CC"
+ [ -n "$WM_CXX" ] && export CXX="$WM_CXX"
+ [ -n "$WM_CFLAGS" ] && export CFLAGS="$WM_CFLAGS"
+ [ -n "$WM_CXXFLAGS" ] && export CXXFLAGS="$WM_CXXFLAGS"
+ [ -n "$WM_LDFLAGS" ] && export LDFLAGS="$WM_LDFLAGS"
+
+ set +x
+ echo ""
+ echo "Compilation options:"
+ echo " _configureAdditionalArgs : %{_configureAdditionalArgs}"
+ echo ""
+ set -x
+
+ unset mpiWith
+ # Enable GridEngine if it appears to be in use
+ # If you don't want any integration with SGE, simply unset the SGE
+ # environment variable
+ if [ -n "$SGE_ROOT" ]
+ then
+ mpiWith="$mpiWith --with-sge"
+ else
+ mpiWith="$mpiWith --without-sge"
+ mpiWith="$mpiWith --enable-mca-no-build=ras-gridengine,pls-gridengine"
+ fi
+
+ # Infiniband support
+ # Adjust according to your local paths
+ # if [ -d /usr/local/ofed -a -d /usr/local/ofed/lib64 ]
+ # then
+ # mpiWith="$mpiWith --with-openib=/usr/local/ofed"
+ # mpiWith="$mpiWith --with-openib-libdir=/usr/local/ofed/lib64"
+ # fi
+
+ ./configure \
+ --prefix=%{_installPrefix} \
+ --exec_prefix=%{_installPrefix} \
+ --enable-mpirun-prefix-by-default \
+ --enable-orterun-prefix-by-default \
+ --enable-shared \
+ --enable-mpi-cxx \
+ --disable-static \
+ --disable-mpi-fortran \
+ --without-slurm \
+ `echo %{?_configureAdditionalArgs}`
+
+ [ -z "$WM_NCOMPPROCS" ] && WM_NCOMPPROCS=1
+ make -j $WM_NCOMPPROCS
+
+%install
+ make install DESTDIR=$RPM_BUILD_ROOT
+
+ # Creation of foam-extend specific .csh and .sh files"
+
+ echo ""
+ echo "Generating foam-extend specific .csh and .sh files for the package %{name}-%{version}"
+ echo ""
+ #
+ # Generate package specific .sh file for foam-extend
+ #
+mkdir -p $RPM_BUILD_ROOT/%{_installPrefix}/etc
+cat << DOT_SH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}.sh
+# Load %{name}-%{version} libraries and binaries
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+export OPENMPI_DIR=\$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/\$WM_OPTIONS
+export OPENMPI_BIN_DIR=\$OPENMPI_DIR/bin
+export OPENMPI_LIB_DIR=\$OPENMPI_DIR/lib
+
+# Enable access to the package runtime applications and libraries
+[ -d \$OPENMPI_BIN_DIR ] && _foamAddPath \$OPENMPI_BIN_DIR
+[ -d \$OPENMPI_LIB_DIR ] && _foamAddLib \$OPENMPI_LIB_DIR
+
+export MPI_HOME=\$OPENMPI_DIR
+export MPI_ARCH_PATH=\$MPI_HOME
+export OPAL_PREFIX=\$MPI_ARCH_PATH
+
+# We initialize the rest of the environment using mpicc --showme:
+export OPENMPI_INCLUDE_DIR="\`mpicc --showme:incdirs\`"
+export OPENMPI_COMPILE_FLAGS="\`mpicc --showme:compile\`"
+export OPENMPI_LINK_FLAGS="\`mpicc --showme:link\`"
+
+# Set the foam-extend compilation flags
+export PINC=\$OPENMPI_COMPILE_FLAGS
+export PLIBS=\$OPENMPI_LINK_FLAGS
+
+
+if [ "\$FOAM_VERBOSE" -a "\$PS1" ]
+then
+ echo " Environment variables defined for OpenMPI:"
+ echo " OPENMPI_BIN_DIR : \$OPENMPI_BIN_DIR"
+ echo " OPENMPI_LIB_DIR : \$OPENMPI_LIB_DIR"
+ echo " OPENMPI_INCLUDE_DIR : \$OPENMPI_INCLUDE_DIR"
+ echo " OPENMPI_COMPILE_FLAGS : \$OPENMPI_COMPILE_FLAGS"
+ echo " OPENMPI_LINK_FLAGS : \$OPENMPI_LINK_FLAGS"
+ echo ""
+ echo " MPI_HOME : \$MPI_HOME"
+ echo " MPI_ARCH_PATH : \$MPI_ARCH_PATH"
+ echo " MPIRUN_OPTIONS : \$MPIRUN_OPTIONS"
+ echo " OPAL_PREFIX : \$OPAL_PREFIX"
+ echo " PINC : \$PINC"
+ echo " PLIBS : \$PLIBS"
+fi
+DOT_SH_EOF
+
+ #
+ # Generate package specific .csh file for foam-extend
+ #
+cat << DOT_CSH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}.csh
+# Load %{name}-%{version} libraries and binaries
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+setenv OPENMPI_DIR \$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/\$WM_OPTIONS
+setenv OPENMPI_BIN_DIR \$OPENMPI_DIR/bin
+setenv OPENMPI_LIB_DIR \$OPENMPI_DIR/lib
+
+# Enable access to the package runtime applications and libraries
+if ( -e \$OPENMPI_BIN_DIR ) then
+ _foamAddPath \$OPENMPI_BIN_DIR
+endif
+
+if ( -e \$OPENMPI_LIB_DIR ) then
+ _foamAddLib \$OPENMPI_LIB_DIR
+endif
+
+setenv MPI_HOME \$OPENMPI_DIR
+setenv MPI_ARCH_PATH \$MPI_HOME
+setenv OPAL_PREFIX \$MPI_ARCH_PATH
+
+# We initialize the rest of the environment using mpicc --showme:
+setenv OPENMPI_INCLUDE_DIR "\`mpicc --showme:incdirs\`"
+setenv OPENMPI_COMPILE_FLAGS "\`mpicc --showme:compile\`"
+setenv OPENMPI_LINK_FLAGS "\`mpicc --showme:link\`"
+
+# Set the foam-extend compilation flags
+setenv PINC "\$OPENMPI_COMPILE_FLAGS"
+setenv PLIBS "\$OPENMPI_LINK_FLAGS"
+
+
+if (\$?FOAM_VERBOSE && \$?prompt) then
+ echo " Environment variables defined for OpenMPI:"
+ echo " OPENMPI_BIN_DIR : \$OPENMPI_BIN_DIR"
+ echo " OPENMPI_LIB_DIR : \$OPENMPI_LIB_DIR"
+ echo " OPENMPI_INCLUDE_DIR : \$OPENMPI_INCLUDE_DIR"
+ echo " OPENMPI_COMPILE_FLAGS : \$OPENMPI_COMPILE_FLAGS"
+ echo " OPENMPI_LINK_FLAGS : \$OPENMPI_LINK_FLAGS"
+ echo ""
+ echo " MPI_HOME : \$MPI_HOME"
+ echo " MPI_ARCH_PATH : \$MPI_ARCH_PATH"
+ echo " MPIRUN_OPTIONS : \$MPIRUN_OPTIONS"
+ echo " OPAL_PREFIX : \$OPAL_PREFIX"
+ echo " PINC : \$PINC"
+ echo " PLIBS : \$PLIBS"
+endif
+DOT_CSH_EOF
+
+ #finally, generate a .tgz file for systems where using rpm for installing packages
+ # as a non-root user might be a problem.
+ (mkdir -p %{_topdir}/TGZS/%{_target_cpu}; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{_target_cpu}/%{name}-%{version}.tgz packages/%{name}-%{version})
+
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%{_installPrefix}
diff --git a/ThirdParty/rpmBuild/SPECS/openmpi-4.0.0.spec b/ThirdParty/rpmBuild/SPECS/openmpi-4.0.0.spec
new file mode 100644
index 000000000..7333e3fa6
--- /dev/null
+++ b/ThirdParty/rpmBuild/SPECS/openmpi-4.0.0.spec
@@ -0,0 +1,267 @@
+#------------------------------------------------------------------------------
+# ========= |
+# \\ / F ield | foam-extend: Open Source CFD
+# \\ / O peration |
+# \\ / A nd | For copyright notice see file Copyright
+# \\/ M anipulation |
+#------------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Script
+# RPM spec file for openmpi-4.0.0
+#
+# Description
+# RPM spec file for creating a relocatable RPM
+#
+# Author:
+# Martin Beaudoin, (2018)
+#
+#------------------------------------------------------------------------------
+
+# We grab the value of WM_THIRD_PARTY and WM_OPTIONS from the environment variable
+%{expand:%%define _WM_THIRD_PARTY_DIR %(echo $WM_THIRD_PARTY_DIR)}
+%{expand:%%define _WM_OPTIONS %(echo $WM_OPTIONS)}
+
+# Disable the generation of debuginfo packages
+%define debug_package %{nil}
+
+# The topdir needs to point to the $WM_THIRD_PARTY/rpmbuild directory
+%define _topdir %{_WM_THIRD_PARTY_DIR}/rpmBuild
+%define _tmppath %{_topdir}/tmp
+
+# Will install the package directly $WM_THIRD_PARTY_DIR
+# Some comments about package relocation:
+# By using this prefix for the Prefix: parameter in this file, you will make this
+# package relocatable.
+#
+# This is fine, as long as your software is itself relocatable.
+#
+# Simply take note that libraries built with libtool are not relocatable because the
+# prefix we specify will be hard-coded in the library .la files.
+# Ref: http://sourceware.org/autobook/autobook/autobook_80.html
+#
+# In that case, if you ever change the value of the $WM_THIRD_PARTY_DIR, you will
+# not be able to reutilize this RPM, even though it is relocatable. You will need to
+# regenerate the RPM.
+#
+%define _prefix %{_WM_THIRD_PARTY_DIR}
+
+%define name openmpi
+%define release %{_WM_OPTIONS}
+%define version 4.0.0
+
+%define buildroot %{_topdir}/BUILD/%{name}-%{version}-root
+
+BuildRoot: %{buildroot}
+Summary: openmpi
+License: Unkown
+Name: %{name}
+Version: %{version}
+Release: %{release}
+URL: http://www.open-mpi.org/software/ompi/v4.0/downloads
+Source: %url/%{name}-%{version}.tar.gz
+Prefix: %{_prefix}
+Group: Development/Tools
+Patch0: openmpi-4.0.0.patch
+
+
+%define _installPrefix %{_prefix}/packages/%{name}-%{version}/platforms/%{_WM_OPTIONS}
+
+#--------------------------------------------------------------------------
+#
+# Here, we define default compiling options for openmpi
+#
+# One can override the option on the commande line : --define='MACRO EXPR'
+#
+%{!?_configureAdditionalArgs: %define _configureAdditionalArgs Undefined}
+
+
+%description
+%{summary}
+
+%prep
+%setup -q
+
+%patch0 -p1
+
+
+%build
+ # export WM settings in a form that GNU configure recognizes
+ [ -n "$WM_CC" ] && export CC="$WM_CC"
+ [ -n "$WM_CXX" ] && export CXX="$WM_CXX"
+ [ -n "$WM_CFLAGS" ] && export CFLAGS="$WM_CFLAGS"
+ [ -n "$WM_CXXFLAGS" ] && export CXXFLAGS="$WM_CXXFLAGS"
+ [ -n "$WM_LDFLAGS" ] && export LDFLAGS="$WM_LDFLAGS"
+
+ set +x
+ echo ""
+ echo "Compilation options:"
+ echo " _configureAdditionalArgs : %{_configureAdditionalArgs}"
+ echo ""
+ set -x
+
+ unset mpiWith
+ # Enable GridEngine if it appears to be in use
+ # If you don't want any integration with SGE, simply unset the SGE
+ # environment variable
+ if [ -n "$SGE_ROOT" ]
+ then
+ mpiWith="$mpiWith --with-sge"
+ else
+ mpiWith="$mpiWith --without-sge"
+ mpiWith="$mpiWith --enable-mca-no-build=ras-gridengine,pls-gridengine"
+ fi
+
+ # Infiniband support
+ # Adjust according to your local paths
+ # if [ -d /usr/local/ofed -a -d /usr/local/ofed/lib64 ]
+ # then
+ # mpiWith="$mpiWith --with-openib=/usr/local/ofed"
+ # mpiWith="$mpiWith --with-openib-libdir=/usr/local/ofed/lib64"
+ # fi
+
+ ./configure \
+ --prefix=%{_installPrefix} \
+ --exec_prefix=%{_installPrefix} \
+ --enable-mpirun-prefix-by-default \
+ --enable-orterun-prefix-by-default \
+ --enable-shared \
+ --enable-mpi-cxx \
+ --disable-static \
+ --disable-mpi-fortran \
+ --without-slurm \
+ `echo %{?_configureAdditionalArgs}`
+
+ [ -z "$WM_NCOMPPROCS" ] && WM_NCOMPPROCS=1
+ make -j $WM_NCOMPPROCS
+
+%install
+ make install DESTDIR=$RPM_BUILD_ROOT
+
+ # Creation of foam-extend specific .csh and .sh files"
+
+ echo ""
+ echo "Generating foam-extend specific .csh and .sh files for the package %{name}-%{version}"
+ echo ""
+ #
+ # Generate package specific .sh file for foam-extend
+ #
+mkdir -p $RPM_BUILD_ROOT/%{_installPrefix}/etc
+cat << DOT_SH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}.sh
+# Load %{name}-%{version} libraries and binaries
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+export OPENMPI_DIR=\$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/\$WM_OPTIONS
+export OPENMPI_BIN_DIR=\$OPENMPI_DIR/bin
+export OPENMPI_LIB_DIR=\$OPENMPI_DIR/lib
+
+# Enable access to the package runtime applications and libraries
+[ -d \$OPENMPI_BIN_DIR ] && _foamAddPath \$OPENMPI_BIN_DIR
+[ -d \$OPENMPI_LIB_DIR ] && _foamAddLib \$OPENMPI_LIB_DIR
+
+export MPI_HOME=\$OPENMPI_DIR
+export MPI_ARCH_PATH=\$MPI_HOME
+export OPAL_PREFIX=\$MPI_ARCH_PATH
+
+# We initialize the rest of the environment using mpicc --showme:
+export OPENMPI_INCLUDE_DIR="\`mpicc --showme:incdirs\`"
+export OPENMPI_COMPILE_FLAGS="\`mpicc --showme:compile\`"
+export OPENMPI_LINK_FLAGS="\`mpicc --showme:link\`"
+
+# Set the foam-extend compilation flags
+export PINC=\$OPENMPI_COMPILE_FLAGS
+export PLIBS=\$OPENMPI_LINK_FLAGS
+
+
+if [ "\$FOAM_VERBOSE" -a "\$PS1" ]
+then
+ echo " Environment variables defined for OpenMPI:"
+ echo " OPENMPI_BIN_DIR : \$OPENMPI_BIN_DIR"
+ echo " OPENMPI_LIB_DIR : \$OPENMPI_LIB_DIR"
+ echo " OPENMPI_INCLUDE_DIR : \$OPENMPI_INCLUDE_DIR"
+ echo " OPENMPI_COMPILE_FLAGS : \$OPENMPI_COMPILE_FLAGS"
+ echo " OPENMPI_LINK_FLAGS : \$OPENMPI_LINK_FLAGS"
+ echo ""
+ echo " MPI_HOME : \$MPI_HOME"
+ echo " MPI_ARCH_PATH : \$MPI_ARCH_PATH"
+ echo " MPIRUN_OPTIONS : \$MPIRUN_OPTIONS"
+ echo " OPAL_PREFIX : \$OPAL_PREFIX"
+ echo " PINC : \$PINC"
+ echo " PLIBS : \$PLIBS"
+fi
+DOT_SH_EOF
+
+ #
+ # Generate package specific .csh file for foam-extend
+ #
+cat << DOT_CSH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}.csh
+# Load %{name}-%{version} libraries and binaries
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+setenv OPENMPI_DIR \$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/\$WM_OPTIONS
+setenv OPENMPI_BIN_DIR \$OPENMPI_DIR/bin
+setenv OPENMPI_LIB_DIR \$OPENMPI_DIR/lib
+
+# Enable access to the package runtime applications and libraries
+if ( -e \$OPENMPI_BIN_DIR ) then
+ _foamAddPath \$OPENMPI_BIN_DIR
+endif
+
+if ( -e \$OPENMPI_LIB_DIR ) then
+ _foamAddLib \$OPENMPI_LIB_DIR
+endif
+
+setenv MPI_HOME \$OPENMPI_DIR
+setenv MPI_ARCH_PATH \$MPI_HOME
+setenv OPAL_PREFIX \$MPI_ARCH_PATH
+
+# We initialize the rest of the environment using mpicc --showme:
+setenv OPENMPI_INCLUDE_DIR "\`mpicc --showme:incdirs\`"
+setenv OPENMPI_COMPILE_FLAGS "\`mpicc --showme:compile\`"
+setenv OPENMPI_LINK_FLAGS "\`mpicc --showme:link\`"
+
+# Set the foam-extend compilation flags
+setenv PINC "\$OPENMPI_COMPILE_FLAGS"
+setenv PLIBS "\$OPENMPI_LINK_FLAGS"
+
+
+if (\$?FOAM_VERBOSE && \$?prompt) then
+ echo " Environment variables defined for OpenMPI:"
+ echo " OPENMPI_BIN_DIR : \$OPENMPI_BIN_DIR"
+ echo " OPENMPI_LIB_DIR : \$OPENMPI_LIB_DIR"
+ echo " OPENMPI_INCLUDE_DIR : \$OPENMPI_INCLUDE_DIR"
+ echo " OPENMPI_COMPILE_FLAGS : \$OPENMPI_COMPILE_FLAGS"
+ echo " OPENMPI_LINK_FLAGS : \$OPENMPI_LINK_FLAGS"
+ echo ""
+ echo " MPI_HOME : \$MPI_HOME"
+ echo " MPI_ARCH_PATH : \$MPI_ARCH_PATH"
+ echo " MPIRUN_OPTIONS : \$MPIRUN_OPTIONS"
+ echo " OPAL_PREFIX : \$OPAL_PREFIX"
+ echo " PINC : \$PINC"
+ echo " PLIBS : \$PLIBS"
+endif
+DOT_CSH_EOF
+
+ #finally, generate a .tgz file for systems where using rpm for installing packages
+ # as a non-root user might be a problem.
+ (mkdir -p %{_topdir}/TGZS/%{_target_cpu}; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{_target_cpu}/%{name}-%{version}.tgz packages/%{name}-%{version})
+
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%{_installPrefix}
diff --git a/ThirdParty/rpmBuild/SPECS/parmetis-4.0.3.spec b/ThirdParty/rpmBuild/SPECS/parmetis-4.0.3.spec
index 1f0dea975..00b49a908 100644
--- a/ThirdParty/rpmBuild/SPECS/parmetis-4.0.3.spec
+++ b/ThirdParty/rpmBuild/SPECS/parmetis-4.0.3.spec
@@ -78,6 +78,7 @@ Prefix: %{_prefix}
Group: Development/Tools
Patch0: ParMetis-3.1.1.patch_darwin
Patch1: ParMetis-3.1.1.patch
+Patch2: ParMetis-3.1.1.patch_64Bit
%define _installPrefix %{_prefix}/packages/%{name}-%{version}/platforms/%{_WM_OPTIONS}
@@ -93,6 +94,10 @@ Patch1: ParMetis-3.1.1.patch
#patch1 -p1
%endif
+if [ "$WM_LABEL_SIZE" = "64" ]; then
+%patch2 -p1
+fi
+
%build
[ -n "$WM_CC" ] && export CC="$WM_CC"
[ -n "$WM_CXX" ] && export CXX="$WM_CXX"
diff --git a/ThirdParty/rpmBuild/SPECS/qt-everywhere-src-5.11.1.spec b/ThirdParty/rpmBuild/SPECS/qt-everywhere-src-5.11.1.spec
new file mode 100644
index 000000000..cc9040bbe
--- /dev/null
+++ b/ThirdParty/rpmBuild/SPECS/qt-everywhere-src-5.11.1.spec
@@ -0,0 +1,198 @@
+#------------------------------------------------------------------------------
+# ========= |
+# \\ / F ield | foam-extend: Open Source CFD
+# \\ / O peration |
+# \\ / A nd | For copyright notice see file Copyright
+# \\/ M anipulation |
+#------------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Script
+# RPM spec file for qt-everywhere-src-5.11.1
+#
+# Description
+# RPM spec file for creating a relocatable RPM
+#
+# Author:
+# Martin Beaudoin, (2018)
+#
+#------------------------------------------------------------------------------
+
+# We grab the value of WM_THIRD_PARTY and WM_OPTIONS from the environment variable
+%{expand:%%define _WM_THIRD_PARTY_DIR %(echo $WM_THIRD_PARTY_DIR)}
+%{expand:%%define _WM_OPTIONS %(echo $WM_OPTIONS)}
+
+# Disable the generation of debuginfo packages
+%define debug_package %{nil}
+
+# The topdir needs to point to the $WM_THIRD_PARTY/rpmbuild directory
+%define _topdir %{_WM_THIRD_PARTY_DIR}/rpmBuild
+%define _tmppath %{_topdir}/tmp
+
+# Will install the package directly $WM_THIRD_PARTY_DIR
+# Some comments about package relocation:
+# By using this prefix for the Prefix: parameter in this file, you will make this
+# package relocatable.
+#
+# This is fine, as long as your software is itself relocatable.
+#
+# Simply take note that libraries built with libtool are not relocatable because the
+# prefix we specify will be hard-coded in the library .la files.
+# Ref: http://sourceware.org/autobook/autobook/autobook_80.html
+#
+# In that case, if you ever change the value of the $WM_THIRD_PARTY_DIR, you will
+# not be able to reutilize this RPM, even though it is relocatable. You will need to
+# regenerate the RPM.
+#
+%define _prefix %{_WM_THIRD_PARTY_DIR}
+
+%define name qt-everywhere-src
+%define release %{_WM_OPTIONS}
+%define version 5.11.1
+
+%define buildroot %{_topdir}/BUILD/%{name}-%{version}-root
+
+%define _unpackaged_files_terminate_build 0
+%define _missing_doc_files_terminate_build 0
+
+BuildRoot: %{buildroot}
+Summary: qt-everywhere-src
+License: Unkown
+Name: %{name}
+Version: %{version}
+Release: %{release}
+URL: http://download.qt.io/archive/qt/5.11/5.11.1/single
+Source: %url/%{name}-%{version}.tar.xz
+Prefix: %{_prefix}
+Group: Development/Tools
+
+
+%define _installPrefix %{_prefix}/packages/%{name}-%{version}/platforms/%{_WM_OPTIONS}
+
+%description
+%{summary}
+
+%prep
+%setup -q
+
+%build
+ # export WM settings in a form that GNU configure recognizes
+ [ -n "$WM_CC" ] && export CC="$WM_CC"
+ [ -n "$WM_CXX" ] && export CXX="$WM_CXX"
+ [ -n "$WM_CFLAGS" ] && export CFLAGS="$WM_CFLAGS"
+ [ -n "$WM_CXXFLAGS" ] && export CXXFLAGS="$WM_CXXFLAGS"
+ [ -n "$WM_LDFLAGS" ] && export LDFLAGS="$WM_LDFLAGS"
+
+ # The configure options are taken from the QT5 configuration
+ # of the ParaView-Superbuild
+ ./configure \
+ -opensource \
+ -confirm-license \
+ -release \
+ -skip qtconnectivity \
+ -skip qtgamepad \
+ -skip qtlocation \
+ -skip qtmultimedia \
+ -skip qtsensors \
+ -skip qtserialport \
+ -skip qtwayland \
+ -skip qtwebchannel \
+ -skip qtwebengine \
+ -skip qtwebsockets \
+ -nomake examples \
+ -nomake tests \
+ -no-dbus \
+ -qt-libjpeg \
+ -qt-pcre \
+ -system-zlib \
+ -no-openssl \
+ -skip qtsvg \
+ -qt-xcb \
+ -system-libpng \
+ -fontconfig \
+ -prefix %{_installPrefix}
+
+ # Explicitely specify LD_LIBRARY_PATH so it can find QT own libraries
+ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{_builddir}/%{name}-%{version}/lib
+
+ [ -z "$WM_NCOMPPROCS" ] && WM_NCOMPPROCS=1
+ # On a computer with limited memory, say less than 4 GB, you may need to compile
+ # with only one parallel job to avoid running out of memory.
+ # So make sure to adjust $WM_NCOMPPROCS accordingly
+ make -j $WM_NCOMPPROCS
+
+%install
+ # Makefiles generated by qmake do not to support the DESTDIR= option
+ # We need to use the INSTALL_ROOT= option instead
+
+ # Somehow, we need to clean up for the RPM to install properly
+ rm -rf %{_installPrefix}
+
+ make install INSTALL_ROOT=$RPM_BUILD_ROOT
+
+ # Creation of foam-extend specific .csh and .sh files"
+
+ echo ""
+ echo "Generating foam-extend specific .csh and .sh files for the package %{name}-%{version}"
+ echo ""
+ #
+ # Generate package specific .sh file for foam-extend
+ #
+mkdir -p $RPM_BUILD_ROOT/%{_installPrefix}/etc
+cat << DOT_SH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}.sh
+# Load %{name}-%{version} libraries and binaries if available
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+export QT_DIR=\$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/\$WM_OPTIONS
+export QT_BIN_DIR=\$QT_DIR/bin
+export QT_LIB_DIR=\$QT_DIR/lib
+
+# Enable access to the runtime package applications
+[ -d \$QT_BIN_DIR ] && _foamAddPath \$QT_BIN_DIR
+[ -d \$QT_LIB_DIR ] && _foamAddLib \$QT_LIB_DIR
+DOT_SH_EOF
+
+ #
+ # Generate package specific .csh file for foam-extend
+ #
+cat << DOT_CSH_EOF > $RPM_BUILD_ROOT/%{_installPrefix}/etc/%{name}-%{version}.csh
+# Load %{name}-%{version} libraries and binaries if available
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+setenv QT_DIR \$WM_THIRD_PARTY_DIR/packages/%{name}-%{version}/platforms/\$WM_OPTIONS
+setenv QT_BIN_DIR \$QT_DIR/bin
+setenv QT_LIB_DIR \$QT_DIR/lib
+
+if ( -e \$QT_BIN_DIR ) then
+ _foamAddPath \$QT_BIN_DIR
+endif
+
+if ( -e \$QT_LIB_DIR ) then
+ _foamAddLib \$QT_LIB_DIR
+endif
+DOT_CSH_EOF
+
+ #finally, generate a .tgz file for systems where using rpm for installing packages
+ # as a non-root user might be a problem.
+ (mkdir -p %{_topdir}/TGZS/%{_target_cpu}; cd $RPM_BUILD_ROOT/%{_prefix}; tar -zcvf %{_topdir}/TGZS/%{_target_cpu}/%{name}-%{version}.tgz packages/%{name}-%{version})
+
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%{_installPrefix}
diff --git a/ThirdParty/rpmBuild/SPECS/scotch-6.0.4.spec b/ThirdParty/rpmBuild/SPECS/scotch-6.0.4.spec
index 19a9c3058..baa3f77e0 100644
--- a/ThirdParty/rpmBuild/SPECS/scotch-6.0.4.spec
+++ b/ThirdParty/rpmBuild/SPECS/scotch-6.0.4.spec
@@ -77,6 +77,7 @@ Prefix: %{_prefix}
Group: Development/Tools
Patch0: scotch-6.0.4_patch_0
Patch1: scotch-6.0.4_patch_darwin
+Patch2: scotch-6.0.4_patch_64Bit
%define _installPrefix %{_prefix}/packages/%{name}-%{version}/platforms/%{_WM_OPTIONS}
@@ -92,6 +93,10 @@ Patch1: scotch-6.0.4_patch_darwin
%patch0 -p1
%endif
+if [ "$WM_LABEL_SIZE" = "64" ]; then
+%patch2 -p1
+fi
+
%build
# export WM settings in a form that GNU configure recognizes
# [ -n "$WM_CC" ] && export CC="$WM_CC"
diff --git a/ThirdParty/tools/makeThirdPartyFunctionsForRPM b/ThirdParty/tools/makeThirdPartyFunctionsForRPM
index 1fc376232..9430685b8 100755
--- a/ThirdParty/tools/makeThirdPartyFunctionsForRPM
+++ b/ThirdParty/tools/makeThirdPartyFunctionsForRPM
@@ -121,9 +121,15 @@ rpm_make()
packageTarBall=`basename $_PACKAGE_URL`
if [ ! -e "SOURCES/$packageTarBall" ]; then
- echo "Download $packageTarBall from : $_PACKAGE_URL"
- #( cd SOURCES; wget --no-check-certificate $_PACKAGE_URL )
- ( cd SOURCES; curl -L -k -O $_PACKAGE_URL )
+ echo "Download $packageTarBall from : $_PACKAGE_URL"
+ #( cd SOURCES; wget --no-check-certificate $_PACKAGE_URL )
+
+ ( cd SOURCES; curl --connect-timeout 60 \
+ --max-time 3600 \
+ --retry 6 \
+ --retry-delay 10 \
+ --retry-max-time 60 \
+ -L -k -O $_PACKAGE_URL )
fi
fi
@@ -284,22 +290,42 @@ uninstallPackage()
pkg="$1";
echo "Removing ${pkg}"
- [ -f $WM_THIRD_PARTY_DIR/rpmBuild/RPMS/$architecture/${pkg}*.rpm ] && \
- rm -f $WM_THIRD_PARTY_DIR/rpmBuild/RPMS/$architecture/${pkg}*.rpm || \
- echo "Not found: $WM_THIRD_PARTY_DIR/rpmBuild/RPMS/$architecture/${pkg}*.rpm"
- [ -f $WM_THIRD_PARTY_DIR/rpmBuild/SOURCES/${pkg}.tar.gz ] && \
- rm -f $WM_THIRD_PARTY_DIR/rpmBuild/SOURCES/${pkg}.tar.gz || \
- echo "Not found: $WM_THIRD_PARTY_DIR/rpmBuild/SOURCES/${pkg}.tar.gz"
- [ -f $WM_THIRD_PARTY_DIR/rpmBuild/TGZS/$architecture/${pkg}.tgz ] && \
- rm -f $WM_THIRD_PARTY_DIR/rpmBuild/TGZS/$architecture/${pkg}.tgz || \
- echo "Not found: $WM_THIRD_PARTY_DIR/rpmBuild/TGZS/$architecture/${pkg}.tgz"
- [ -d $WM_THIRD_PARTY_DIR/rpmBuild/BUILD/${pkg}* ] && \
- rm -rf $WM_THIRD_PARTY_DIR/rpmBuild/BUILD/${pkg}* || \
- echo "Not found: $WM_THIRD_PARTY_DIR/rpmBuild/BUILD/${pkg}*"
- if [ "$2" = "alsoPackage" ]; then
- [ -d $WM_THIRD_PARTY_DIR/packages/$pkg ] && \
- rm -rf $WM_THIRD_PARTY_DIR/packages/$pkg || \
- echo "Not found: $WM_THIRD_PARTY_DIR/packages/$pkg"
+ if [[ -f $WM_THIRD_PARTY_DIR/rpmBuild/RPMS/$architecture/${pkg}-$WM_OPTIONS.$architecture.rpm ]]; then
+ rm -f $WM_THIRD_PARTY_DIR/rpmBuild/RPMS/$architecture/${pkg}-$WM_OPTIONS.$architecture.rpm
+ else
+ echo "Not found: $WM_THIRD_PARTY_DIR/rpmBuild/RPMS/$architecture/${pkg}*.rpm"
+ fi
+
+ if [[ -f $WM_THIRD_PARTY_DIR/rpmBuild/SOURCES/${pkg}.tar.gz ]]; then
+ rm -f $WM_THIRD_PARTY_DIR/rpmBuild/SOURCES/${pkg}.tar.gz
+ else
+ echo "Not found: $WM_THIRD_PARTY_DIR/rpmBuild/SOURCES/${pkg}.tar.gz"
+ fi
+
+ if [[ -f $WM_THIRD_PARTY_DIR/rpmBuild/TGZS/$architecture/${pkg}.tgz ]]; then
+ rm -f $WM_THIRD_PARTY_DIR/rpmBuild/TGZS/$architecture/${pkg}.tgz
+ else
+ echo "Not found: $WM_THIRD_PARTY_DIR/rpmBuild/TGZS/$architecture/${pkg}.tgz"
+ fi
+
+ foundDir=false
+ for dir_ in $WM_THIRD_PARTY_DIR/rpmBuild/BUILD/${pkg}*
+ do
+ if [[ -d "$dir_" ]]; then
+ rm -rf $WM_THIRD_PARTY_DIR/rpmBuild/BUILD/${pkg}*
+ foundDir=true
+ fi
+ done
+ if [ "$foundDir" = false ] ; then
+ echo "Not found: $WM_THIRD_PARTY_DIR/rpmBuild/BUILD/${pkg}*"
+ fi
+
+ if [[ "$2" = "alsoPackage" ]]; then
+ if [[ -d $WM_THIRD_PARTY_DIR/packages/$pkg ]]; then
+ rm -rf $WM_THIRD_PARTY_DIR/packages/$pkg
+ else
+ echo "Not found: $WM_THIRD_PARTY_DIR/packages/$pkg"
+ fi
else
echo "Add option alsoPackage to remove the installed files."
fi
diff --git a/applications/CMakeLists.txt b/applications/CMakeLists.txt
new file mode 100644
index 000000000..5821a9e47
--- /dev/null
+++ b/applications/CMakeLists.txt
@@ -0,0 +1,34 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(utilities)
+add_subdirectory(solvers)
diff --git a/applications/solvers/CMakeLists.txt b/applications/solvers/CMakeLists.txt
new file mode 100644
index 000000000..94939b282
--- /dev/null
+++ b/applications/solvers/CMakeLists.txt
@@ -0,0 +1,54 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(engine)
+add_subdirectory(solidMechanics)
+add_subdirectory(multiphase)
+add_subdirectory(lagrangian)
+add_subdirectory(financial)
+add_subdirectory(discreteMethods)
+add_subdirectory(coupled)
+add_subdirectory(compressible)
+add_subdirectory(multiSolver)
+add_subdirectory(incompressible)
+add_subdirectory(equationReaderDemo)
+add_subdirectory(heatTransfer)
+add_subdirectory(electromagnetics)
+add_subdirectory(combustion)
+add_subdirectory(finiteArea)
+add_subdirectory(DNS)
+add_subdirectory(basic)
+add_subdirectory(immersedBoundary)
+add_subdirectory(surfaceTracking)
+add_subdirectory(viscoelastic)
+add_subdirectory(overset)
+
diff --git a/applications/solvers/DNS/CMakeLists.txt b/applications/solvers/DNS/CMakeLists.txt
new file mode 100644
index 000000000..4f957ad74
--- /dev/null
+++ b/applications/solvers/DNS/CMakeLists.txt
@@ -0,0 +1,33 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(dnsFoam)
\ No newline at end of file
diff --git a/applications/solvers/DNS/dnsFoam/CMakeLists.txt b/applications/solvers/DNS/dnsFoam/CMakeLists.txt
new file mode 100644
index 000000000..7d3e66f01
--- /dev/null
+++ b/applications/solvers/DNS/dnsFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ dnsFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(dnsFoam
+ DEPENDS randomProcesses
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/DNS/dnsFoam/dnsFoam.C b/applications/solvers/DNS/dnsFoam/dnsFoam.C
index 178c849ef..69dd82293 100644
--- a/applications/solvers/DNS/dnsFoam/dnsFoam.C
+++ b/applications/solvers/DNS/dnsFoam/dnsFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/basic/CMakeLists.txt b/applications/solvers/basic/CMakeLists.txt
new file mode 100644
index 000000000..8a0796264
--- /dev/null
+++ b/applications/solvers/basic/CMakeLists.txt
@@ -0,0 +1,38 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(laplacianFoam)
+add_subdirectory(scalarTransportFoam)
+add_subdirectory(potentialFoam)
+add_subdirectory(PODSolver)
+add_subdirectory(potentialDyMFoam)
+add_subdirectory(sixDOFSolver)
\ No newline at end of file
diff --git a/applications/solvers/basic/PODSolver/CMakeLists.txt b/applications/solvers/basic/PODSolver/CMakeLists.txt
new file mode 100644
index 000000000..6ccd68559
--- /dev/null
+++ b/applications/solvers/basic/PODSolver/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ PODSolver.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(PODSolver
+ DEPENDS POD
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/basic/PODSolver/PODSolver.C b/applications/solvers/basic/PODSolver/PODSolver.C
index db7e17805..553bc7010 100644
--- a/applications/solvers/basic/PODSolver/PODSolver.C
+++ b/applications/solvers/basic/PODSolver/PODSolver.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/basic/laplacianFoam/CMakeLists.txt b/applications/solvers/basic/laplacianFoam/CMakeLists.txt
new file mode 100644
index 000000000..7590055b8
--- /dev/null
+++ b/applications/solvers/basic/laplacianFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ laplacianFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(laplacianFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/basic/laplacianFoam/laplacianFoam.C b/applications/solvers/basic/laplacianFoam/laplacianFoam.C
index 35232fc6d..e011b5dc3 100644
--- a/applications/solvers/basic/laplacianFoam/laplacianFoam.C
+++ b/applications/solvers/basic/laplacianFoam/laplacianFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/basic/potentialDyMFoam/CMakeLists.txt b/applications/solvers/basic/potentialDyMFoam/CMakeLists.txt
new file mode 100644
index 000000000..a39acd143
--- /dev/null
+++ b/applications/solvers/basic/potentialDyMFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ potentialDyMFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(potentialDyMFoam
+ DEPENDS dynamicFvMesh
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/basic/potentialDyMFoam/potentialDyMFoam.C b/applications/solvers/basic/potentialDyMFoam/potentialDyMFoam.C
index 44945b07b..103dd3390 100644
--- a/applications/solvers/basic/potentialDyMFoam/potentialDyMFoam.C
+++ b/applications/solvers/basic/potentialDyMFoam/potentialDyMFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/basic/potentialFoam/CMakeLists.txt b/applications/solvers/basic/potentialFoam/CMakeLists.txt
new file mode 100644
index 000000000..5379bd78a
--- /dev/null
+++ b/applications/solvers/basic/potentialFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ potentialFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(potentialFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/basic/potentialFoam/potentialFoam.C b/applications/solvers/basic/potentialFoam/potentialFoam.C
index b2b546ecf..38545aede 100644
--- a/applications/solvers/basic/potentialFoam/potentialFoam.C
+++ b/applications/solvers/basic/potentialFoam/potentialFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/basic/scalarTransportFoam/CMakeLists.txt b/applications/solvers/basic/scalarTransportFoam/CMakeLists.txt
new file mode 100644
index 000000000..383c06d90
--- /dev/null
+++ b/applications/solvers/basic/scalarTransportFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ scalarTransportFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(scalarTransportFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/basic/scalarTransportFoam/scalarTransportFoam.C b/applications/solvers/basic/scalarTransportFoam/scalarTransportFoam.C
index 50f9374af..9d4189927 100644
--- a/applications/solvers/basic/scalarTransportFoam/scalarTransportFoam.C
+++ b/applications/solvers/basic/scalarTransportFoam/scalarTransportFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/basic/sixDOFSolver/CMakeLists.txt b/applications/solvers/basic/sixDOFSolver/CMakeLists.txt
new file mode 100644
index 000000000..3a6de0e5b
--- /dev/null
+++ b/applications/solvers/basic/sixDOFSolver/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ sixDOFSolver.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(sixDOFSolver
+ DEPENDS meshTools ODE
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/basic/sixDOFSolver/sixDOFSolver.C b/applications/solvers/basic/sixDOFSolver/sixDOFSolver.C
index f098e0ed4..7b4618695 100644
--- a/applications/solvers/basic/sixDOFSolver/sixDOFSolver.C
+++ b/applications/solvers/basic/sixDOFSolver/sixDOFSolver.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/CMakeLists.txt b/applications/solvers/combustion/CMakeLists.txt
new file mode 100644
index 000000000..8031b9538
--- /dev/null
+++ b/applications/solvers/combustion/CMakeLists.txt
@@ -0,0 +1,41 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(coldEngineFoam)
+add_subdirectory(dieselEngineFoam)
+add_subdirectory(XiFoam)
+add_subdirectory(PDRFoam)
+add_subdirectory(fireFoam)
+add_subdirectory(engineFoam)
+add_subdirectory(reactingFoam)
+add_subdirectory(dieselFoam)
+add_subdirectory(rhoReactingFoam)
\ No newline at end of file
diff --git a/applications/solvers/combustion/PDRFoam/CMakeLists.txt b/applications/solvers/combustion/PDRFoam/CMakeLists.txt
new file mode 100644
index 000000000..80973020e
--- /dev/null
+++ b/applications/solvers/combustion/PDRFoam/CMakeLists.txt
@@ -0,0 +1,76 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ XiModels/XiModel/XiModel.C
+ XiModels/XiModel/newXiModel.C
+ XiModels/fixed/fixed.C
+ XiModels/algebraic/algebraic.C
+ XiModels/transport/transport.C
+ XiModels/XiEqModels/XiEqModel/XiEqModel.C
+ XiModels/XiEqModels/XiEqModel/newXiEqModel.C
+ XiModels/XiEqModels/Gulder/Gulder.C
+ XiModels/XiEqModels/instabilityXiEq/instabilityXiEq.C
+ XiModels/XiEqModels/SCOPEBlendXiEq/SCOPEBlendXiEq.C
+ XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.C
+ XiModels/XiGModels/XiGModel/XiGModel.C
+ XiModels/XiGModels/XiGModel/newXiGModel.C
+ XiModels/XiGModels/KTS/KTS.C
+ XiModels/XiGModels/instabilityG/instabilityG.C
+ PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.C
+ PDRModels/dragModels/PDRDragModel/PDRDragModel.C
+ PDRModels/dragModels/PDRDragModel/newPDRDragModel.C
+ PDRModels/dragModels/basic/basic.C
+ PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.C
+ PDRModels/XiGModels/basicXiSubG/basicXiSubG.C
+ laminarFlameSpeed/SCOPE/SCOPELaminarFlameSpeed.C
+ PDRFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(PDRFoam
+ DEPENDS engine compressibleRASModels laminarFlameSpeedModels dynamicFvMesh
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(PDRFoam PUBLIC
+ $
+ $
+ $
+ $
+ $
+)
diff --git a/applications/solvers/combustion/PDRFoam/PDRFoam.C b/applications/solvers/combustion/PDRFoam/PDRFoam.C
index 613a485f1..4dfdcdb7c 100644
--- a/applications/solvers/combustion/PDRFoam/PDRFoam.C
+++ b/applications/solvers/combustion/PDRFoam/PDRFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/PDRFoamAutoRefine.C b/applications/solvers/combustion/PDRFoam/PDRFoamAutoRefine.C
index 14434c254..683f2b14a 100644
--- a/applications/solvers/combustion/PDRFoam/PDRFoamAutoRefine.C
+++ b/applications/solvers/combustion/PDRFoam/PDRFoamAutoRefine.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.C b/applications/solvers/combustion/PDRFoam/PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.C
index 5c4880dcb..e5813c019 100644
--- a/applications/solvers/combustion/PDRFoam/PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.C
+++ b/applications/solvers/combustion/PDRFoam/PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.H b/applications/solvers/combustion/PDRFoam/PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.H
index 386db210b..44fa29a98 100644
--- a/applications/solvers/combustion/PDRFoam/PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.H
+++ b/applications/solvers/combustion/PDRFoam/PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/PDRModels/XiGModels/basicXiSubG/basicXiSubG.C b/applications/solvers/combustion/PDRFoam/PDRModels/XiGModels/basicXiSubG/basicXiSubG.C
index be060c345..197b40bf8 100644
--- a/applications/solvers/combustion/PDRFoam/PDRModels/XiGModels/basicXiSubG/basicXiSubG.C
+++ b/applications/solvers/combustion/PDRFoam/PDRModels/XiGModels/basicXiSubG/basicXiSubG.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/PDRModels/XiGModels/basicXiSubG/basicXiSubG.H b/applications/solvers/combustion/PDRFoam/PDRModels/XiGModels/basicXiSubG/basicXiSubG.H
index 50cc0af69..88bd95490 100644
--- a/applications/solvers/combustion/PDRFoam/PDRModels/XiGModels/basicXiSubG/basicXiSubG.H
+++ b/applications/solvers/combustion/PDRFoam/PDRModels/XiGModels/basicXiSubG/basicXiSubG.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/PDRDragModel.C b/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/PDRDragModel.C
index 8093c51b4..890b8d4a7 100644
--- a/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/PDRDragModel.C
+++ b/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/PDRDragModel.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/PDRDragModel.H b/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/PDRDragModel.H
index 5335425d0..af064838f 100644
--- a/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/PDRDragModel.H
+++ b/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/PDRDragModel.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/newPDRDragModel.C b/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/newPDRDragModel.C
index 1ded75059..2c9c13cf5 100644
--- a/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/newPDRDragModel.C
+++ b/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/PDRDragModel/newPDRDragModel.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/basic/basic.C b/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/basic/basic.C
index 03a12dfb5..05a70e753 100644
--- a/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/basic/basic.C
+++ b/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/basic/basic.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/basic/basic.H b/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/basic/basic.H
index 03e35381b..8e90bb495 100644
--- a/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/basic/basic.H
+++ b/applications/solvers/combustion/PDRFoam/PDRModels/dragModels/basic/basic.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.C b/applications/solvers/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.C
index d7402c175..a1f7df490 100644
--- a/applications/solvers/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.C
+++ b/applications/solvers/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.H b/applications/solvers/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.H
index fe61b57f1..020b51f5f 100644
--- a/applications/solvers/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.H
+++ b/applications/solvers/combustion/PDRFoam/PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/StCourantNo.H b/applications/solvers/combustion/PDRFoam/StCourantNo.H
index 11333dff9..9ae72edfe 100644
--- a/applications/solvers/combustion/PDRFoam/StCourantNo.H
+++ b/applications/solvers/combustion/PDRFoam/StCourantNo.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/Gulder/Gulder.C b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/Gulder/Gulder.C
index 1eda0343a..31a3205bd 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/Gulder/Gulder.C
+++ b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/Gulder/Gulder.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/Gulder/Gulder.H b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/Gulder/Gulder.H
index 57ab826c6..de31ffd54 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/Gulder/Gulder.H
+++ b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/Gulder/Gulder.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEBlendXiEq/SCOPEBlendXiEq.C b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEBlendXiEq/SCOPEBlendXiEq.C
index 8e5d70ecd..c592d2bd1 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEBlendXiEq/SCOPEBlendXiEq.C
+++ b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEBlendXiEq/SCOPEBlendXiEq.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEBlendXiEq/SCOPEBlendXiEq.H b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEBlendXiEq/SCOPEBlendXiEq.H
index 8e013689b..1f23f3274 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEBlendXiEq/SCOPEBlendXiEq.H
+++ b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEBlendXiEq/SCOPEBlendXiEq.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.C b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.C
index f8e16a0f8..29d888984 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.C
+++ b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.H b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.H
index 80853a2ee..768daebfc 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.H
+++ b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.C b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.C
index 779bdc318..79631522a 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.C
+++ b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.H b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.H
index c38371e62..6f9b1b8f7 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.H
+++ b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/XiEqModel.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/newXiEqModel.C b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/newXiEqModel.C
index 8a2ffc51f..69a46eec3 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/newXiEqModel.C
+++ b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/XiEqModel/newXiEqModel.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/instabilityXiEq/instabilityXiEq.C b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/instabilityXiEq/instabilityXiEq.C
index 9e6c7d616..049f54138 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/instabilityXiEq/instabilityXiEq.C
+++ b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/instabilityXiEq/instabilityXiEq.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/instabilityXiEq/instabilityXiEq.H b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/instabilityXiEq/instabilityXiEq.H
index e98aba2a1..1d0ab7184 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/instabilityXiEq/instabilityXiEq.H
+++ b/applications/solvers/combustion/PDRFoam/XiModels/XiEqModels/instabilityXiEq/instabilityXiEq.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/KTS/KTS.C b/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/KTS/KTS.C
index 03ad2f4c1..ad86cd4c1 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/KTS/KTS.C
+++ b/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/KTS/KTS.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/KTS/KTS.H b/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/KTS/KTS.H
index 31c1e50e8..db399a621 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/KTS/KTS.H
+++ b/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/KTS/KTS.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/XiGModel/XiGModel.C b/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/XiGModel/XiGModel.C
index 60e70029c..327916037 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/XiGModel/XiGModel.C
+++ b/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/XiGModel/XiGModel.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/XiGModel/XiGModel.H b/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/XiGModel/XiGModel.H
index 8ce72e08c..690cd43eb 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/XiGModel/XiGModel.H
+++ b/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/XiGModel/XiGModel.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/XiGModel/newXiGModel.C b/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/XiGModel/newXiGModel.C
index 60574e577..6b6bb9b9f 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/XiGModel/newXiGModel.C
+++ b/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/XiGModel/newXiGModel.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/instabilityG/instabilityG.C b/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/instabilityG/instabilityG.C
index 9c1c5f532..81ccb5648 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/instabilityG/instabilityG.C
+++ b/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/instabilityG/instabilityG.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/instabilityG/instabilityG.H b/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/instabilityG/instabilityG.H
index e844beeb8..0334092ee 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/instabilityG/instabilityG.H
+++ b/applications/solvers/combustion/PDRFoam/XiModels/XiGModels/instabilityG/instabilityG.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiModel/XiModel.C b/applications/solvers/combustion/PDRFoam/XiModels/XiModel/XiModel.C
index 4dd1d5223..198e9cd5a 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/XiModel/XiModel.C
+++ b/applications/solvers/combustion/PDRFoam/XiModels/XiModel/XiModel.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiModel/XiModel.H b/applications/solvers/combustion/PDRFoam/XiModels/XiModel/XiModel.H
index 3732a895b..0c3ade42f 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/XiModel/XiModel.H
+++ b/applications/solvers/combustion/PDRFoam/XiModels/XiModel/XiModel.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/XiModel/newXiModel.C b/applications/solvers/combustion/PDRFoam/XiModels/XiModel/newXiModel.C
index 6498aa599..41c3a32c5 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/XiModel/newXiModel.C
+++ b/applications/solvers/combustion/PDRFoam/XiModels/XiModel/newXiModel.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/algebraic/algebraic.C b/applications/solvers/combustion/PDRFoam/XiModels/algebraic/algebraic.C
index 6bbc00c32..e49650639 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/algebraic/algebraic.C
+++ b/applications/solvers/combustion/PDRFoam/XiModels/algebraic/algebraic.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/algebraic/algebraic.H b/applications/solvers/combustion/PDRFoam/XiModels/algebraic/algebraic.H
index fe9a5290f..f92dfadab 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/algebraic/algebraic.H
+++ b/applications/solvers/combustion/PDRFoam/XiModels/algebraic/algebraic.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/fixed/fixed.C b/applications/solvers/combustion/PDRFoam/XiModels/fixed/fixed.C
index 46645cc4f..e7b80b339 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/fixed/fixed.C
+++ b/applications/solvers/combustion/PDRFoam/XiModels/fixed/fixed.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/fixed/fixed.H b/applications/solvers/combustion/PDRFoam/XiModels/fixed/fixed.H
index 168865ad0..e3146f600 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/fixed/fixed.H
+++ b/applications/solvers/combustion/PDRFoam/XiModels/fixed/fixed.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/transport/transport.C b/applications/solvers/combustion/PDRFoam/XiModels/transport/transport.C
index 53fa66ced..1085b2bba 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/transport/transport.C
+++ b/applications/solvers/combustion/PDRFoam/XiModels/transport/transport.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/XiModels/transport/transport.H b/applications/solvers/combustion/PDRFoam/XiModels/transport/transport.H
index 29c5bd2c6..63874403e 100644
--- a/applications/solvers/combustion/PDRFoam/XiModels/transport/transport.H
+++ b/applications/solvers/combustion/PDRFoam/XiModels/transport/transport.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/laminarFlameSpeed/SCOPE/SCOPELaminarFlameSpeed.C b/applications/solvers/combustion/PDRFoam/laminarFlameSpeed/SCOPE/SCOPELaminarFlameSpeed.C
index 4f10aee73..5d9f1c37a 100644
--- a/applications/solvers/combustion/PDRFoam/laminarFlameSpeed/SCOPE/SCOPELaminarFlameSpeed.C
+++ b/applications/solvers/combustion/PDRFoam/laminarFlameSpeed/SCOPE/SCOPELaminarFlameSpeed.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/laminarFlameSpeed/SCOPE/SCOPELaminarFlameSpeed.H b/applications/solvers/combustion/PDRFoam/laminarFlameSpeed/SCOPE/SCOPELaminarFlameSpeed.H
index 48e2c12a1..5cdae9c87 100644
--- a/applications/solvers/combustion/PDRFoam/laminarFlameSpeed/SCOPE/SCOPELaminarFlameSpeed.H
+++ b/applications/solvers/combustion/PDRFoam/laminarFlameSpeed/SCOPE/SCOPELaminarFlameSpeed.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/rhoEqn.H b/applications/solvers/combustion/PDRFoam/rhoEqn.H
index 96f04807e..c86983d99 100644
--- a/applications/solvers/combustion/PDRFoam/rhoEqn.H
+++ b/applications/solvers/combustion/PDRFoam/rhoEqn.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/PDRFoam/setDeltaT.H b/applications/solvers/combustion/PDRFoam/setDeltaT.H
index e34d2f87e..0ba03beb8 100644
--- a/applications/solvers/combustion/PDRFoam/setDeltaT.H
+++ b/applications/solvers/combustion/PDRFoam/setDeltaT.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/XiFoam/CMakeLists.txt b/applications/solvers/combustion/XiFoam/CMakeLists.txt
new file mode 100644
index 000000000..f74f5e5f0
--- /dev/null
+++ b/applications/solvers/combustion/XiFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ XiFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(XiFoam
+ DEPENDS engine compressibleRASModels compressibleLESModels laminarFlameSpeedModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/combustion/XiFoam/XiFoam.C b/applications/solvers/combustion/XiFoam/XiFoam.C
index 2de9ebf4f..de525ef02 100644
--- a/applications/solvers/combustion/XiFoam/XiFoam.C
+++ b/applications/solvers/combustion/XiFoam/XiFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/coldEngineFoam/CMakeLists.txt b/applications/solvers/combustion/coldEngineFoam/CMakeLists.txt
new file mode 100644
index 000000000..7eb8337f6
--- /dev/null
+++ b/applications/solvers/combustion/coldEngineFoam/CMakeLists.txt
@@ -0,0 +1,51 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ coldEngineFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(coldEngineFoam
+ DEPENDS engine compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(coldEngineFoam PUBLIC
+ $
+ $
+)
diff --git a/applications/solvers/combustion/coldEngineFoam/coldEngineFoam.C b/applications/solvers/combustion/coldEngineFoam/coldEngineFoam.C
index 5a67c4dae..5e5c6d613 100644
--- a/applications/solvers/combustion/coldEngineFoam/coldEngineFoam.C
+++ b/applications/solvers/combustion/coldEngineFoam/coldEngineFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/dieselEngineFoam/CMakeLists.txt b/applications/solvers/combustion/dieselEngineFoam/CMakeLists.txt
new file mode 100644
index 000000000..a4d4a560f
--- /dev/null
+++ b/applications/solvers/combustion/dieselEngineFoam/CMakeLists.txt
@@ -0,0 +1,50 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ dieselEngineFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(dieselEngineFoam
+ DEPENDS engine dieselSpray chemistryModel
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(dieselEngineFoam PUBLIC
+ $
+)
diff --git a/applications/solvers/combustion/dieselEngineFoam/dieselEngineFoam.C b/applications/solvers/combustion/dieselEngineFoam/dieselEngineFoam.C
index 4d2aea793..a2b8b63a1 100644
--- a/applications/solvers/combustion/dieselEngineFoam/dieselEngineFoam.C
+++ b/applications/solvers/combustion/dieselEngineFoam/dieselEngineFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/dieselEngineFoam/rhoEqn.H b/applications/solvers/combustion/dieselEngineFoam/rhoEqn.H
index ea2dfeb78..75e74197f 100644
--- a/applications/solvers/combustion/dieselEngineFoam/rhoEqn.H
+++ b/applications/solvers/combustion/dieselEngineFoam/rhoEqn.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/dieselFoam/CMakeLists.txt b/applications/solvers/combustion/dieselFoam/CMakeLists.txt
new file mode 100644
index 000000000..c0e28b87c
--- /dev/null
+++ b/applications/solvers/combustion/dieselFoam/CMakeLists.txt
@@ -0,0 +1,50 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ dieselFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(dieselFoam
+ DEPENDS chemistryModel dieselSpray
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(dieselFoam PUBLIC
+ $
+)
diff --git a/applications/solvers/combustion/dieselFoam/dieselFoam.C b/applications/solvers/combustion/dieselFoam/dieselFoam.C
index 401a08bc8..4cd6bff75 100644
--- a/applications/solvers/combustion/dieselFoam/dieselFoam.C
+++ b/applications/solvers/combustion/dieselFoam/dieselFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/engineFoam/CMakeLists.txt b/applications/solvers/combustion/engineFoam/CMakeLists.txt
new file mode 100644
index 000000000..ee6e453db
--- /dev/null
+++ b/applications/solvers/combustion/engineFoam/CMakeLists.txt
@@ -0,0 +1,50 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ engineFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(engineFoam
+ DEPENDS engine compressibleRASModels compressibleLESModels laminarFlameSpeedModels
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(engineFoam PUBLIC
+ $
+)
diff --git a/applications/solvers/combustion/engineFoam/engineFoam.C b/applications/solvers/combustion/engineFoam/engineFoam.C
index 59905c4c0..9daa7ec89 100644
--- a/applications/solvers/combustion/engineFoam/engineFoam.C
+++ b/applications/solvers/combustion/engineFoam/engineFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/fireFoam/CMakeLists.txt b/applications/solvers/combustion/fireFoam/CMakeLists.txt
new file mode 100644
index 000000000..046457841
--- /dev/null
+++ b/applications/solvers/combustion/fireFoam/CMakeLists.txt
@@ -0,0 +1,48 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(combustionModels)
+
+list(APPEND SOURCES
+ fireFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(fireFoam
+ DEPENDS radiation combustionModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/combustion/fireFoam/combustionModels/CMakeLists.txt b/applications/solvers/combustion/fireFoam/combustionModels/CMakeLists.txt
new file mode 100644
index 000000000..afd11e08c
--- /dev/null
+++ b/applications/solvers/combustion/fireFoam/combustionModels/CMakeLists.txt
@@ -0,0 +1,42 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ combustionModel/combustionModel.C
+ combustionModel/newCombustionModel.C
+ infinitelyFastChemistry/infinitelyFastChemistry.C
+ noCombustion/noCombustion.C
+)
+
+add_foam_library(combustionModels SHARED ${SOURCES})
+
+target_link_libraries(combustionModels PUBLIC reactionThermophysicalModels compressibleTurbulenceModel)
diff --git a/applications/solvers/combustion/fireFoam/combustionModels/combustionModel/combustionModel.C b/applications/solvers/combustion/fireFoam/combustionModels/combustionModel/combustionModel.C
index 117241f3d..0067e54d6 100644
--- a/applications/solvers/combustion/fireFoam/combustionModels/combustionModel/combustionModel.C
+++ b/applications/solvers/combustion/fireFoam/combustionModels/combustionModel/combustionModel.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/fireFoam/combustionModels/combustionModel/combustionModel.H b/applications/solvers/combustion/fireFoam/combustionModels/combustionModel/combustionModel.H
index b46c6b256..d35e051d1 100644
--- a/applications/solvers/combustion/fireFoam/combustionModels/combustionModel/combustionModel.H
+++ b/applications/solvers/combustion/fireFoam/combustionModels/combustionModel/combustionModel.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/fireFoam/combustionModels/combustionModel/newCombustionModel.C b/applications/solvers/combustion/fireFoam/combustionModels/combustionModel/newCombustionModel.C
index 7bf8c4def..67d903c36 100644
--- a/applications/solvers/combustion/fireFoam/combustionModels/combustionModel/newCombustionModel.C
+++ b/applications/solvers/combustion/fireFoam/combustionModels/combustionModel/newCombustionModel.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/fireFoam/combustionModels/infinitelyFastChemistry/infinitelyFastChemistry.C b/applications/solvers/combustion/fireFoam/combustionModels/infinitelyFastChemistry/infinitelyFastChemistry.C
index 4ff7054ce..b298a23b2 100644
--- a/applications/solvers/combustion/fireFoam/combustionModels/infinitelyFastChemistry/infinitelyFastChemistry.C
+++ b/applications/solvers/combustion/fireFoam/combustionModels/infinitelyFastChemistry/infinitelyFastChemistry.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/fireFoam/combustionModels/infinitelyFastChemistry/infinitelyFastChemistry.H b/applications/solvers/combustion/fireFoam/combustionModels/infinitelyFastChemistry/infinitelyFastChemistry.H
index 1e59e4ca8..07c7b7b0d 100644
--- a/applications/solvers/combustion/fireFoam/combustionModels/infinitelyFastChemistry/infinitelyFastChemistry.H
+++ b/applications/solvers/combustion/fireFoam/combustionModels/infinitelyFastChemistry/infinitelyFastChemistry.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/fireFoam/combustionModels/noCombustion/noCombustion.C b/applications/solvers/combustion/fireFoam/combustionModels/noCombustion/noCombustion.C
index 252fb2b13..54c746136 100644
--- a/applications/solvers/combustion/fireFoam/combustionModels/noCombustion/noCombustion.C
+++ b/applications/solvers/combustion/fireFoam/combustionModels/noCombustion/noCombustion.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/fireFoam/combustionModels/noCombustion/noCombustion.H b/applications/solvers/combustion/fireFoam/combustionModels/noCombustion/noCombustion.H
index c2aed2b6a..cea5187d8 100644
--- a/applications/solvers/combustion/fireFoam/combustionModels/noCombustion/noCombustion.H
+++ b/applications/solvers/combustion/fireFoam/combustionModels/noCombustion/noCombustion.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/fireFoam/fireFoam.C b/applications/solvers/combustion/fireFoam/fireFoam.C
index 235c66c49..e54e78009 100644
--- a/applications/solvers/combustion/fireFoam/fireFoam.C
+++ b/applications/solvers/combustion/fireFoam/fireFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/reactingFoam/CMakeLists.txt b/applications/solvers/combustion/reactingFoam/CMakeLists.txt
new file mode 100644
index 000000000..8b62d1cef
--- /dev/null
+++ b/applications/solvers/combustion/reactingFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ reactingFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(reactingFoam
+ DEPENDS compressibleRASModels compressibleLESModels chemistryModel
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/combustion/reactingFoam/createFields.H b/applications/solvers/combustion/reactingFoam/createFields.H
index 91b7fec2d..862724bf7 100644
--- a/applications/solvers/combustion/reactingFoam/createFields.H
+++ b/applications/solvers/combustion/reactingFoam/createFields.H
@@ -18,7 +18,9 @@ volScalarField rho
(
"rho",
runTime.timeName(),
- mesh
+ mesh,
+ IOobject::NO_READ,
+ IOobject::AUTO_WRITE
),
thermo.rho()
);
diff --git a/applications/solvers/combustion/reactingFoam/reactingFoam.C b/applications/solvers/combustion/reactingFoam/reactingFoam.C
index c60823519..65df8d7d3 100644
--- a/applications/solvers/combustion/reactingFoam/reactingFoam.C
+++ b/applications/solvers/combustion/reactingFoam/reactingFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/combustion/rhoReactingFoam/CMakeLists.txt b/applications/solvers/combustion/rhoReactingFoam/CMakeLists.txt
new file mode 100644
index 000000000..facd9e30f
--- /dev/null
+++ b/applications/solvers/combustion/rhoReactingFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ rhoReactingFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(rhoReactingFoam
+ DEPENDS chemistryModel compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/combustion/rhoReactingFoam/rhoReactingFoam.C b/applications/solvers/combustion/rhoReactingFoam/rhoReactingFoam.C
index 6cc9fd84f..b66a8b3d9 100644
--- a/applications/solvers/combustion/rhoReactingFoam/rhoReactingFoam.C
+++ b/applications/solvers/combustion/rhoReactingFoam/rhoReactingFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/CMakeLists.txt b/applications/solvers/compressible/CMakeLists.txt
new file mode 100644
index 000000000..d3e3d979d
--- /dev/null
+++ b/applications/solvers/compressible/CMakeLists.txt
@@ -0,0 +1,51 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(rhoSonicFoam)
+add_subdirectory(sonicDyMFoam)
+add_subdirectory(steadyCompressibleSRFFoam)
+add_subdirectory(realFluidPisoFoam)
+add_subdirectory(steadyUniversalMRFFoam)
+add_subdirectory(rhoPimpleFoam)
+add_subdirectory(sonicFoam)
+add_subdirectory(rhoPorousMRFPimpleFoam)
+add_subdirectory(rhopSonicFoam)
+add_subdirectory(rhoPisoFoam)
+add_subdirectory(steadyCompressibleFoam)
+add_subdirectory(dbnsFoam)
+add_subdirectory(steadyUniversalFoam)
+add_subdirectory(steadyCompressibleMRFFoam)
+add_subdirectory(rhoSimpleFoam)
+add_subdirectory(sonicLiquidFoam)
+add_subdirectory(rhoCentralFoam)
+add_subdirectory(rhoPorousSimpleFoam)
+add_subdirectory(dbnsTurbFoam)
diff --git a/applications/solvers/compressible/dbnsFoam/CMakeLists.txt b/applications/solvers/compressible/dbnsFoam/CMakeLists.txt
new file mode 100644
index 000000000..814fcc9b1
--- /dev/null
+++ b/applications/solvers/compressible/dbnsFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ dbnsFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(dbnsFoam
+ DEPENDS dbns
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/dbnsFoam/dbnsFoam.C b/applications/solvers/compressible/dbnsFoam/dbnsFoam.C
index 2a8daebff..fe89f0d9e 100644
--- a/applications/solvers/compressible/dbnsFoam/dbnsFoam.C
+++ b/applications/solvers/compressible/dbnsFoam/dbnsFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/dbnsTurbFoam/CMakeLists.txt b/applications/solvers/compressible/dbnsTurbFoam/CMakeLists.txt
new file mode 100644
index 000000000..d3962284c
--- /dev/null
+++ b/applications/solvers/compressible/dbnsTurbFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ dbnsTurbFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(dbnsTurbFoam
+ DEPENDS dbns
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/dbnsTurbFoam/dbnsTurbFoam.C b/applications/solvers/compressible/dbnsTurbFoam/dbnsTurbFoam.C
index 52c1c8b89..914bda8b5 100644
--- a/applications/solvers/compressible/dbnsTurbFoam/dbnsTurbFoam.C
+++ b/applications/solvers/compressible/dbnsTurbFoam/dbnsTurbFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/realFluidPisoFoam/CMakeLists.txt b/applications/solvers/compressible/realFluidPisoFoam/CMakeLists.txt
new file mode 100644
index 000000000..58d1d979b
--- /dev/null
+++ b/applications/solvers/compressible/realFluidPisoFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ realFluidPisoFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(realFluidPisoFoam
+ DEPENDS compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/realFluidPisoFoam/realFluidPisoFoam.C b/applications/solvers/compressible/realFluidPisoFoam/realFluidPisoFoam.C
index ec5c36431..e5d28fae4 100644
--- a/applications/solvers/compressible/realFluidPisoFoam/realFluidPisoFoam.C
+++ b/applications/solvers/compressible/realFluidPisoFoam/realFluidPisoFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhoCentralFoam/BCs/CMakeLists.txt b/applications/solvers/compressible/rhoCentralFoam/BCs/CMakeLists.txt
new file mode 100644
index 000000000..6b0c64c62
--- /dev/null
+++ b/applications/solvers/compressible/rhoCentralFoam/BCs/CMakeLists.txt
@@ -0,0 +1,42 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ mixedFixedValueSlip/mixedFixedValueSlipFvPatchFields.C
+ U/maxwellSlipUFvPatchVectorField.C
+ T/smoluchowskiJumpTFvPatchScalarField.C
+ rho/fixedRhoFvPatchScalarField.C
+)
+
+add_foam_library(rhoCentralFoamLib SHARED ${SOURCES})
+
+target_link_libraries(rhoCentralFoamLib PUBLIC finiteVolume)
diff --git a/applications/solvers/compressible/rhoCentralFoam/BCs/T/smoluchowskiJumpTFvPatchScalarField.C b/applications/solvers/compressible/rhoCentralFoam/BCs/T/smoluchowskiJumpTFvPatchScalarField.C
index e1d79637e..b3786560b 100644
--- a/applications/solvers/compressible/rhoCentralFoam/BCs/T/smoluchowskiJumpTFvPatchScalarField.C
+++ b/applications/solvers/compressible/rhoCentralFoam/BCs/T/smoluchowskiJumpTFvPatchScalarField.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhoCentralFoam/BCs/T/smoluchowskiJumpTFvPatchScalarField.H b/applications/solvers/compressible/rhoCentralFoam/BCs/T/smoluchowskiJumpTFvPatchScalarField.H
index 0e6443b1a..0e4f91fc4 100644
--- a/applications/solvers/compressible/rhoCentralFoam/BCs/T/smoluchowskiJumpTFvPatchScalarField.H
+++ b/applications/solvers/compressible/rhoCentralFoam/BCs/T/smoluchowskiJumpTFvPatchScalarField.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhoCentralFoam/BCs/U/maxwellSlipUFvPatchVectorField.C b/applications/solvers/compressible/rhoCentralFoam/BCs/U/maxwellSlipUFvPatchVectorField.C
index c06c1d480..b0e62a40d 100644
--- a/applications/solvers/compressible/rhoCentralFoam/BCs/U/maxwellSlipUFvPatchVectorField.C
+++ b/applications/solvers/compressible/rhoCentralFoam/BCs/U/maxwellSlipUFvPatchVectorField.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhoCentralFoam/BCs/U/maxwellSlipUFvPatchVectorField.H b/applications/solvers/compressible/rhoCentralFoam/BCs/U/maxwellSlipUFvPatchVectorField.H
index 8ccc14374..a70661222 100644
--- a/applications/solvers/compressible/rhoCentralFoam/BCs/U/maxwellSlipUFvPatchVectorField.H
+++ b/applications/solvers/compressible/rhoCentralFoam/BCs/U/maxwellSlipUFvPatchVectorField.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhoCentralFoam/BCs/mixedFixedValueSlip/mixedFixedValueSlipFvPatchField.C b/applications/solvers/compressible/rhoCentralFoam/BCs/mixedFixedValueSlip/mixedFixedValueSlipFvPatchField.C
index d1dbf9a1a..248b5bd4a 100644
--- a/applications/solvers/compressible/rhoCentralFoam/BCs/mixedFixedValueSlip/mixedFixedValueSlipFvPatchField.C
+++ b/applications/solvers/compressible/rhoCentralFoam/BCs/mixedFixedValueSlip/mixedFixedValueSlipFvPatchField.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhoCentralFoam/BCs/mixedFixedValueSlip/mixedFixedValueSlipFvPatchField.H b/applications/solvers/compressible/rhoCentralFoam/BCs/mixedFixedValueSlip/mixedFixedValueSlipFvPatchField.H
index 4eb4d21e0..453f468c2 100644
--- a/applications/solvers/compressible/rhoCentralFoam/BCs/mixedFixedValueSlip/mixedFixedValueSlipFvPatchField.H
+++ b/applications/solvers/compressible/rhoCentralFoam/BCs/mixedFixedValueSlip/mixedFixedValueSlipFvPatchField.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhoCentralFoam/BCs/mixedFixedValueSlip/mixedFixedValueSlipFvPatchFields.C b/applications/solvers/compressible/rhoCentralFoam/BCs/mixedFixedValueSlip/mixedFixedValueSlipFvPatchFields.C
index e0021bbf1..6ac07d9e9 100644
--- a/applications/solvers/compressible/rhoCentralFoam/BCs/mixedFixedValueSlip/mixedFixedValueSlipFvPatchFields.C
+++ b/applications/solvers/compressible/rhoCentralFoam/BCs/mixedFixedValueSlip/mixedFixedValueSlipFvPatchFields.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhoCentralFoam/BCs/mixedFixedValueSlip/mixedFixedValueSlipFvPatchFields.H b/applications/solvers/compressible/rhoCentralFoam/BCs/mixedFixedValueSlip/mixedFixedValueSlipFvPatchFields.H
index 2d3239369..9df3c3768 100644
--- a/applications/solvers/compressible/rhoCentralFoam/BCs/mixedFixedValueSlip/mixedFixedValueSlipFvPatchFields.H
+++ b/applications/solvers/compressible/rhoCentralFoam/BCs/mixedFixedValueSlip/mixedFixedValueSlipFvPatchFields.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhoCentralFoam/BCs/mixedFixedValueSlip/mixedFixedValueSlipFvPatchFieldsFwd.H b/applications/solvers/compressible/rhoCentralFoam/BCs/mixedFixedValueSlip/mixedFixedValueSlipFvPatchFieldsFwd.H
index 248af7c0d..aea6107e9 100644
--- a/applications/solvers/compressible/rhoCentralFoam/BCs/mixedFixedValueSlip/mixedFixedValueSlipFvPatchFieldsFwd.H
+++ b/applications/solvers/compressible/rhoCentralFoam/BCs/mixedFixedValueSlip/mixedFixedValueSlipFvPatchFieldsFwd.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhoCentralFoam/BCs/rho/fixedRhoFvPatchScalarField.C b/applications/solvers/compressible/rhoCentralFoam/BCs/rho/fixedRhoFvPatchScalarField.C
index 4667a672b..0afdc9a47 100644
--- a/applications/solvers/compressible/rhoCentralFoam/BCs/rho/fixedRhoFvPatchScalarField.C
+++ b/applications/solvers/compressible/rhoCentralFoam/BCs/rho/fixedRhoFvPatchScalarField.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhoCentralFoam/BCs/rho/fixedRhoFvPatchScalarField.H b/applications/solvers/compressible/rhoCentralFoam/BCs/rho/fixedRhoFvPatchScalarField.H
index a448a4d61..4a450f615 100644
--- a/applications/solvers/compressible/rhoCentralFoam/BCs/rho/fixedRhoFvPatchScalarField.H
+++ b/applications/solvers/compressible/rhoCentralFoam/BCs/rho/fixedRhoFvPatchScalarField.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhoCentralFoam/CMakeLists.txt b/applications/solvers/compressible/rhoCentralFoam/CMakeLists.txt
new file mode 100644
index 000000000..21d8675f5
--- /dev/null
+++ b/applications/solvers/compressible/rhoCentralFoam/CMakeLists.txt
@@ -0,0 +1,48 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(BCs)
+
+list(APPEND SOURCES
+ rhoCentralFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(rhoCentralFoam
+ DEPENDS rhoCentralFoamLib compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/rhoCentralFoam/compressibleCourantNo.H b/applications/solvers/compressible/rhoCentralFoam/compressibleCourantNo.H
index 4f496fd84..1a1a11575 100644
--- a/applications/solvers/compressible/rhoCentralFoam/compressibleCourantNo.H
+++ b/applications/solvers/compressible/rhoCentralFoam/compressibleCourantNo.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhoCentralFoam/rhoCentralFoam.C b/applications/solvers/compressible/rhoCentralFoam/rhoCentralFoam.C
index 8ec46c441..c7c96efb8 100644
--- a/applications/solvers/compressible/rhoCentralFoam/rhoCentralFoam.C
+++ b/applications/solvers/compressible/rhoCentralFoam/rhoCentralFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhoPimpleFoam/CMakeLists.txt b/applications/solvers/compressible/rhoPimpleFoam/CMakeLists.txt
new file mode 100644
index 000000000..bbc850c46
--- /dev/null
+++ b/applications/solvers/compressible/rhoPimpleFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ rhoPimpleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(rhoPimpleFoam
+ DEPENDS compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/rhoPimpleFoam/rhoPimpleFoam.C b/applications/solvers/compressible/rhoPimpleFoam/rhoPimpleFoam.C
index 7f1b2336c..b78a8a676 100644
--- a/applications/solvers/compressible/rhoPimpleFoam/rhoPimpleFoam.C
+++ b/applications/solvers/compressible/rhoPimpleFoam/rhoPimpleFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhoPisoFoam/CMakeLists.txt b/applications/solvers/compressible/rhoPisoFoam/CMakeLists.txt
new file mode 100644
index 000000000..47d32499e
--- /dev/null
+++ b/applications/solvers/compressible/rhoPisoFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ rhoPisoFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(rhoPisoFoam
+ DEPENDS compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/rhoPisoFoam/rhoPisoFoam.C b/applications/solvers/compressible/rhoPisoFoam/rhoPisoFoam.C
index 2b5204ba7..630f7ac32 100644
--- a/applications/solvers/compressible/rhoPisoFoam/rhoPisoFoam.C
+++ b/applications/solvers/compressible/rhoPisoFoam/rhoPisoFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhoPorousMRFPimpleFoam/CMakeLists.txt b/applications/solvers/compressible/rhoPorousMRFPimpleFoam/CMakeLists.txt
new file mode 100644
index 000000000..5ede60765
--- /dev/null
+++ b/applications/solvers/compressible/rhoPorousMRFPimpleFoam/CMakeLists.txt
@@ -0,0 +1,50 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ rhoPorousMRFPimpleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(rhoPorousMRFPimpleFoam
+ DEPENDS compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(rhoPorousMRFPimpleFoam PUBLIC
+ $
+)
diff --git a/applications/solvers/compressible/rhoPorousMRFPimpleFoam/rhoPorousMRFPimpleFoam.C b/applications/solvers/compressible/rhoPorousMRFPimpleFoam/rhoPorousMRFPimpleFoam.C
index 557ba7fa7..6d6c7d31d 100644
--- a/applications/solvers/compressible/rhoPorousMRFPimpleFoam/rhoPorousMRFPimpleFoam.C
+++ b/applications/solvers/compressible/rhoPorousMRFPimpleFoam/rhoPorousMRFPimpleFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhoPorousSimpleFoam/CMakeLists.txt b/applications/solvers/compressible/rhoPorousSimpleFoam/CMakeLists.txt
new file mode 100644
index 000000000..df84596b5
--- /dev/null
+++ b/applications/solvers/compressible/rhoPorousSimpleFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ rhoPorousSimpleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(rhoPorousSimpleFoam
+ DEPENDS compressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/rhoPorousSimpleFoam/rhoPorousSimpleFoam.C b/applications/solvers/compressible/rhoPorousSimpleFoam/rhoPorousSimpleFoam.C
index 262027978..ace4f3314 100644
--- a/applications/solvers/compressible/rhoPorousSimpleFoam/rhoPorousSimpleFoam.C
+++ b/applications/solvers/compressible/rhoPorousSimpleFoam/rhoPorousSimpleFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhoSimpleFoam/CMakeLists.txt b/applications/solvers/compressible/rhoSimpleFoam/CMakeLists.txt
new file mode 100644
index 000000000..66c205ddf
--- /dev/null
+++ b/applications/solvers/compressible/rhoSimpleFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ rhoSimpleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(rhoSimpleFoam
+ DEPENDS compressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/rhoSimpleFoam/rhoSimpleFoam.C b/applications/solvers/compressible/rhoSimpleFoam/rhoSimpleFoam.C
index 4da57cdb6..7f5402caf 100644
--- a/applications/solvers/compressible/rhoSimpleFoam/rhoSimpleFoam.C
+++ b/applications/solvers/compressible/rhoSimpleFoam/rhoSimpleFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhoSonicFoam/CMakeLists.txt b/applications/solvers/compressible/rhoSonicFoam/CMakeLists.txt
new file mode 100644
index 000000000..eba979810
--- /dev/null
+++ b/applications/solvers/compressible/rhoSonicFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ rhoSonicFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(rhoSonicFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/rhoSonicFoam/rhoSonicFoam.C b/applications/solvers/compressible/rhoSonicFoam/rhoSonicFoam.C
index 3e20b6ecb..2c5a8720c 100644
--- a/applications/solvers/compressible/rhoSonicFoam/rhoSonicFoam.C
+++ b/applications/solvers/compressible/rhoSonicFoam/rhoSonicFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhopSonicFoam/BCs/CMakeLists.txt b/applications/solvers/compressible/rhopSonicFoam/BCs/CMakeLists.txt
new file mode 100644
index 000000000..84b5bf606
--- /dev/null
+++ b/applications/solvers/compressible/rhopSonicFoam/BCs/CMakeLists.txt
@@ -0,0 +1,44 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ rho/fixedRhoFvPatchScalarField.C
+ rho/gradientRhoFvPatchScalarField.C
+ rhoE/fixedRhoEFvPatchScalarField.C
+ rhoE/mixedRhoEFvPatchScalarField.C
+ rhoU/fixedRhoUFvPatchVectorField.C
+ p/inviscidWallPFvPatchScalarField.C
+)
+
+add_foam_library(rhopSonicFoamLib SHARED ${SOURCES})
+
+target_link_libraries(rhopSonicFoamLib PUBLIC finiteVolume)
diff --git a/applications/solvers/compressible/rhopSonicFoam/BCs/p/inviscidWallPFvPatchScalarField.C b/applications/solvers/compressible/rhopSonicFoam/BCs/p/inviscidWallPFvPatchScalarField.C
index 54a53d5b9..d32707223 100644
--- a/applications/solvers/compressible/rhopSonicFoam/BCs/p/inviscidWallPFvPatchScalarField.C
+++ b/applications/solvers/compressible/rhopSonicFoam/BCs/p/inviscidWallPFvPatchScalarField.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhopSonicFoam/BCs/p/inviscidWallPFvPatchScalarField.H b/applications/solvers/compressible/rhopSonicFoam/BCs/p/inviscidWallPFvPatchScalarField.H
index 9d98714b8..d3089e5a7 100644
--- a/applications/solvers/compressible/rhopSonicFoam/BCs/p/inviscidWallPFvPatchScalarField.H
+++ b/applications/solvers/compressible/rhopSonicFoam/BCs/p/inviscidWallPFvPatchScalarField.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhopSonicFoam/BCs/rho/fixedRhoFvPatchScalarField.C b/applications/solvers/compressible/rhopSonicFoam/BCs/rho/fixedRhoFvPatchScalarField.C
index 13af64f6d..49352af79 100644
--- a/applications/solvers/compressible/rhopSonicFoam/BCs/rho/fixedRhoFvPatchScalarField.C
+++ b/applications/solvers/compressible/rhopSonicFoam/BCs/rho/fixedRhoFvPatchScalarField.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhopSonicFoam/BCs/rho/fixedRhoFvPatchScalarField.H b/applications/solvers/compressible/rhopSonicFoam/BCs/rho/fixedRhoFvPatchScalarField.H
index 6e32e3ff5..34672b3df 100644
--- a/applications/solvers/compressible/rhopSonicFoam/BCs/rho/fixedRhoFvPatchScalarField.H
+++ b/applications/solvers/compressible/rhopSonicFoam/BCs/rho/fixedRhoFvPatchScalarField.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhopSonicFoam/BCs/rho/gradientRhoFvPatchScalarField.C b/applications/solvers/compressible/rhopSonicFoam/BCs/rho/gradientRhoFvPatchScalarField.C
index 924ff8e0e..afc3652a9 100644
--- a/applications/solvers/compressible/rhopSonicFoam/BCs/rho/gradientRhoFvPatchScalarField.C
+++ b/applications/solvers/compressible/rhopSonicFoam/BCs/rho/gradientRhoFvPatchScalarField.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhopSonicFoam/BCs/rho/gradientRhoFvPatchScalarField.H b/applications/solvers/compressible/rhopSonicFoam/BCs/rho/gradientRhoFvPatchScalarField.H
index b1cbda048..4f794cdef 100644
--- a/applications/solvers/compressible/rhopSonicFoam/BCs/rho/gradientRhoFvPatchScalarField.H
+++ b/applications/solvers/compressible/rhopSonicFoam/BCs/rho/gradientRhoFvPatchScalarField.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhopSonicFoam/BCs/rhoE/fixedRhoEFvPatchScalarField.C b/applications/solvers/compressible/rhopSonicFoam/BCs/rhoE/fixedRhoEFvPatchScalarField.C
index 94ad72c74..c42a1f90e 100644
--- a/applications/solvers/compressible/rhopSonicFoam/BCs/rhoE/fixedRhoEFvPatchScalarField.C
+++ b/applications/solvers/compressible/rhopSonicFoam/BCs/rhoE/fixedRhoEFvPatchScalarField.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhopSonicFoam/BCs/rhoE/fixedRhoEFvPatchScalarField.H b/applications/solvers/compressible/rhopSonicFoam/BCs/rhoE/fixedRhoEFvPatchScalarField.H
index e4f6818f0..cd7d48bf9 100644
--- a/applications/solvers/compressible/rhopSonicFoam/BCs/rhoE/fixedRhoEFvPatchScalarField.H
+++ b/applications/solvers/compressible/rhopSonicFoam/BCs/rhoE/fixedRhoEFvPatchScalarField.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhopSonicFoam/BCs/rhoE/mixedRhoEFvPatchScalarField.C b/applications/solvers/compressible/rhopSonicFoam/BCs/rhoE/mixedRhoEFvPatchScalarField.C
index 04af8ab17..af9d0a6aa 100644
--- a/applications/solvers/compressible/rhopSonicFoam/BCs/rhoE/mixedRhoEFvPatchScalarField.C
+++ b/applications/solvers/compressible/rhopSonicFoam/BCs/rhoE/mixedRhoEFvPatchScalarField.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhopSonicFoam/BCs/rhoE/mixedRhoEFvPatchScalarField.H b/applications/solvers/compressible/rhopSonicFoam/BCs/rhoE/mixedRhoEFvPatchScalarField.H
index c333a1d7c..897eb6fb7 100644
--- a/applications/solvers/compressible/rhopSonicFoam/BCs/rhoE/mixedRhoEFvPatchScalarField.H
+++ b/applications/solvers/compressible/rhopSonicFoam/BCs/rhoE/mixedRhoEFvPatchScalarField.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhopSonicFoam/BCs/rhoU/fixedRhoUFvPatchVectorField.C b/applications/solvers/compressible/rhopSonicFoam/BCs/rhoU/fixedRhoUFvPatchVectorField.C
index 60d9d30c0..8378ae99f 100644
--- a/applications/solvers/compressible/rhopSonicFoam/BCs/rhoU/fixedRhoUFvPatchVectorField.C
+++ b/applications/solvers/compressible/rhopSonicFoam/BCs/rhoU/fixedRhoUFvPatchVectorField.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhopSonicFoam/BCs/rhoU/fixedRhoUFvPatchVectorField.H b/applications/solvers/compressible/rhopSonicFoam/BCs/rhoU/fixedRhoUFvPatchVectorField.H
index 98a9ed45a..3c0bceae6 100644
--- a/applications/solvers/compressible/rhopSonicFoam/BCs/rhoU/fixedRhoUFvPatchVectorField.H
+++ b/applications/solvers/compressible/rhopSonicFoam/BCs/rhoU/fixedRhoUFvPatchVectorField.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/rhopSonicFoam/CMakeLists.txt b/applications/solvers/compressible/rhopSonicFoam/CMakeLists.txt
new file mode 100644
index 000000000..6ef468768
--- /dev/null
+++ b/applications/solvers/compressible/rhopSonicFoam/CMakeLists.txt
@@ -0,0 +1,48 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(BCs)
+
+list(APPEND SOURCES
+ rhopSonicFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(rhopSonicFoam
+ DEPENDS rhopSonicFoamLib compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/rhopSonicFoam/rhopSonicFoam.C b/applications/solvers/compressible/rhopSonicFoam/rhopSonicFoam.C
index ad813134e..1dcb79e09 100644
--- a/applications/solvers/compressible/rhopSonicFoam/rhopSonicFoam.C
+++ b/applications/solvers/compressible/rhopSonicFoam/rhopSonicFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/sonicDyMFoam/CMakeLists.txt b/applications/solvers/compressible/sonicDyMFoam/CMakeLists.txt
new file mode 100644
index 000000000..153d23dcd
--- /dev/null
+++ b/applications/solvers/compressible/sonicDyMFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ sonicDyMFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(sonicDyMFoam
+ DEPENDS dynamicFvMesh compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/sonicDyMFoam/sonicDyMFoam.C b/applications/solvers/compressible/sonicDyMFoam/sonicDyMFoam.C
index eb1b6edb4..b3ae65258 100644
--- a/applications/solvers/compressible/sonicDyMFoam/sonicDyMFoam.C
+++ b/applications/solvers/compressible/sonicDyMFoam/sonicDyMFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/sonicFoam/CMakeLists.txt b/applications/solvers/compressible/sonicFoam/CMakeLists.txt
new file mode 100644
index 000000000..e6f88baa1
--- /dev/null
+++ b/applications/solvers/compressible/sonicFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ sonicFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(sonicFoam
+ DEPENDS compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/sonicFoam/sonicFoam.C b/applications/solvers/compressible/sonicFoam/sonicFoam.C
index 69028d3c0..4880a7fc0 100644
--- a/applications/solvers/compressible/sonicFoam/sonicFoam.C
+++ b/applications/solvers/compressible/sonicFoam/sonicFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/sonicLiquidFoam/CMakeLists.txt b/applications/solvers/compressible/sonicLiquidFoam/CMakeLists.txt
new file mode 100644
index 000000000..bf3908efd
--- /dev/null
+++ b/applications/solvers/compressible/sonicLiquidFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ sonicLiquidFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(sonicLiquidFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/sonicLiquidFoam/sonicLiquidFoam.C b/applications/solvers/compressible/sonicLiquidFoam/sonicLiquidFoam.C
index c1b1bbbab..399a36b5f 100644
--- a/applications/solvers/compressible/sonicLiquidFoam/sonicLiquidFoam.C
+++ b/applications/solvers/compressible/sonicLiquidFoam/sonicLiquidFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/steadyCompressibleFoam/CMakeLists.txt b/applications/solvers/compressible/steadyCompressibleFoam/CMakeLists.txt
new file mode 100644
index 000000000..a02c8dde9
--- /dev/null
+++ b/applications/solvers/compressible/steadyCompressibleFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ steadyCompressibleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(steadyCompressibleFoam
+ DEPENDS compressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/steadyCompressibleFoam/divError.H b/applications/solvers/compressible/steadyCompressibleFoam/divError.H
index ebd505e83..91c776b2d 100644
--- a/applications/solvers/compressible/steadyCompressibleFoam/divError.H
+++ b/applications/solvers/compressible/steadyCompressibleFoam/divError.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/steadyCompressibleFoam/hEqn.H b/applications/solvers/compressible/steadyCompressibleFoam/hEqn.H
index d9378a743..94e1c4651 100644
--- a/applications/solvers/compressible/steadyCompressibleFoam/hEqn.H
+++ b/applications/solvers/compressible/steadyCompressibleFoam/hEqn.H
@@ -2,7 +2,7 @@
// Solve the enthalpy equation in total enthalpy formulation (see K)
T.storePrevIter();
-
+
K = 0.5*(magSqr(U));
fvScalarMatrix hEqn
diff --git a/applications/solvers/compressible/steadyCompressibleFoam/steadyCompressibleFoam.C b/applications/solvers/compressible/steadyCompressibleFoam/steadyCompressibleFoam.C
index 0adc424ab..b5dbf130c 100644
--- a/applications/solvers/compressible/steadyCompressibleFoam/steadyCompressibleFoam.C
+++ b/applications/solvers/compressible/steadyCompressibleFoam/steadyCompressibleFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/steadyCompressibleMRFFoam/CMakeLists.txt b/applications/solvers/compressible/steadyCompressibleMRFFoam/CMakeLists.txt
new file mode 100644
index 000000000..bc48ccf3e
--- /dev/null
+++ b/applications/solvers/compressible/steadyCompressibleMRFFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ steadyCompressibleMRFFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(steadyCompressibleMRFFoam
+ DEPENDS compressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/steadyCompressibleMRFFoam/steadyCompressibleMRFFoam.C b/applications/solvers/compressible/steadyCompressibleMRFFoam/steadyCompressibleMRFFoam.C
index b20704640..1a3d66503 100644
--- a/applications/solvers/compressible/steadyCompressibleMRFFoam/steadyCompressibleMRFFoam.C
+++ b/applications/solvers/compressible/steadyCompressibleMRFFoam/steadyCompressibleMRFFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/steadyCompressibleSRFFoam/CMakeLists.txt b/applications/solvers/compressible/steadyCompressibleSRFFoam/CMakeLists.txt
new file mode 100644
index 000000000..12f1bde81
--- /dev/null
+++ b/applications/solvers/compressible/steadyCompressibleSRFFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ steadyCompressibleSRFFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(steadyCompressibleSRFFoam
+ DEPENDS compressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/steadyCompressibleSRFFoam/steadyCompressibleSRFFoam.C b/applications/solvers/compressible/steadyCompressibleSRFFoam/steadyCompressibleSRFFoam.C
index 98afb0c23..2b30c6639 100644
--- a/applications/solvers/compressible/steadyCompressibleSRFFoam/steadyCompressibleSRFFoam.C
+++ b/applications/solvers/compressible/steadyCompressibleSRFFoam/steadyCompressibleSRFFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/steadyUniversalFoam/CMakeLists.txt b/applications/solvers/compressible/steadyUniversalFoam/CMakeLists.txt
new file mode 100644
index 000000000..f15f5bcae
--- /dev/null
+++ b/applications/solvers/compressible/steadyUniversalFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ steadyUniversalFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(steadyUniversalFoam
+ DEPENDS compressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/steadyUniversalFoam/createThermo.H b/applications/solvers/compressible/steadyUniversalFoam/createThermo.H
index 1c9e0c7f6..5d5c88af1 100644
--- a/applications/solvers/compressible/steadyUniversalFoam/createThermo.H
+++ b/applications/solvers/compressible/steadyUniversalFoam/createThermo.H
@@ -1,11 +1,11 @@
Info<< "Reading thermophysical properties\n" << endl;
- volScalarField* pPtr = NULL;
- volScalarField* hPtr = NULL;
- const volScalarField* TPtr = NULL;
+ volScalarField* pPtr = nullptr;
+ volScalarField* hPtr = nullptr;
+ const volScalarField* TPtr = nullptr;
- volScalarField* psisPtr = NULL;
- basicThermo* thermoPtr = NULL;
+ volScalarField* psisPtr = nullptr;
+ basicThermo* thermoPtr = nullptr;
Switch compressible;
diff --git a/applications/solvers/compressible/steadyUniversalFoam/divError.H b/applications/solvers/compressible/steadyUniversalFoam/divError.H
index ebd505e83..91c776b2d 100644
--- a/applications/solvers/compressible/steadyUniversalFoam/divError.H
+++ b/applications/solvers/compressible/steadyUniversalFoam/divError.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/steadyUniversalFoam/steadyUniversalFoam.C b/applications/solvers/compressible/steadyUniversalFoam/steadyUniversalFoam.C
index 483c4a1d6..5e420d84d 100644
--- a/applications/solvers/compressible/steadyUniversalFoam/steadyUniversalFoam.C
+++ b/applications/solvers/compressible/steadyUniversalFoam/steadyUniversalFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/steadyUniversalMRFFoam/CMakeLists.txt b/applications/solvers/compressible/steadyUniversalMRFFoam/CMakeLists.txt
new file mode 100644
index 000000000..473e0cd7e
--- /dev/null
+++ b/applications/solvers/compressible/steadyUniversalMRFFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ steadyUniversalMRFFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(steadyUniversalMRFFoam
+ DEPENDS compressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/compressible/steadyUniversalMRFFoam/createThermo.H b/applications/solvers/compressible/steadyUniversalMRFFoam/createThermo.H
index 1c9e0c7f6..5d5c88af1 100644
--- a/applications/solvers/compressible/steadyUniversalMRFFoam/createThermo.H
+++ b/applications/solvers/compressible/steadyUniversalMRFFoam/createThermo.H
@@ -1,11 +1,11 @@
Info<< "Reading thermophysical properties\n" << endl;
- volScalarField* pPtr = NULL;
- volScalarField* hPtr = NULL;
- const volScalarField* TPtr = NULL;
+ volScalarField* pPtr = nullptr;
+ volScalarField* hPtr = nullptr;
+ const volScalarField* TPtr = nullptr;
- volScalarField* psisPtr = NULL;
- basicThermo* thermoPtr = NULL;
+ volScalarField* psisPtr = nullptr;
+ basicThermo* thermoPtr = nullptr;
Switch compressible;
diff --git a/applications/solvers/compressible/steadyUniversalMRFFoam/divError.H b/applications/solvers/compressible/steadyUniversalMRFFoam/divError.H
index ebd505e83..91c776b2d 100644
--- a/applications/solvers/compressible/steadyUniversalMRFFoam/divError.H
+++ b/applications/solvers/compressible/steadyUniversalMRFFoam/divError.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/compressible/steadyUniversalMRFFoam/steadyUniversalMRFFoam.C b/applications/solvers/compressible/steadyUniversalMRFFoam/steadyUniversalMRFFoam.C
index d7dd9d620..94fe756b6 100644
--- a/applications/solvers/compressible/steadyUniversalMRFFoam/steadyUniversalMRFFoam.C
+++ b/applications/solvers/compressible/steadyUniversalMRFFoam/steadyUniversalMRFFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/coupled/CMakeLists.txt b/applications/solvers/coupled/CMakeLists.txt
new file mode 100644
index 000000000..336deda86
--- /dev/null
+++ b/applications/solvers/coupled/CMakeLists.txt
@@ -0,0 +1,37 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(blockCoupledScalarTransportFoam)
+add_subdirectory(conjugateHeatFoam)
+add_subdirectory(pUCoupledFoam)
+add_subdirectory(conjugateHeatSimpleFoam)
+add_subdirectory(MRFPorousFoam)
diff --git a/applications/solvers/coupled/MRFPorousFoam/CMakeLists.txt b/applications/solvers/coupled/MRFPorousFoam/CMakeLists.txt
new file mode 100644
index 000000000..1593c7ea2
--- /dev/null
+++ b/applications/solvers/coupled/MRFPorousFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ MRFPorousFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(MRFPorousFoam
+ DEPENDS incompressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/coupled/MRFPorousFoam/MRFPorousFoam.C b/applications/solvers/coupled/MRFPorousFoam/MRFPorousFoam.C
index c7f481fa4..fabff73d7 100644
--- a/applications/solvers/coupled/MRFPorousFoam/MRFPorousFoam.C
+++ b/applications/solvers/coupled/MRFPorousFoam/MRFPorousFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
@@ -91,7 +91,7 @@ int main(int argc, char *argv[])
// Solving potential flow equation and correcting velocities
phi = (fvc::interpolate(U) & mesh.Sf());
-
+
solve
(
tpEqn()
@@ -116,7 +116,7 @@ int main(int argc, char *argv[])
+ tpEqn().flux()
+ tpresSource;
}
-
+
// Make flux relative in rotating zones
mrfZones.relativeFlux(phi);
diff --git a/applications/solvers/coupled/MRFPorousFoam/UEqn.H b/applications/solvers/coupled/MRFPorousFoam/UEqn.H
index a189057e0..feeea2abb 100644
--- a/applications/solvers/coupled/MRFPorousFoam/UEqn.H
+++ b/applications/solvers/coupled/MRFPorousFoam/UEqn.H
@@ -5,7 +5,8 @@
// Momentum equation
fvVectorMatrix UEqn
(
- fvm::div(phi, U)
+ fvm::ddt(U)
+ + fvm::div(phi, U)
+ turbulence->divDevReff()
);
@@ -34,7 +35,7 @@
// Add implicit MRF source as a Hodge dual of the rotational velocity
TU += *mrfZones.omega();
-
+
// Add implicit resistance
pZones.addResistance(UEqn, TU);
@@ -53,80 +54,6 @@
// Insert momentum equation
UpEqn.insertEquation(0, UEqn);
- if (addMRF || addPorosity)
- {
- // Manually over-ride the 3x3 block to handle the off-diagonal
- // part of the Ap coefficient
- const tensorField& TUIn = tTU().internalField();
-
- CoeffField::squareTypeField& DD = UpEqn.diag().asSquare();
-
- const scalarField& V = mesh.V().field();
-
- // Note: insertion should only happen in MRF and porous cell zones
- // HJ, 14/Mar/2016
-
- // Warning. Possible problem with a zone which is both MRF and porous
- // The solution is to do the loop below everywhere
- // Currently only inserting zones for efficiency. HJ, 18/Nov/2017
- register label cellI;
-
- forAll (mrfZones, mrfZoneI)
- {
- const labelList& curZoneCells = mrfZones[mrfZoneI].zone();
-
- // Loop over all cells in the zone
- forAll (curZoneCells, zcI)
- {
- cellI = curZoneCells[zcI];
-
- const scalar& cellV = V[cellI];
-
- const tensor& cellTU = TUIn[cellI];
-
- CoeffField::squareType& cellDD = DD[cellI];
-
- cellDD(0, 0) += cellV*cellTU.xx();
- cellDD(0, 1) += cellV*cellTU.xy();
- cellDD(0, 2) += cellV*cellTU.xz();
-
- cellDD(1, 0) += cellV*cellTU.yx();
- cellDD(1, 1) += cellV*cellTU.yy();
- cellDD(2, 2) += cellV*cellTU.yz();
-
- cellDD(2, 0) += cellV*cellTU.zx();
- cellDD(2, 1) += cellV*cellTU.zy();
- cellDD(2, 2) += cellV*cellTU.zz();
- }
- }
-
- forAll (pZones, pZoneI)
- {
- const labelList& curZoneCells = pZones[pZoneI].zone();
-
- // Loop over all cells in the zone
- forAll (curZoneCells, zcI)
- {
- cellI = curZoneCells[zcI];
-
- const scalar& cellV = V[cellI];
-
- const tensor& cellTU = TUIn[cellI];
-
- CoeffField::squareType& cellDD = DD[cellI];
-
- cellDD(0, 0) += cellV*cellTU.xx();
- cellDD(0, 1) += cellV*cellTU.xy();
- cellDD(0, 2) += cellV*cellTU.xz();
-
- cellDD(1, 0) += cellV*cellTU.yx();
- cellDD(1, 1) += cellV*cellTU.yy();
- cellDD(2, 2) += cellV*cellTU.yz();
-
- cellDD(2, 0) += cellV*cellTU.zx();
- cellDD(2, 1) += cellV*cellTU.zy();
- cellDD(2, 2) += cellV*cellTU.zz();
- }
- }
- }
+# include "addImplicitMRFPorous.H"
+# include "addBlockCoupledBC.H"
}
diff --git a/applications/solvers/coupled/MRFPorousFoam/addBlockCoupledBC.H b/applications/solvers/coupled/MRFPorousFoam/addBlockCoupledBC.H
new file mode 100644
index 000000000..b80aeb90e
--- /dev/null
+++ b/applications/solvers/coupled/MRFPorousFoam/addBlockCoupledBC.H
@@ -0,0 +1,56 @@
+ // Hack block-coupled boundary conditions: due for rewrite
+ const volScalarField nuEff = turbulence->nuEff();
+
+ forAll (U.boundaryField(), patchI)
+ {
+ if (U.boundaryField()[patchI].blockCoupled())
+ {
+ // Insert correcting fully implicit coupling coefficient
+
+ const labelList fc = mesh.boundary()[patchI].faceCells();
+
+ const fvPatchVectorField& Up = U.boundaryField()[patchI];
+
+ // Warning: hacked for nuEff in viscosity
+ const scalarField nutpMagSf =
+ nuEff.boundaryField()[patchI]*
+ mesh.magSf().boundaryField()[patchI];
+
+ // Get boundary condition contribution to matrix diagonal
+ tensorField patchDiag =
+ -Up.blockGradientInternalCoeffs()().asSquare()*nutpMagSf;
+
+ // Get matrix diagonal
+ CoeffField::squareTypeField& blockDiag =
+ UpEqn.diag().asSquare();
+
+ forAll (fc, faceI)
+ {
+ blockDiag[fc[faceI]](0, 0) += patchDiag[faceI].xx();
+ blockDiag[fc[faceI]](0, 1) += patchDiag[faceI].xy();
+ blockDiag[fc[faceI]](0, 2) += patchDiag[faceI].xz();
+
+ blockDiag[fc[faceI]](1, 0) += patchDiag[faceI].yx();
+ blockDiag[fc[faceI]](1, 1) += patchDiag[faceI].yy();
+ blockDiag[fc[faceI]](1, 2) += patchDiag[faceI].yz();
+
+ blockDiag[fc[faceI]](2, 0) += patchDiag[faceI].zx();
+ blockDiag[fc[faceI]](3, 1) += patchDiag[faceI].zy();
+ blockDiag[fc[faceI]](3, 2) += patchDiag[faceI].zz();
+ }
+
+ // Get boundary condition contribution to matrix source
+ vectorField patchSource =
+ -Up.blockGradientBoundaryCoeffs()*nutpMagSf;
+
+ // Get matrix source
+ Field& blockSource = UpEqn.source();
+
+ forAll (fc, faceI)
+ {
+ blockSource[fc[faceI]](0) -= patchSource[faceI](0);
+ blockSource[fc[faceI]](1) -= patchSource[faceI](1);
+ blockSource[fc[faceI]](2) -= patchSource[faceI](2);
+ }
+ }
+ }
diff --git a/applications/solvers/coupled/MRFPorousFoam/addImplicitMRFPorous.H b/applications/solvers/coupled/MRFPorousFoam/addImplicitMRFPorous.H
new file mode 100644
index 000000000..5ba812f51
--- /dev/null
+++ b/applications/solvers/coupled/MRFPorousFoam/addImplicitMRFPorous.H
@@ -0,0 +1,77 @@
+
+ if (addMRF || addPorosity)
+ {
+ // Manually over-ride the 3x3 block to handle the off-diagonal
+ // part of the Ap coefficient
+ const tensorField& TUIn = tTU().internalField();
+
+ CoeffField::squareTypeField& DD = UpEqn.diag().asSquare();
+
+ const scalarField& V = mesh.V().field();
+
+ // Note: insertion should only happen in MRF and porous cell zones
+ // HJ, 14/Mar/2016
+
+ // Warning. Possible problem with a zone which is both MRF and porous
+ // The solution is to do the loop below everywhere
+ // Currently only inserting zones for efficiency. HJ, 18/Nov/2017
+ register label cellI;
+
+ forAll (mrfZones, mrfZoneI)
+ {
+ const labelList& curZoneCells = mrfZones[mrfZoneI].zone();
+
+ // Loop over all cells in the zone
+ forAll (curZoneCells, zcI)
+ {
+ cellI = curZoneCells[zcI];
+
+ const scalar& cellV = V[cellI];
+
+ const tensor& cellTU = TUIn[cellI];
+
+ CoeffField::squareType& cellDD = DD[cellI];
+
+ cellDD(0, 0) += cellV*cellTU.xx();
+ cellDD(0, 1) += cellV*cellTU.xy();
+ cellDD(0, 2) += cellV*cellTU.xz();
+
+ cellDD(1, 0) += cellV*cellTU.yx();
+ cellDD(1, 1) += cellV*cellTU.yy();
+ cellDD(2, 2) += cellV*cellTU.yz();
+
+ cellDD(2, 0) += cellV*cellTU.zx();
+ cellDD(2, 1) += cellV*cellTU.zy();
+ cellDD(2, 2) += cellV*cellTU.zz();
+ }
+ }
+
+ forAll (pZones, pZoneI)
+ {
+ const labelList& curZoneCells = pZones[pZoneI].zone();
+
+ // Loop over all cells in the zone
+ forAll (curZoneCells, zcI)
+ {
+ cellI = curZoneCells[zcI];
+
+ const scalar& cellV = V[cellI];
+
+ const tensor& cellTU = TUIn[cellI];
+
+ CoeffField::squareType& cellDD = DD[cellI];
+
+ cellDD(0, 0) += cellV*cellTU.xx();
+ cellDD(0, 1) += cellV*cellTU.xy();
+ cellDD(0, 2) += cellV*cellTU.xz();
+
+ cellDD(1, 0) += cellV*cellTU.yx();
+ cellDD(1, 1) += cellV*cellTU.yy();
+ cellDD(2, 2) += cellV*cellTU.yz();
+
+ cellDD(2, 0) += cellV*cellTU.zx();
+ cellDD(2, 1) += cellV*cellTU.zy();
+ cellDD(2, 2) += cellV*cellTU.zz();
+ }
+ }
+ }
diff --git a/applications/solvers/coupled/blockCoupledScalarTransportFoam/CMakeLists.txt b/applications/solvers/coupled/blockCoupledScalarTransportFoam/CMakeLists.txt
new file mode 100644
index 000000000..7b2bcc36c
--- /dev/null
+++ b/applications/solvers/coupled/blockCoupledScalarTransportFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ blockCoupledScalarTransportFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(blockCoupledScalarTransportFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/coupled/blockCoupledScalarTransportFoam/blockCoupledScalarTransportFoam.C b/applications/solvers/coupled/blockCoupledScalarTransportFoam/blockCoupledScalarTransportFoam.C
index 384384e80..c5818e36e 100644
--- a/applications/solvers/coupled/blockCoupledScalarTransportFoam/blockCoupledScalarTransportFoam.C
+++ b/applications/solvers/coupled/blockCoupledScalarTransportFoam/blockCoupledScalarTransportFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/coupled/blockCoupledScalarTransportFoam/blockVector2Matrix.C b/applications/solvers/coupled/blockCoupledScalarTransportFoam/blockVector2Matrix.C
index 09adb4b2b..2f9ee3a7c 100644
--- a/applications/solvers/coupled/blockCoupledScalarTransportFoam/blockVector2Matrix.C
+++ b/applications/solvers/coupled/blockCoupledScalarTransportFoam/blockVector2Matrix.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/coupled/blockCoupledScalarTransportFoam/blockVector2Matrix.H b/applications/solvers/coupled/blockCoupledScalarTransportFoam/blockVector2Matrix.H
index ff935efe9..d30c3a3f7 100644
--- a/applications/solvers/coupled/blockCoupledScalarTransportFoam/blockVector2Matrix.H
+++ b/applications/solvers/coupled/blockCoupledScalarTransportFoam/blockVector2Matrix.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/coupled/blockCoupledScalarTransportFoam/blockVector2Solvers.C b/applications/solvers/coupled/blockCoupledScalarTransportFoam/blockVector2Solvers.C
index 7536b4f22..8e19c7400 100644
--- a/applications/solvers/coupled/blockCoupledScalarTransportFoam/blockVector2Solvers.C
+++ b/applications/solvers/coupled/blockCoupledScalarTransportFoam/blockVector2Solvers.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/coupled/blockCoupledScalarTransportFoam/tensor2Field.C b/applications/solvers/coupled/blockCoupledScalarTransportFoam/tensor2Field.C
index d36cdd903..6be9343f4 100644
--- a/applications/solvers/coupled/blockCoupledScalarTransportFoam/tensor2Field.C
+++ b/applications/solvers/coupled/blockCoupledScalarTransportFoam/tensor2Field.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/coupled/blockCoupledScalarTransportFoam/tensor2Field.H b/applications/solvers/coupled/blockCoupledScalarTransportFoam/tensor2Field.H
index c9f9c67a8..1294db560 100644
--- a/applications/solvers/coupled/blockCoupledScalarTransportFoam/tensor2Field.H
+++ b/applications/solvers/coupled/blockCoupledScalarTransportFoam/tensor2Field.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/coupled/blockCoupledScalarTransportFoam/testBlockMatrix.C b/applications/solvers/coupled/blockCoupledScalarTransportFoam/testBlockMatrix.C
index aec247b93..fff2f48f4 100644
--- a/applications/solvers/coupled/blockCoupledScalarTransportFoam/testBlockMatrix.C
+++ b/applications/solvers/coupled/blockCoupledScalarTransportFoam/testBlockMatrix.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/coupled/blockCoupledScalarTransportFoam/vector2Field.H b/applications/solvers/coupled/blockCoupledScalarTransportFoam/vector2Field.H
index de6729408..32fb0068c 100644
--- a/applications/solvers/coupled/blockCoupledScalarTransportFoam/vector2Field.H
+++ b/applications/solvers/coupled/blockCoupledScalarTransportFoam/vector2Field.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/coupled/conjugateHeatFoam/CMakeLists.txt b/applications/solvers/coupled/conjugateHeatFoam/CMakeLists.txt
new file mode 100644
index 000000000..a50e821c0
--- /dev/null
+++ b/applications/solvers/coupled/conjugateHeatFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ conjugateHeatFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(conjugateHeatFoam
+ DEPENDS incompressibleRASModels coupledLduMatrix conjugateHeatTransfer
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/coupled/conjugateHeatFoam/conjugateHeatFoam.C b/applications/solvers/coupled/conjugateHeatFoam/conjugateHeatFoam.C
index 99c906f8d..6f3c463f2 100644
--- a/applications/solvers/coupled/conjugateHeatFoam/conjugateHeatFoam.C
+++ b/applications/solvers/coupled/conjugateHeatFoam/conjugateHeatFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
@@ -47,10 +47,11 @@ int main(int argc, char *argv[])
{
# include "setRootCase.H"
# include "createTime.H"
-# include "createFluidMesh.H"
+# include "createMesh.H"
# include "createSolidMesh.H"
pisoControl piso(mesh);
+ simpleControl simpleSolid(solidMesh);
# include "readGravitationalAcceleration.H"
# include "createFields.H"
@@ -72,7 +73,7 @@ int main(int argc, char *argv[])
# include "CourantNo.H"
# include "setDeltaT.H"
- // Detach patches
+ // Detach coupled CHT patches
# include "detachPatches.H"
# include "UEqn.H"
@@ -99,7 +100,7 @@ int main(int argc, char *argv[])
rhoCpsolid.oldTime();
rhoCpsolid = solidThermo.rho()*solidThermo.C();
- // Coupled patches
+ // Attached coupled CHT patches
# include "attachPatches.H"
kappaEff.correctBoundaryConditions();
diff --git a/applications/solvers/coupled/conjugateHeatFoam/createFluidMesh.H b/applications/solvers/coupled/conjugateHeatFoam/createFluidMesh.H
deleted file mode 100644
index 32edb8f54..000000000
--- a/applications/solvers/coupled/conjugateHeatFoam/createFluidMesh.H
+++ /dev/null
@@ -1,13 +0,0 @@
- Info<< "Create mesh for time = "
- << runTime.timeName() << nl << endl;
-
- fvMesh mesh
- (
- IOobject
- (
- fvMesh::defaultRegion,
- runTime.timeName(),
- runTime,
- IOobject::MUST_READ
- )
- );
diff --git a/applications/solvers/coupled/conjugateHeatFoam/solveEnergy.H b/applications/solvers/coupled/conjugateHeatFoam/solveEnergy.H
index c101f7ddd..a01de025a 100644
--- a/applications/solvers/coupled/conjugateHeatFoam/solveEnergy.H
+++ b/applications/solvers/coupled/conjugateHeatFoam/solveEnergy.H
@@ -1,11 +1,9 @@
{
- // Solid side
- simpleControl simpleSolid(solidMesh);
-
while (simpleSolid.correctNonOrthogonal())
{
coupledFvScalarMatrix TEqns(2);
+ // Fluid side
fvScalarMatrix* TFluidEqn = new fvScalarMatrix
(
rho*Cp*
@@ -20,6 +18,7 @@
+ 3.0*radiation->Rp()*pow4(T)
);
+ // Solid side
fvScalarMatrix* TSolidEqn = new fvScalarMatrix
(
fvm::ddt(rhoCpsolid, Tsolid)
diff --git a/applications/solvers/coupled/conjugateHeatSimpleFoam/CMakeLists.txt b/applications/solvers/coupled/conjugateHeatSimpleFoam/CMakeLists.txt
new file mode 100644
index 000000000..a66dad1e6
--- /dev/null
+++ b/applications/solvers/coupled/conjugateHeatSimpleFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ conjugateHeatSimpleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(conjugateHeatSimpleFoam
+ DEPENDS incompressibleRASModels coupledLduMatrix conjugateHeatTransfer
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/coupled/conjugateHeatSimpleFoam/conjugateHeatSimpleFoam.C b/applications/solvers/coupled/conjugateHeatSimpleFoam/conjugateHeatSimpleFoam.C
index 2926ed7d9..644ea4bad 100644
--- a/applications/solvers/coupled/conjugateHeatSimpleFoam/conjugateHeatSimpleFoam.C
+++ b/applications/solvers/coupled/conjugateHeatSimpleFoam/conjugateHeatSimpleFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
@@ -46,10 +46,11 @@ int main(int argc, char *argv[])
{
# include "setRootCase.H"
# include "createTime.H"
-# include "createFluidMesh.H"
+# include "createMesh.H"
# include "createSolidMesh.H"
simpleControl simple(mesh);
+ simpleControl simpleSolid(solidMesh);
# include "readGravitationalAcceleration.H"
# include "createFields.H"
@@ -64,7 +65,7 @@ int main(int argc, char *argv[])
{
Info<< "Time = " << runTime.timeName() << nl << endl;
- // Detach patches
+ // Detach coupled CHT patches
# include "detachPatches.H"
p_rgh.storePrevIter();
@@ -75,16 +76,17 @@ int main(int argc, char *argv[])
// Update turbulent quantities
turbulence->correct();
+ // Correct radiation
radiation->correct();
- // Update thermal conductivity in the fluid
+ // Update thermal diffusivity in the fluid
kappaEff = rho*Cp*(turbulence->nu()/Pr + turbulence->nut()/Prt);
// Update thermal conductivity in the solid
solidThermo.correct();
kSolid = solidThermo.k();
- // Coupled patches
+ // Attached coupled CHT patches
# include "attachPatches.H"
kappaEff.correctBoundaryConditions();
diff --git a/applications/solvers/coupled/conjugateHeatSimpleFoam/createFluidMesh.H b/applications/solvers/coupled/conjugateHeatSimpleFoam/createFluidMesh.H
deleted file mode 100644
index 32edb8f54..000000000
--- a/applications/solvers/coupled/conjugateHeatSimpleFoam/createFluidMesh.H
+++ /dev/null
@@ -1,13 +0,0 @@
- Info<< "Create mesh for time = "
- << runTime.timeName() << nl << endl;
-
- fvMesh mesh
- (
- IOobject
- (
- fvMesh::defaultRegion,
- runTime.timeName(),
- runTime,
- IOobject::MUST_READ
- )
- );
diff --git a/applications/solvers/coupled/conjugateHeatSimpleFoam/solveEnergy.H b/applications/solvers/coupled/conjugateHeatSimpleFoam/solveEnergy.H
index da5d46c1d..b9ea15697 100644
--- a/applications/solvers/coupled/conjugateHeatSimpleFoam/solveEnergy.H
+++ b/applications/solvers/coupled/conjugateHeatSimpleFoam/solveEnergy.H
@@ -1,11 +1,9 @@
{
- // Solid side
- simpleControl simpleSolid(solidMesh);
-
while (simpleSolid.correctNonOrthogonal())
{
coupledFvScalarMatrix TEqns(2);
+ // Fluid side
fvScalarMatrix* TFluidEqn = new fvScalarMatrix
(
rho*Cp*
@@ -22,6 +20,7 @@
TFluidEqn->relax();
+ // Solid side
fvScalarMatrix* TSolidEqn = new fvScalarMatrix
(
- fvm::laplacian(kSolidf, Tsolid, "laplacian(k,T)")
diff --git a/applications/solvers/coupled/pUCoupledFoam/CMakeLists.txt b/applications/solvers/coupled/pUCoupledFoam/CMakeLists.txt
new file mode 100644
index 000000000..957f82255
--- /dev/null
+++ b/applications/solvers/coupled/pUCoupledFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ pUCoupledFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(pUCoupledFoam
+ DEPENDS incompressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/coupled/pUCoupledFoam/UEqn.H b/applications/solvers/coupled/pUCoupledFoam/UEqn.H
index e1535831e..44908799c 100644
--- a/applications/solvers/coupled/pUCoupledFoam/UEqn.H
+++ b/applications/solvers/coupled/pUCoupledFoam/UEqn.H
@@ -2,14 +2,25 @@
// Momentum equation
fvVectorMatrix UEqn
(
- fvm::div(phi, U)
+ fvm::ddt(U)
+ + fvm::div(phi, U)
+ turbulence->divDevReff()
);
rAU = 1.0/UEqn.A();
+ if (gMin(rAU) < 0)
+ {
+ WarningIn(args.executable())
+ << "Negative rAU detected. Check mesh and discretisation"
+ << endl;
+ }
+
// Under-relax momentum. Note this will destroy the H and A
UEqn.relax();
+ // Insert momentum equation
UpEqn.insertEquation(0, UEqn);
+
+# include "addBlockCoupledBC.H"
}
diff --git a/applications/solvers/coupled/pUCoupledFoam/addBlockCoupledBC.H b/applications/solvers/coupled/pUCoupledFoam/addBlockCoupledBC.H
new file mode 100644
index 000000000..b80aeb90e
--- /dev/null
+++ b/applications/solvers/coupled/pUCoupledFoam/addBlockCoupledBC.H
@@ -0,0 +1,56 @@
+ // Hack block-coupled boundary conditions: due for rewrite
+ const volScalarField nuEff = turbulence->nuEff();
+
+ forAll (U.boundaryField(), patchI)
+ {
+ if (U.boundaryField()[patchI].blockCoupled())
+ {
+ // Insert correcting fully implicit coupling coefficient
+
+ const labelList fc = mesh.boundary()[patchI].faceCells();
+
+ const fvPatchVectorField& Up = U.boundaryField()[patchI];
+
+ // Warning: hacked for nuEff in viscosity
+ const scalarField nutpMagSf =
+ nuEff.boundaryField()[patchI]*
+ mesh.magSf().boundaryField()[patchI];
+
+ // Get boundary condition contribution to matrix diagonal
+ tensorField patchDiag =
+ -Up.blockGradientInternalCoeffs()().asSquare()*nutpMagSf;
+
+ // Get matrix diagonal
+ CoeffField::squareTypeField& blockDiag =
+ UpEqn.diag().asSquare();
+
+ forAll (fc, faceI)
+ {
+ blockDiag[fc[faceI]](0, 0) += patchDiag[faceI].xx();
+ blockDiag[fc[faceI]](0, 1) += patchDiag[faceI].xy();
+ blockDiag[fc[faceI]](0, 2) += patchDiag[faceI].xz();
+
+ blockDiag[fc[faceI]](1, 0) += patchDiag[faceI].yx();
+ blockDiag[fc[faceI]](1, 1) += patchDiag[faceI].yy();
+ blockDiag[fc[faceI]](1, 2) += patchDiag[faceI].yz();
+
+ blockDiag[fc[faceI]](2, 0) += patchDiag[faceI].zx();
+ blockDiag[fc[faceI]](3, 1) += patchDiag[faceI].zy();
+ blockDiag[fc[faceI]](3, 2) += patchDiag[faceI].zz();
+ }
+
+ // Get boundary condition contribution to matrix source
+ vectorField patchSource =
+ -Up.blockGradientBoundaryCoeffs()*nutpMagSf;
+
+ // Get matrix source
+ Field& blockSource = UpEqn.source();
+
+ forAll (fc, faceI)
+ {
+ blockSource[fc[faceI]](0) -= patchSource[faceI](0);
+ blockSource[fc[faceI]](1) -= patchSource[faceI](1);
+ blockSource[fc[faceI]](2) -= patchSource[faceI](2);
+ }
+ }
+ }
diff --git a/applications/solvers/coupled/pUCoupledFoam/pUCoupledFoam.C b/applications/solvers/coupled/pUCoupledFoam/pUCoupledFoam.C
index 8614686f1..98dd05308 100644
--- a/applications/solvers/coupled/pUCoupledFoam/pUCoupledFoam.C
+++ b/applications/solvers/coupled/pUCoupledFoam/pUCoupledFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/coupled/transientDyMFoam/CMakeLists.txt b/applications/solvers/coupled/transientDyMFoam/CMakeLists.txt
new file mode 100644
index 000000000..1593c7ea2
--- /dev/null
+++ b/applications/solvers/coupled/transientDyMFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ MRFPorousFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(MRFPorousFoam
+ DEPENDS incompressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/coupled/transientDyMFoam/Make/files b/applications/solvers/coupled/transientDyMFoam/Make/files
new file mode 100644
index 000000000..a5089d091
--- /dev/null
+++ b/applications/solvers/coupled/transientDyMFoam/Make/files
@@ -0,0 +1,3 @@
+transientDyMFoam.C
+
+EXE = $(FOAM_APPBIN)/transientDyMFoam
diff --git a/applications/solvers/coupled/transientDyMFoam/Make/options b/applications/solvers/coupled/transientDyMFoam/Make/options
new file mode 100644
index 000000000..7b3201e92
--- /dev/null
+++ b/applications/solvers/coupled/transientDyMFoam/Make/options
@@ -0,0 +1,20 @@
+EXE_INC = \
+ -I$(LIB_SRC)/dynamicMesh/dynamicFvMesh/lnInclude \
+ -I$(LIB_SRC)/dynamicMesh/dynamicMesh/lnInclude \
+ -I$(LIB_SRC)/meshTools/lnInclude \
+ -I$(LIB_SRC)/turbulenceModels/incompressible/turbulenceModel \
+ -I$(LIB_SRC)/transportModels \
+ -I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel \
+ -I$(LIB_SRC)/finiteVolume/lnInclude
+
+EXE_LIBS = \
+ -ldynamicFvMesh \
+ -ltopoChangerFvMesh \
+ -ldynamicMesh \
+ -lmeshTools \
+ -lincompressibleTransportModels \
+ -lincompressibleTurbulenceModel \
+ -lincompressibleRASModels \
+ -lincompressibleLESModels \
+ -lfiniteVolume \
+ -llduSolvers
diff --git a/applications/solvers/coupled/transientDyMFoam/UEqn.H b/applications/solvers/coupled/transientDyMFoam/UEqn.H
new file mode 100644
index 000000000..68a917237
--- /dev/null
+++ b/applications/solvers/coupled/transientDyMFoam/UEqn.H
@@ -0,0 +1,19 @@
+{
+ // Momentum equation
+ fvVectorMatrix UEqn
+ (
+ fvm::ddt(U)
+ + fvm::div(phi, U)
+ + turbulence->divDevReff()
+ );
+
+ rAU = 1.0/UEqn.A();
+
+ // Under-relax momentum. Note this will destroy the H and A
+ UEqn.relax();
+
+ // Insert momentum equation
+ UpEqn.insertEquation(0, UEqn);
+
+# include "addBlockCoupledBC.H"
+}
diff --git a/applications/solvers/coupled/transientDyMFoam/addBlockCoupledBC.H b/applications/solvers/coupled/transientDyMFoam/addBlockCoupledBC.H
new file mode 100644
index 000000000..b80aeb90e
--- /dev/null
+++ b/applications/solvers/coupled/transientDyMFoam/addBlockCoupledBC.H
@@ -0,0 +1,56 @@
+ // Hack block-coupled boundary conditions: due for rewrite
+ const volScalarField nuEff = turbulence->nuEff();
+
+ forAll (U.boundaryField(), patchI)
+ {
+ if (U.boundaryField()[patchI].blockCoupled())
+ {
+ // Insert correcting fully implicit coupling coefficient
+
+ const labelList fc = mesh.boundary()[patchI].faceCells();
+
+ const fvPatchVectorField& Up = U.boundaryField()[patchI];
+
+ // Warning: hacked for nuEff in viscosity
+ const scalarField nutpMagSf =
+ nuEff.boundaryField()[patchI]*
+ mesh.magSf().boundaryField()[patchI];
+
+ // Get boundary condition contribution to matrix diagonal
+ tensorField patchDiag =
+ -Up.blockGradientInternalCoeffs()().asSquare()*nutpMagSf;
+
+ // Get matrix diagonal
+ CoeffField::squareTypeField& blockDiag =
+ UpEqn.diag().asSquare();
+
+ forAll (fc, faceI)
+ {
+ blockDiag[fc[faceI]](0, 0) += patchDiag[faceI].xx();
+ blockDiag[fc[faceI]](0, 1) += patchDiag[faceI].xy();
+ blockDiag[fc[faceI]](0, 2) += patchDiag[faceI].xz();
+
+ blockDiag[fc[faceI]](1, 0) += patchDiag[faceI].yx();
+ blockDiag[fc[faceI]](1, 1) += patchDiag[faceI].yy();
+ blockDiag[fc[faceI]](1, 2) += patchDiag[faceI].yz();
+
+ blockDiag[fc[faceI]](2, 0) += patchDiag[faceI].zx();
+ blockDiag[fc[faceI]](3, 1) += patchDiag[faceI].zy();
+ blockDiag[fc[faceI]](3, 2) += patchDiag[faceI].zz();
+ }
+
+ // Get boundary condition contribution to matrix source
+ vectorField patchSource =
+ -Up.blockGradientBoundaryCoeffs()*nutpMagSf;
+
+ // Get matrix source
+ Field& blockSource = UpEqn.source();
+
+ forAll (fc, faceI)
+ {
+ blockSource[fc[faceI]](0) -= patchSource[faceI](0);
+ blockSource[fc[faceI]](1) -= patchSource[faceI](1);
+ blockSource[fc[faceI]](2) -= patchSource[faceI](2);
+ }
+ }
+ }
diff --git a/applications/solvers/coupled/transientDyMFoam/boundPU.H b/applications/solvers/coupled/transientDyMFoam/boundPU.H
new file mode 100644
index 000000000..eca655e8c
--- /dev/null
+++ b/applications/solvers/coupled/transientDyMFoam/boundPU.H
@@ -0,0 +1,32 @@
+{
+ // Bound the pressure
+ dimensionedScalar p1 = min(p);
+ dimensionedScalar p2 = max(p);
+
+ if (p1 < pMin || p2 > pMax)
+ {
+ Info<< "p: " << p1.value() << " " << p2.value()
+ << ". Bounding." << endl;
+
+ p.max(pMin);
+ p.min(pMax);
+ p.correctBoundaryConditions();
+ }
+
+ // Bound the velocity
+ volScalarField magU = mag(U);
+ dimensionedScalar U1 = max(magU);
+
+ if (U1 > UMax)
+ {
+ Info<< "U: " << U1.value() << ". Bounding." << endl;
+
+ volScalarField Ulimiter = pos(magU - UMax)*UMax/(magU + smallU)
+ + neg(magU - UMax);
+ Ulimiter.max(scalar(0));
+ Ulimiter.min(scalar(1));
+
+ U *= Ulimiter;
+ U.correctBoundaryConditions();
+ }
+}
diff --git a/applications/solvers/coupled/transientDyMFoam/convergenceCheck.H b/applications/solvers/coupled/transientDyMFoam/convergenceCheck.H
new file mode 100644
index 000000000..e49880fe7
--- /dev/null
+++ b/applications/solvers/coupled/transientDyMFoam/convergenceCheck.H
@@ -0,0 +1,9 @@
+// Check convergence
+if (maxResidual < convergenceCriterion)
+{
+ Info<< "reached convergence criterion: " << convergenceCriterion << endl;
+
+ // Move to the next time-step
+ break;
+}
+
diff --git a/applications/solvers/coupled/transientDyMFoam/correctPhi.H b/applications/solvers/coupled/transientDyMFoam/correctPhi.H
new file mode 100644
index 000000000..58573813e
--- /dev/null
+++ b/applications/solvers/coupled/transientDyMFoam/correctPhi.H
@@ -0,0 +1,33 @@
+{
+ volScalarField pcorr("pcorr", p);
+ pcorr *= 0;
+
+ // Initialise flux with interpolated velocity
+ phi = fvc::interpolate(U) & mesh.Sf();
+
+ adjustPhi(phi, U, pcorr);
+
+ mesh.schemesDict().setFluxRequired(pcorr.name());
+
+ // while (pimple.correctNonOrthogonal())
+ {
+ fvScalarMatrix pcorrEqn
+ (
+ fvm::laplacian(rAU, pcorr) == fvc::div(phi)
+ );
+
+ pcorrEqn.setReference(pRefCell, pRefValue);
+ pcorrEqn.solve();
+
+ // if (pimple.finalNonOrthogonalIter())
+ {
+ phi -= pcorrEqn.flux();
+ }
+
+ // Fluxes are corrected to absolute velocity and further corrected
+ // later. HJ, 6/Feb/2009
+ }
+
+# include "continuityErrs.H"
+}
+
diff --git a/applications/solvers/coupled/transientDyMFoam/couplingTerms.H b/applications/solvers/coupled/transientDyMFoam/couplingTerms.H
new file mode 100644
index 000000000..9aa6f9510
--- /dev/null
+++ b/applications/solvers/coupled/transientDyMFoam/couplingTerms.H
@@ -0,0 +1,15 @@
+{
+ // Calculate grad p coupling matrix. Needs to be here if one uses
+ // gradient schemes with limiters. VV, 9/June/2014
+ BlockLduSystem pInU(fvm::grad(p));
+
+ // Calculate div U coupling. Could be calculated only once since
+ // it is only geometry dependent. VV, 9/June/2014
+ BlockLduSystem UInp(fvm::UDiv(U));
+
+ // Last argument in insertBlockCoupling says if the column direction
+ // should be incremented. This is needed for arbitrary positioning
+ // of U and p in the system. This could be better. VV, 30/April/2014
+ UpEqn.insertBlockCoupling(0, 3, pInU, true);
+ UpEqn.insertBlockCoupling(3, 0, UInp, false);
+}
diff --git a/applications/solvers/coupled/transientDyMFoam/createControls.H b/applications/solvers/coupled/transientDyMFoam/createControls.H
new file mode 100644
index 000000000..bff565cce
--- /dev/null
+++ b/applications/solvers/coupled/transientDyMFoam/createControls.H
@@ -0,0 +1,10 @@
+# include "createTimeControls.H"
+
+ Switch correctPhi(false);
+ Switch checkMeshCourantNo(false);
+
+ // Number of outer correctors
+ label nOuterCorrectors = 1;
+
+ label pRefCell = 0;
+ scalar pRefValue = 0;
diff --git a/applications/solvers/coupled/transientDyMFoam/createFields.H b/applications/solvers/coupled/transientDyMFoam/createFields.H
new file mode 100644
index 000000000..0c4fe2b44
--- /dev/null
+++ b/applications/solvers/coupled/transientDyMFoam/createFields.H
@@ -0,0 +1,70 @@
+ Info << "Reading field p\n" << endl;
+ volScalarField p
+ (
+ IOobject
+ (
+ "p",
+ runTime.timeName(),
+ mesh,
+ IOobject::MUST_READ,
+ IOobject::AUTO_WRITE
+ ),
+ mesh
+ );
+
+ Info << "Reading field U\n" << endl;
+ volVectorField U
+ (
+ IOobject
+ (
+ "U",
+ runTime.timeName(),
+ mesh,
+ IOobject::MUST_READ,
+ IOobject::AUTO_WRITE
+ ),
+ mesh
+ );
+
+# include "createPhi.H"
+
+ singlePhaseTransportModel laminarTransport(U, phi);
+
+ autoPtr turbulence
+ (
+ incompressible::turbulenceModel::New(U, phi, laminarTransport)
+ );
+
+ // Block vector field for velocity (first entry) and pressure (second
+ // entry).
+ Info << "Creating field Up\n" << endl;
+ volVector4Field Up
+ (
+ IOobject
+ (
+ "Up",
+ runTime.timeName(),
+ mesh,
+ IOobject::NO_READ,
+ IOobject::NO_WRITE
+ ),
+ mesh,
+ dimensionedVector4("zero", dimless, vector4::zero)
+ );
+
+ Info<< "Creating field rAU\n" << endl;
+ volScalarField rAU
+ (
+ IOobject
+ (
+ "rAU",
+ runTime.timeName(),
+ mesh,
+ IOobject::NO_READ,
+ IOobject::NO_WRITE
+ ),
+ mesh,
+ runTime.deltaT()
+ );
+
+ mesh.schemesDict().setFluxRequired(p.name());
diff --git a/applications/solvers/coupled/transientDyMFoam/initConvergenceCheck.H b/applications/solvers/coupled/transientDyMFoam/initConvergenceCheck.H
new file mode 100644
index 000000000..6b4622db6
--- /dev/null
+++ b/applications/solvers/coupled/transientDyMFoam/initConvergenceCheck.H
@@ -0,0 +1,5 @@
+ // initialize values for convergence checks
+ BlockSolverPerformance residual;
+
+ scalar maxResidual = 0;
+ scalar convergenceCriterion = 0;
diff --git a/applications/solvers/coupled/transientDyMFoam/pEqn.H b/applications/solvers/coupled/transientDyMFoam/pEqn.H
new file mode 100644
index 000000000..b38548b8e
--- /dev/null
+++ b/applications/solvers/coupled/transientDyMFoam/pEqn.H
@@ -0,0 +1,18 @@
+ // Pressure parts of the continuity equation
+ surfaceScalarField presSource
+ (
+ "presSource",
+ fvc::interpolate(rAU)*
+ (fvc::interpolate(fvc::grad(p)) & mesh.Sf())
+ );
+
+ fvScalarMatrix pEqn
+ (
+ - fvm::laplacian(rAU, p)
+ ==
+ - fvc::div(presSource)
+ );
+
+ pEqn.setReference(pRefCell, pRefValue);
+
+ UpEqn.insertEquation(3, pEqn);
diff --git a/applications/solvers/coupled/transientDyMFoam/readBlockSolverControls.H b/applications/solvers/coupled/transientDyMFoam/readBlockSolverControls.H
new file mode 100644
index 000000000..145c4061c
--- /dev/null
+++ b/applications/solvers/coupled/transientDyMFoam/readBlockSolverControls.H
@@ -0,0 +1,29 @@
+{
+ dictionary blockSolverDict = mesh.solutionDict().subDict("blockSolver");
+
+ setRefCell
+ (
+ p,
+ blockSolverDict,
+ pRefCell,
+ pRefValue
+ );
+
+ blockSolverDict.readIfPresent
+ (
+ "nOuterCorrectors",
+ nOuterCorrectors
+ );
+
+ blockSolverDict.readIfPresent
+ (
+ "correctPhi",
+ correctPhi
+ );
+
+ blockSolverDict.readIfPresent
+ (
+ "checkMeshCourantNo",
+ checkMeshCourantNo
+ );
+}
diff --git a/applications/solvers/coupled/transientDyMFoam/readFieldBounds.H b/applications/solvers/coupled/transientDyMFoam/readFieldBounds.H
new file mode 100644
index 000000000..4a6c6f787
--- /dev/null
+++ b/applications/solvers/coupled/transientDyMFoam/readFieldBounds.H
@@ -0,0 +1,14 @@
+ // Read field bounds
+ dictionary fieldBounds = mesh.solutionDict().subDict("fieldBounds");
+
+ // Pressure bounds
+ dimensionedScalar pMin("pMin", p.dimensions(), 0);
+ dimensionedScalar pMax("pMax", p.dimensions(), 0);
+
+ fieldBounds.lookup(p.name()) >> pMin.value() >> pMax.value();
+
+ // Velocity bound
+ dimensionedScalar UMax("UMax", U.dimensions(), 0);
+
+ fieldBounds.lookup(U.name()) >> UMax.value();
+ dimensionedScalar smallU("smallU", dimVelocity, 1e-10);
diff --git a/applications/solvers/coupled/transientDyMFoam/transientDyMFoam.C b/applications/solvers/coupled/transientDyMFoam/transientDyMFoam.C
new file mode 100644
index 000000000..9ba963c8a
--- /dev/null
+++ b/applications/solvers/coupled/transientDyMFoam/transientDyMFoam.C
@@ -0,0 +1,153 @@
+/*---------------------------------------------------------------------------*\
+ ========= |
+ \\ / F ield | foam-extend: Open Source CFD
+ \\ / O peration | Version: 4.1
+ \\ / A nd | Web: http://www.foam-extend.org
+ \\/ M anipulation | For copyright notice see file Copyright
+-------------------------------------------------------------------------------
+License
+ This file is part of foam-extend.
+
+ foam-extend 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.
+
+ foam-extend 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 foam-extend. If not, see .
+
+Application
+ transientDyMFoam
+
+Description
+ Transient solver for incompressible, turbulent flow, with implicit
+ coupling between pressure and velocity achieved by fvBlockMatrix.
+
+ Turbulence is solved using the existing turbulence model structure.
+
+ The solver supports dynamic mesh changes
+
+Authors
+ Hrvoje Jasak, Wikki Ltd.
+
+\*---------------------------------------------------------------------------*/
+
+#include "fvCFD.H"
+#include "fvBlockMatrix.H"
+#include "singlePhaseTransportModel.H"
+#include "turbulenceModel.H"
+#include "dynamicFvMesh.H"
+
+// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
+
+int main(int argc, char *argv[])
+{
+# include "setRootCase.H"
+# include "createTime.H"
+# include "createDynamicFvMesh.H"
+# include "createFields.H"
+# include "initContinuityErrs.H"
+# include "initConvergenceCheck.H"
+# include "createControls.H"
+
+ Info<< "\nStarting time loop\n" << endl;
+ while (runTime.run())
+ {
+# include "readBlockSolverControls.H"
+# include "readFieldBounds.H"
+# include "CourantNo.H"
+# include "setDeltaT.H"
+
+ // Make the fluxes absolute
+ fvc::makeAbsolute(phi, U);
+
+ runTime++;
+
+ Info<< "Time = " << runTime.timeName() << nl << endl;
+
+ bool meshChanged = mesh.update();
+ reduce(meshChanged, orOp());
+
+# include "volContinuity.H"
+
+ if (correctPhi && meshChanged)
+ {
+ // Fluxes will be corrected to absolute velocity
+ // HJ, 6/Feb/2009
+# include "correctPhi.H"
+ }
+
+ // Make the fluxes relative to the mesh motion
+ fvc::makeRelative(phi, U);
+
+ if (mesh.moving() && checkMeshCourantNo)
+ {
+# include "meshCourantNo.H"
+ }
+
+ if (meshChanged)
+ {
+# include "CourantNo.H"
+ }
+
+ for (label i = 0; i < nOuterCorrectors; i++)
+ {
+ p.storePrevIter();
+
+ // Initialize the Up block system
+ fvBlockMatrix UpEqn(Up);
+
+ // Assemble and insert momentum equation
+# include "UEqn.H"
+
+ // Assemble and insert pressure equation
+# include "pEqn.H"
+
+ // Assemble and insert coupling terms
+# include "couplingTerms.H"
+
+ // Solve the block matrix
+ residual = UpEqn.solve();
+ maxResidual = cmptMax(residual.initialResidual());
+
+ // Retrieve solution
+ UpEqn.retrieveSolution(0, U.internalField());
+ UpEqn.retrieveSolution(3, p.internalField());
+
+ U.correctBoundaryConditions();
+ p.correctBoundaryConditions();
+
+ phi = (fvc::interpolate(U) & mesh.Sf())
+ + pEqn.flux()
+ + presSource;
+
+ // Make the fluxes relative to the mesh motion
+ fvc::makeRelative(phi, U);
+
+# include "movingMeshContinuityErrs.H"
+
+# include "boundPU.H"
+
+ p.relax();
+
+ turbulence->correct();
+ }
+
+ runTime.write();
+
+ Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s"
+ << " ClockTime = " << runTime.elapsedClockTime() << " s"
+ << nl << endl;
+
+# include "convergenceCheck.H"
+ }
+
+ Info<< "End\n" << endl;
+
+ return 0;
+}
diff --git a/applications/solvers/coupled/transientFoam/CMakeLists.txt b/applications/solvers/coupled/transientFoam/CMakeLists.txt
new file mode 100644
index 000000000..1593c7ea2
--- /dev/null
+++ b/applications/solvers/coupled/transientFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ MRFPorousFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(MRFPorousFoam
+ DEPENDS incompressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/coupled/transientFoam/Make/files b/applications/solvers/coupled/transientFoam/Make/files
new file mode 100644
index 000000000..af55c51dd
--- /dev/null
+++ b/applications/solvers/coupled/transientFoam/Make/files
@@ -0,0 +1,3 @@
+transientFoam.C
+
+EXE = $(FOAM_APPBIN)/transientFoam
diff --git a/applications/solvers/coupled/transientFoam/Make/options b/applications/solvers/coupled/transientFoam/Make/options
new file mode 100644
index 000000000..ee84294bc
--- /dev/null
+++ b/applications/solvers/coupled/transientFoam/Make/options
@@ -0,0 +1,13 @@
+EXE_INC = \
+ -I$(LIB_SRC)/turbulenceModels/incompressible/turbulenceModel \
+ -I$(LIB_SRC)/transportModels \
+ -I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel \
+ -I$(LIB_SRC)/finiteVolume/lnInclude
+
+EXE_LIBS = \
+ -lincompressibleTransportModels \
+ -lincompressibleTurbulenceModel \
+ -lincompressibleRASModels \
+ -lincompressibleLESModels \
+ -lfiniteVolume \
+ -llduSolvers
diff --git a/applications/solvers/coupled/transientFoam/UEqn.H b/applications/solvers/coupled/transientFoam/UEqn.H
new file mode 100644
index 000000000..68a917237
--- /dev/null
+++ b/applications/solvers/coupled/transientFoam/UEqn.H
@@ -0,0 +1,19 @@
+{
+ // Momentum equation
+ fvVectorMatrix UEqn
+ (
+ fvm::ddt(U)
+ + fvm::div(phi, U)
+ + turbulence->divDevReff()
+ );
+
+ rAU = 1.0/UEqn.A();
+
+ // Under-relax momentum. Note this will destroy the H and A
+ UEqn.relax();
+
+ // Insert momentum equation
+ UpEqn.insertEquation(0, UEqn);
+
+# include "addBlockCoupledBC.H"
+}
diff --git a/applications/solvers/coupled/transientFoam/addBlockCoupledBC.H b/applications/solvers/coupled/transientFoam/addBlockCoupledBC.H
new file mode 100644
index 000000000..b80aeb90e
--- /dev/null
+++ b/applications/solvers/coupled/transientFoam/addBlockCoupledBC.H
@@ -0,0 +1,56 @@
+ // Hack block-coupled boundary conditions: due for rewrite
+ const volScalarField nuEff = turbulence->nuEff();
+
+ forAll (U.boundaryField(), patchI)
+ {
+ if (U.boundaryField()[patchI].blockCoupled())
+ {
+ // Insert correcting fully implicit coupling coefficient
+
+ const labelList fc = mesh.boundary()[patchI].faceCells();
+
+ const fvPatchVectorField& Up = U.boundaryField()[patchI];
+
+ // Warning: hacked for nuEff in viscosity
+ const scalarField nutpMagSf =
+ nuEff.boundaryField()[patchI]*
+ mesh.magSf().boundaryField()[patchI];
+
+ // Get boundary condition contribution to matrix diagonal
+ tensorField patchDiag =
+ -Up.blockGradientInternalCoeffs()().asSquare()*nutpMagSf;
+
+ // Get matrix diagonal
+ CoeffField::squareTypeField& blockDiag =
+ UpEqn.diag().asSquare();
+
+ forAll (fc, faceI)
+ {
+ blockDiag[fc[faceI]](0, 0) += patchDiag[faceI].xx();
+ blockDiag[fc[faceI]](0, 1) += patchDiag[faceI].xy();
+ blockDiag[fc[faceI]](0, 2) += patchDiag[faceI].xz();
+
+ blockDiag[fc[faceI]](1, 0) += patchDiag[faceI].yx();
+ blockDiag[fc[faceI]](1, 1) += patchDiag[faceI].yy();
+ blockDiag[fc[faceI]](1, 2) += patchDiag[faceI].yz();
+
+ blockDiag[fc[faceI]](2, 0) += patchDiag[faceI].zx();
+ blockDiag[fc[faceI]](3, 1) += patchDiag[faceI].zy();
+ blockDiag[fc[faceI]](3, 2) += patchDiag[faceI].zz();
+ }
+
+ // Get boundary condition contribution to matrix source
+ vectorField patchSource =
+ -Up.blockGradientBoundaryCoeffs()*nutpMagSf;
+
+ // Get matrix source
+ Field& blockSource = UpEqn.source();
+
+ forAll (fc, faceI)
+ {
+ blockSource[fc[faceI]](0) -= patchSource[faceI](0);
+ blockSource[fc[faceI]](1) -= patchSource[faceI](1);
+ blockSource[fc[faceI]](2) -= patchSource[faceI](2);
+ }
+ }
+ }
diff --git a/applications/solvers/coupled/transientFoam/boundPU.H b/applications/solvers/coupled/transientFoam/boundPU.H
new file mode 100644
index 000000000..eca655e8c
--- /dev/null
+++ b/applications/solvers/coupled/transientFoam/boundPU.H
@@ -0,0 +1,32 @@
+{
+ // Bound the pressure
+ dimensionedScalar p1 = min(p);
+ dimensionedScalar p2 = max(p);
+
+ if (p1 < pMin || p2 > pMax)
+ {
+ Info<< "p: " << p1.value() << " " << p2.value()
+ << ". Bounding." << endl;
+
+ p.max(pMin);
+ p.min(pMax);
+ p.correctBoundaryConditions();
+ }
+
+ // Bound the velocity
+ volScalarField magU = mag(U);
+ dimensionedScalar U1 = max(magU);
+
+ if (U1 > UMax)
+ {
+ Info<< "U: " << U1.value() << ". Bounding." << endl;
+
+ volScalarField Ulimiter = pos(magU - UMax)*UMax/(magU + smallU)
+ + neg(magU - UMax);
+ Ulimiter.max(scalar(0));
+ Ulimiter.min(scalar(1));
+
+ U *= Ulimiter;
+ U.correctBoundaryConditions();
+ }
+}
diff --git a/applications/solvers/coupled/transientFoam/convergenceCheck.H b/applications/solvers/coupled/transientFoam/convergenceCheck.H
new file mode 100644
index 000000000..e49880fe7
--- /dev/null
+++ b/applications/solvers/coupled/transientFoam/convergenceCheck.H
@@ -0,0 +1,9 @@
+// Check convergence
+if (maxResidual < convergenceCriterion)
+{
+ Info<< "reached convergence criterion: " << convergenceCriterion << endl;
+
+ // Move to the next time-step
+ break;
+}
+
diff --git a/applications/solvers/coupled/transientFoam/couplingTerms.H b/applications/solvers/coupled/transientFoam/couplingTerms.H
new file mode 100644
index 000000000..9aa6f9510
--- /dev/null
+++ b/applications/solvers/coupled/transientFoam/couplingTerms.H
@@ -0,0 +1,15 @@
+{
+ // Calculate grad p coupling matrix. Needs to be here if one uses
+ // gradient schemes with limiters. VV, 9/June/2014
+ BlockLduSystem pInU(fvm::grad(p));
+
+ // Calculate div U coupling. Could be calculated only once since
+ // it is only geometry dependent. VV, 9/June/2014
+ BlockLduSystem UInp(fvm::UDiv(U));
+
+ // Last argument in insertBlockCoupling says if the column direction
+ // should be incremented. This is needed for arbitrary positioning
+ // of U and p in the system. This could be better. VV, 30/April/2014
+ UpEqn.insertBlockCoupling(0, 3, pInU, true);
+ UpEqn.insertBlockCoupling(3, 0, UInp, false);
+}
diff --git a/applications/solvers/coupled/transientFoam/createFields.H b/applications/solvers/coupled/transientFoam/createFields.H
new file mode 100644
index 000000000..0c4fe2b44
--- /dev/null
+++ b/applications/solvers/coupled/transientFoam/createFields.H
@@ -0,0 +1,70 @@
+ Info << "Reading field p\n" << endl;
+ volScalarField p
+ (
+ IOobject
+ (
+ "p",
+ runTime.timeName(),
+ mesh,
+ IOobject::MUST_READ,
+ IOobject::AUTO_WRITE
+ ),
+ mesh
+ );
+
+ Info << "Reading field U\n" << endl;
+ volVectorField U
+ (
+ IOobject
+ (
+ "U",
+ runTime.timeName(),
+ mesh,
+ IOobject::MUST_READ,
+ IOobject::AUTO_WRITE
+ ),
+ mesh
+ );
+
+# include "createPhi.H"
+
+ singlePhaseTransportModel laminarTransport(U, phi);
+
+ autoPtr turbulence
+ (
+ incompressible::turbulenceModel::New(U, phi, laminarTransport)
+ );
+
+ // Block vector field for velocity (first entry) and pressure (second
+ // entry).
+ Info << "Creating field Up\n" << endl;
+ volVector4Field Up
+ (
+ IOobject
+ (
+ "Up",
+ runTime.timeName(),
+ mesh,
+ IOobject::NO_READ,
+ IOobject::NO_WRITE
+ ),
+ mesh,
+ dimensionedVector4("zero", dimless, vector4::zero)
+ );
+
+ Info<< "Creating field rAU\n" << endl;
+ volScalarField rAU
+ (
+ IOobject
+ (
+ "rAU",
+ runTime.timeName(),
+ mesh,
+ IOobject::NO_READ,
+ IOobject::NO_WRITE
+ ),
+ mesh,
+ runTime.deltaT()
+ );
+
+ mesh.schemesDict().setFluxRequired(p.name());
diff --git a/applications/solvers/coupled/transientFoam/initConvergenceCheck.H b/applications/solvers/coupled/transientFoam/initConvergenceCheck.H
new file mode 100644
index 000000000..6b4622db6
--- /dev/null
+++ b/applications/solvers/coupled/transientFoam/initConvergenceCheck.H
@@ -0,0 +1,5 @@
+ // initialize values for convergence checks
+ BlockSolverPerformance residual;
+
+ scalar maxResidual = 0;
+ scalar convergenceCriterion = 0;
diff --git a/applications/solvers/coupled/transientFoam/pEqn.H b/applications/solvers/coupled/transientFoam/pEqn.H
new file mode 100644
index 000000000..b38548b8e
--- /dev/null
+++ b/applications/solvers/coupled/transientFoam/pEqn.H
@@ -0,0 +1,18 @@
+ // Pressure parts of the continuity equation
+ surfaceScalarField presSource
+ (
+ "presSource",
+ fvc::interpolate(rAU)*
+ (fvc::interpolate(fvc::grad(p)) & mesh.Sf())
+ );
+
+ fvScalarMatrix pEqn
+ (
+ - fvm::laplacian(rAU, p)
+ ==
+ - fvc::div(presSource)
+ );
+
+ pEqn.setReference(pRefCell, pRefValue);
+
+ UpEqn.insertEquation(3, pEqn);
diff --git a/applications/solvers/coupled/transientFoam/readBlockSolverControls.H b/applications/solvers/coupled/transientFoam/readBlockSolverControls.H
new file mode 100644
index 000000000..c8cda55ab
--- /dev/null
+++ b/applications/solvers/coupled/transientFoam/readBlockSolverControls.H
@@ -0,0 +1,34 @@
+ label pRefCell = 0;
+ scalar pRefValue = 0;
+
+ // Number of outer correctors
+ const label nOuterCorrectors = readLabel
+ (
+ mesh.solutionDict().subDict("blockSolver").lookup("nOuterCorrectors")
+ );
+
+ setRefCell
+ (
+ p,
+ mesh.solutionDict().subDict("blockSolver"),
+ pRefCell,
+ pRefValue
+ );
+
+ mesh.solutionDict().subDict("blockSolver").readIfPresent
+ (
+ "convergence",
+ convergenceCriterion
+ );
+
+ mesh.solutionDict().subDict("blockSolver").readIfPresent
+ (
+ "convergence",
+ convergenceCriterion
+ );
+
+ mesh.solutionDict().subDict("blockSolver").readIfPresent
+ (
+ "convergence",
+ convergenceCriterion
+ );
diff --git a/applications/solvers/coupled/transientFoam/readFieldBounds.H b/applications/solvers/coupled/transientFoam/readFieldBounds.H
new file mode 100644
index 000000000..4a6c6f787
--- /dev/null
+++ b/applications/solvers/coupled/transientFoam/readFieldBounds.H
@@ -0,0 +1,14 @@
+ // Read field bounds
+ dictionary fieldBounds = mesh.solutionDict().subDict("fieldBounds");
+
+ // Pressure bounds
+ dimensionedScalar pMin("pMin", p.dimensions(), 0);
+ dimensionedScalar pMax("pMax", p.dimensions(), 0);
+
+ fieldBounds.lookup(p.name()) >> pMin.value() >> pMax.value();
+
+ // Velocity bound
+ dimensionedScalar UMax("UMax", U.dimensions(), 0);
+
+ fieldBounds.lookup(U.name()) >> UMax.value();
+ dimensionedScalar smallU("smallU", dimVelocity, 1e-10);
diff --git a/applications/solvers/coupled/transientFoam/transientFoam.C b/applications/solvers/coupled/transientFoam/transientFoam.C
new file mode 100644
index 000000000..012e1d57f
--- /dev/null
+++ b/applications/solvers/coupled/transientFoam/transientFoam.C
@@ -0,0 +1,121 @@
+/*---------------------------------------------------------------------------*\
+ ========= |
+ \\ / F ield | foam-extend: Open Source CFD
+ \\ / O peration | Version: 4.1
+ \\ / A nd | Web: http://www.foam-extend.org
+ \\/ M anipulation | For copyright notice see file Copyright
+-------------------------------------------------------------------------------
+License
+ This file is part of foam-extend.
+
+ foam-extend 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.
+
+ foam-extend 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 foam-extend. If not, see .
+
+Application
+ transientFoam
+
+Description
+ Transient solver for incompressible, turbulent flow, with implicit
+ coupling between pressure and velocity achieved by fvBlockMatrix.
+ Turbulence is in this version solved using the existing turbulence
+ structure.
+
+Authors
+ Hrvoje Jasak, Wikki Ltd.
+
+\*---------------------------------------------------------------------------*/
+
+#include "fvCFD.H"
+#include "fvBlockMatrix.H"
+#include "singlePhaseTransportModel.H"
+#include "turbulenceModel.H"
+
+// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
+
+int main(int argc, char *argv[])
+{
+# include "setRootCase.H"
+# include "createTime.H"
+# include "createMesh.H"
+# include "createFields.H"
+# include "initContinuityErrs.H"
+# include "initConvergenceCheck.H"
+# include "createTimeControls.H"
+
+ Info<< "\nStarting time loop\n" << endl;
+ while (runTime.run())
+ {
+# include "readBlockSolverControls.H"
+# include "readFieldBounds.H"
+
+# include "CourantNo.H"
+# include "setDeltaT.H"
+
+ runTime++;
+
+ Info<< "Time = " << runTime.timeName() << nl << endl;
+
+ for (label i = 0; i < nOuterCorrectors; i++)
+ {
+ p.storePrevIter();
+
+ // Initialize the Up block system
+ fvBlockMatrix UpEqn(Up);
+
+ // Assemble and insert momentum equation
+# include "UEqn.H"
+
+ // Assemble and insert pressure equation
+# include "pEqn.H"
+
+ // Assemble and insert coupling terms
+# include "couplingTerms.H"
+
+ // Solve the block matrix
+ residual = UpEqn.solve();
+ maxResidual = cmptMax(residual.initialResidual());
+
+ // Retrieve solution
+ UpEqn.retrieveSolution(0, U.internalField());
+ UpEqn.retrieveSolution(3, p.internalField());
+
+ U.correctBoundaryConditions();
+ p.correctBoundaryConditions();
+
+ phi = (fvc::interpolate(U) & mesh.Sf())
+ + pEqn.flux()
+ + presSource;
+
+
+# include "continuityErrs.H"
+
+# include "boundPU.H"
+
+ p.relax();
+
+ turbulence->correct();
+ }
+
+ runTime.write();
+
+ Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s"
+ << " ClockTime = " << runTime.elapsedClockTime() << " s"
+ << nl << endl;
+
+# include "convergenceCheck.H"
+ }
+
+ Info<< "End\n" << endl;
+
+ return 0;
+}
diff --git a/applications/solvers/discreteMethods/CMakeLists.txt b/applications/solvers/discreteMethods/CMakeLists.txt
new file mode 100644
index 000000000..65543415f
--- /dev/null
+++ b/applications/solvers/discreteMethods/CMakeLists.txt
@@ -0,0 +1,34 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(molecularDynamics)
+add_subdirectory(dsmc)
\ No newline at end of file
diff --git a/applications/solvers/discreteMethods/dsmc/CMakeLists.txt b/applications/solvers/discreteMethods/dsmc/CMakeLists.txt
new file mode 100644
index 000000000..7bdf53dc6
--- /dev/null
+++ b/applications/solvers/discreteMethods/dsmc/CMakeLists.txt
@@ -0,0 +1,33 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(dsmcFoam)
\ No newline at end of file
diff --git a/applications/solvers/discreteMethods/dsmc/dsmcFoam/CMakeLists.txt b/applications/solvers/discreteMethods/dsmc/dsmcFoam/CMakeLists.txt
new file mode 100644
index 000000000..6265481d8
--- /dev/null
+++ b/applications/solvers/discreteMethods/dsmc/dsmcFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ dsmcFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(dsmcFoam
+ DEPENDS dsmc
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/discreteMethods/dsmc/dsmcFoam/dsmcFoam.C b/applications/solvers/discreteMethods/dsmc/dsmcFoam/dsmcFoam.C
index 2001de86b..e6b6cb4f7 100644
--- a/applications/solvers/discreteMethods/dsmc/dsmcFoam/dsmcFoam.C
+++ b/applications/solvers/discreteMethods/dsmc/dsmcFoam/dsmcFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/discreteMethods/molecularDynamics/CMakeLists.txt b/applications/solvers/discreteMethods/molecularDynamics/CMakeLists.txt
new file mode 100644
index 000000000..121913e13
--- /dev/null
+++ b/applications/solvers/discreteMethods/molecularDynamics/CMakeLists.txt
@@ -0,0 +1,34 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(mdEquilibrationFoam)
+add_subdirectory(mdFoam)
\ No newline at end of file
diff --git a/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/CMakeLists.txt b/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/CMakeLists.txt
new file mode 100644
index 000000000..b8cc1b2d7
--- /dev/null
+++ b/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ mdEquilibrationFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(mdEquilibrationFoam
+ DEPENDS molecule molecularMeasurements
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/discreteMethods/molecularDynamics/mdFoam/CMakeLists.txt b/applications/solvers/discreteMethods/molecularDynamics/mdFoam/CMakeLists.txt
new file mode 100644
index 000000000..60a160774
--- /dev/null
+++ b/applications/solvers/discreteMethods/molecularDynamics/mdFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ mdFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(mdFoam
+ DEPENDS molecule molecularMeasurements
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/electromagnetics/CMakeLists.txt b/applications/solvers/electromagnetics/CMakeLists.txt
new file mode 100644
index 000000000..fb6cc4577
--- /dev/null
+++ b/applications/solvers/electromagnetics/CMakeLists.txt
@@ -0,0 +1,34 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(mhdFoam)
+add_subdirectory(electrostaticFoam)
\ No newline at end of file
diff --git a/applications/solvers/electromagnetics/electrostaticFoam/CMakeLists.txt b/applications/solvers/electromagnetics/electrostaticFoam/CMakeLists.txt
new file mode 100644
index 000000000..02a4aa2a9
--- /dev/null
+++ b/applications/solvers/electromagnetics/electrostaticFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ electrostaticFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(electrostaticFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/electromagnetics/electrostaticFoam/electrostaticFoam.C b/applications/solvers/electromagnetics/electrostaticFoam/electrostaticFoam.C
index 0b9e7f360..75d82c8ae 100644
--- a/applications/solvers/electromagnetics/electrostaticFoam/electrostaticFoam.C
+++ b/applications/solvers/electromagnetics/electrostaticFoam/electrostaticFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/electromagnetics/mhdFoam/CMakeLists.txt b/applications/solvers/electromagnetics/mhdFoam/CMakeLists.txt
new file mode 100644
index 000000000..1c59569d2
--- /dev/null
+++ b/applications/solvers/electromagnetics/mhdFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ mhdFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(mhdFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/electromagnetics/mhdFoam/mhdFoam.C b/applications/solvers/electromagnetics/mhdFoam/mhdFoam.C
index b2954f15e..38930b8ce 100644
--- a/applications/solvers/electromagnetics/mhdFoam/mhdFoam.C
+++ b/applications/solvers/electromagnetics/mhdFoam/mhdFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/engine/CMakeLists.txt b/applications/solvers/engine/CMakeLists.txt
new file mode 100644
index 000000000..7d402c4d0
--- /dev/null
+++ b/applications/solvers/engine/CMakeLists.txt
@@ -0,0 +1,35 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(icoDyMEngineFoam)
+add_subdirectory(turbDyMEngineFoam)
+add_subdirectory(sonicTurbDyMEngineFoam)
\ No newline at end of file
diff --git a/applications/solvers/engine/icoDyMEngineFoam/CMakeLists.txt b/applications/solvers/engine/icoDyMEngineFoam/CMakeLists.txt
new file mode 100644
index 000000000..1b573859b
--- /dev/null
+++ b/applications/solvers/engine/icoDyMEngineFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ icoDyMEngineFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(icoDyMEngineFoam
+ DEPENDS engine
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/engine/icoDyMEngineFoam/icoDyMEngineFoam.C b/applications/solvers/engine/icoDyMEngineFoam/icoDyMEngineFoam.C
index 8b3843b02..e3cdacebb 100644
--- a/applications/solvers/engine/icoDyMEngineFoam/icoDyMEngineFoam.C
+++ b/applications/solvers/engine/icoDyMEngineFoam/icoDyMEngineFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/engine/icoDyMEngineFoam/meshCourantNo.H b/applications/solvers/engine/icoDyMEngineFoam/meshCourantNo.H
index 75e2d4833..4442aa5ea 100644
--- a/applications/solvers/engine/icoDyMEngineFoam/meshCourantNo.H
+++ b/applications/solvers/engine/icoDyMEngineFoam/meshCourantNo.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/engine/sonicTurbDyMEngineFoam/CMakeLists.txt b/applications/solvers/engine/sonicTurbDyMEngineFoam/CMakeLists.txt
new file mode 100644
index 000000000..4fec11e94
--- /dev/null
+++ b/applications/solvers/engine/sonicTurbDyMEngineFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ sonicTurbDyMEngineFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(sonicTurbDyMEngineFoam
+ DEPENDS engine compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/engine/sonicTurbDyMEngineFoam/rhoEqn.H b/applications/solvers/engine/sonicTurbDyMEngineFoam/rhoEqn.H
index adb142236..30e659bc7 100644
--- a/applications/solvers/engine/sonicTurbDyMEngineFoam/rhoEqn.H
+++ b/applications/solvers/engine/sonicTurbDyMEngineFoam/rhoEqn.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/engine/sonicTurbDyMEngineFoam/sonicTurbDyMEngineFoam.C b/applications/solvers/engine/sonicTurbDyMEngineFoam/sonicTurbDyMEngineFoam.C
index dd8707474..2884340b0 100644
--- a/applications/solvers/engine/sonicTurbDyMEngineFoam/sonicTurbDyMEngineFoam.C
+++ b/applications/solvers/engine/sonicTurbDyMEngineFoam/sonicTurbDyMEngineFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/engine/turbDyMEngineFoam/CMakeLists.txt b/applications/solvers/engine/turbDyMEngineFoam/CMakeLists.txt
new file mode 100644
index 000000000..0c3fbe441
--- /dev/null
+++ b/applications/solvers/engine/turbDyMEngineFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ turbDyMEngineFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(turbDyMEngineFoam
+ DEPENDS engine incompressibleRASModels incompressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/engine/turbDyMEngineFoam/meshCourantNo.H b/applications/solvers/engine/turbDyMEngineFoam/meshCourantNo.H
index 75e2d4833..4442aa5ea 100644
--- a/applications/solvers/engine/turbDyMEngineFoam/meshCourantNo.H
+++ b/applications/solvers/engine/turbDyMEngineFoam/meshCourantNo.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/engine/turbDyMEngineFoam/turbDyMEngineFoam.C b/applications/solvers/engine/turbDyMEngineFoam/turbDyMEngineFoam.C
index 034b4559c..a404de4e2 100644
--- a/applications/solvers/engine/turbDyMEngineFoam/turbDyMEngineFoam.C
+++ b/applications/solvers/engine/turbDyMEngineFoam/turbDyMEngineFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/equationReaderDemo/CMakeLists.txt b/applications/solvers/equationReaderDemo/CMakeLists.txt
new file mode 100644
index 000000000..63367a6e8
--- /dev/null
+++ b/applications/solvers/equationReaderDemo/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ equationReaderDemo.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(equationReaderDemo
+ DEPENDS equationReader incompressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/equationReaderDemo/equationReaderDemo.C b/applications/solvers/equationReaderDemo/equationReaderDemo.C
index 4778a64a0..40312e669 100644
--- a/applications/solvers/equationReaderDemo/equationReaderDemo.C
+++ b/applications/solvers/equationReaderDemo/equationReaderDemo.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/financial/CMakeLists.txt b/applications/solvers/financial/CMakeLists.txt
new file mode 100644
index 000000000..a0fff6eb3
--- /dev/null
+++ b/applications/solvers/financial/CMakeLists.txt
@@ -0,0 +1,33 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(financialFoam)
\ No newline at end of file
diff --git a/applications/solvers/financial/financialFoam/CMakeLists.txt b/applications/solvers/financial/financialFoam/CMakeLists.txt
new file mode 100644
index 000000000..073402669
--- /dev/null
+++ b/applications/solvers/financial/financialFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ financialFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(financialFoam
+ DEPENDS sampling
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/financial/financialFoam/financialFoam.C b/applications/solvers/financial/financialFoam/financialFoam.C
index 69afe17fd..7857a12b4 100644
--- a/applications/solvers/financial/financialFoam/financialFoam.C
+++ b/applications/solvers/financial/financialFoam/financialFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/finiteArea/CMakeLists.txt b/applications/solvers/finiteArea/CMakeLists.txt
new file mode 100644
index 000000000..4ab785364
--- /dev/null
+++ b/applications/solvers/finiteArea/CMakeLists.txt
@@ -0,0 +1,34 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(surfactantFoam)
+add_subdirectory(liquidFilmFoam)
\ No newline at end of file
diff --git a/applications/solvers/finiteArea/liquidFilmFoam/CMakeLists.txt b/applications/solvers/finiteArea/liquidFilmFoam/CMakeLists.txt
new file mode 100644
index 000000000..4efaea39a
--- /dev/null
+++ b/applications/solvers/finiteArea/liquidFilmFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ liquidFilmFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(liquidFilmFoam
+ DEPENDS finiteVolume finiteArea
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/finiteArea/liquidFilmFoam/liquidFilmFoam.C b/applications/solvers/finiteArea/liquidFilmFoam/liquidFilmFoam.C
index afa47265b..0da1c5963 100644
--- a/applications/solvers/finiteArea/liquidFilmFoam/liquidFilmFoam.C
+++ b/applications/solvers/finiteArea/liquidFilmFoam/liquidFilmFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/finiteArea/liquidFilmFoam/surfaceCourantNo.H b/applications/solvers/finiteArea/liquidFilmFoam/surfaceCourantNo.H
index da187d381..f43e353ee 100644
--- a/applications/solvers/finiteArea/liquidFilmFoam/surfaceCourantNo.H
+++ b/applications/solvers/finiteArea/liquidFilmFoam/surfaceCourantNo.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/finiteArea/surfactantFoam/CMakeLists.txt b/applications/solvers/finiteArea/surfactantFoam/CMakeLists.txt
new file mode 100644
index 000000000..50b911014
--- /dev/null
+++ b/applications/solvers/finiteArea/surfactantFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ surfactantFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(surfactantFoam
+ DEPENDS finiteVolume finiteArea
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/finiteArea/surfactantFoam/surfactantFoam.C b/applications/solvers/finiteArea/surfactantFoam/surfactantFoam.C
index 36a32f402..08fa18aa9 100644
--- a/applications/solvers/finiteArea/surfactantFoam/surfactantFoam.C
+++ b/applications/solvers/finiteArea/surfactantFoam/surfactantFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/CMakeLists.txt b/applications/solvers/heatTransfer/CMakeLists.txt
new file mode 100644
index 000000000..a8c893c2d
--- /dev/null
+++ b/applications/solvers/heatTransfer/CMakeLists.txt
@@ -0,0 +1,40 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+add_subdirectory(buoyantBoussinesqSimpleFoam)
+add_subdirectory(chtMultiRegionFoam)
+add_subdirectory(boussinesqBuoyantFoam)
+add_subdirectory(buoyantBoussinesqPisoFoam)
+add_subdirectory(buoyantSimpleFoam)
+add_subdirectory(buoyantSimpleRadiationFoam)
+add_subdirectory(chtMultiRegionSimpleFoam)
+add_subdirectory(buoyantPisoFoam)
\ No newline at end of file
diff --git a/applications/solvers/heatTransfer/boussinesqBuoyantFoam/CMakeLists.txt b/applications/solvers/heatTransfer/boussinesqBuoyantFoam/CMakeLists.txt
new file mode 100644
index 000000000..6442dd01c
--- /dev/null
+++ b/applications/solvers/heatTransfer/boussinesqBuoyantFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ boussinesqBuoyantFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(boussinesqBuoyantFoam
+ DEPENDS finiteVolume
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/heatTransfer/boussinesqBuoyantFoam/boussinesqBuoyantFoam.C b/applications/solvers/heatTransfer/boussinesqBuoyantFoam/boussinesqBuoyantFoam.C
index 34dc18416..aa0e9e048 100644
--- a/applications/solvers/heatTransfer/boussinesqBuoyantFoam/boussinesqBuoyantFoam.C
+++ b/applications/solvers/heatTransfer/boussinesqBuoyantFoam/boussinesqBuoyantFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/CMakeLists.txt
new file mode 100644
index 000000000..3471534c6
--- /dev/null
+++ b/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/CMakeLists.txt
@@ -0,0 +1,50 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ buoyantBoussinesqPisoFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(buoyantBoussinesqPisoFoam
+ DEPENDS incompressibleRASModels incompressibleLESModels
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(buoyantBoussinesqPisoFoam PUBLIC
+ $
+)
diff --git a/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/buoyantBoussinesqPisoFoam.C b/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/buoyantBoussinesqPisoFoam.C
index 345d8f2d2..de383098a 100644
--- a/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/buoyantBoussinesqPisoFoam.C
+++ b/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/buoyantBoussinesqPisoFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/CMakeLists.txt
new file mode 100644
index 000000000..4d333e9bf
--- /dev/null
+++ b/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ buoyantBoussinesqSimpleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(buoyantBoussinesqSimpleFoam
+ DEPENDS incompressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/buoyantBoussinesqSimpleFoam.C b/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/buoyantBoussinesqSimpleFoam.C
index 849e4cda2..e49c7a40b 100644
--- a/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/buoyantBoussinesqSimpleFoam.C
+++ b/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/buoyantBoussinesqSimpleFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/buoyantPisoFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantPisoFoam/CMakeLists.txt
new file mode 100644
index 000000000..3e6d65ef9
--- /dev/null
+++ b/applications/solvers/heatTransfer/buoyantPisoFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ buoyantPisoFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(buoyantPisoFoam
+ DEPENDS compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/heatTransfer/buoyantPisoFoam/buoyantPisoFoam.C b/applications/solvers/heatTransfer/buoyantPisoFoam/buoyantPisoFoam.C
index 1bf774267..113b5b689 100644
--- a/applications/solvers/heatTransfer/buoyantPisoFoam/buoyantPisoFoam.C
+++ b/applications/solvers/heatTransfer/buoyantPisoFoam/buoyantPisoFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/buoyantSimpleFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantSimpleFoam/CMakeLists.txt
new file mode 100644
index 000000000..2fe60b127
--- /dev/null
+++ b/applications/solvers/heatTransfer/buoyantSimpleFoam/CMakeLists.txt
@@ -0,0 +1,46 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ buoyantSimpleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(buoyantSimpleFoam
+ DEPENDS compressibleRASModels
+ SOURCES ${SOURCES}
+)
diff --git a/applications/solvers/heatTransfer/buoyantSimpleFoam/buoyantSimpleFoam.C b/applications/solvers/heatTransfer/buoyantSimpleFoam/buoyantSimpleFoam.C
index 4e2a4ec16..a67c3e242 100644
--- a/applications/solvers/heatTransfer/buoyantSimpleFoam/buoyantSimpleFoam.C
+++ b/applications/solvers/heatTransfer/buoyantSimpleFoam/buoyantSimpleFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/CMakeLists.txt
new file mode 100644
index 000000000..82cbb1c1f
--- /dev/null
+++ b/applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/CMakeLists.txt
@@ -0,0 +1,50 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ buoyantSimpleRadiationFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(buoyantSimpleRadiationFoam
+ DEPENDS radiation compressibleRASModels
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(buoyantSimpleRadiationFoam PUBLIC
+ $
+)
diff --git a/applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/buoyantSimpleRadiationFoam.C b/applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/buoyantSimpleRadiationFoam.C
index 0195eb367..483a668a4 100644
--- a/applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/buoyantSimpleRadiationFoam.C
+++ b/applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/buoyantSimpleRadiationFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/CMakeLists.txt b/applications/solvers/heatTransfer/chtMultiRegionFoam/CMakeLists.txt
new file mode 100644
index 000000000..3fdfeeacb
--- /dev/null
+++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/CMakeLists.txt
@@ -0,0 +1,58 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ regionProperties/regionProperties.C
+ derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.C
+ derivedFvPatchFields/solidWallMixedTemperatureCoupled/solidWallMixedTemperatureCoupledFvPatchScalarField.C
+ fluid/compressibleCourantNo.C
+ solid/solidRegionDiffNo.C
+ chtMultiRegionFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(chtMultiRegionFoam
+ DEPENDS compressibleRASModels compressibleLESModels
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(chtMultiRegionFoam PUBLIC
+ $
+ $
+ $
+ $
+)
diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/chtMultiRegionFoam.C b/applications/solvers/heatTransfer/chtMultiRegionFoam/chtMultiRegionFoam.C
index dc21d4e3d..585c628f5 100644
--- a/applications/solvers/heatTransfer/chtMultiRegionFoam/chtMultiRegionFoam.C
+++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/chtMultiRegionFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.C b/applications/solvers/heatTransfer/chtMultiRegionFoam/derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.C
index 719678d9e..4503a03cd 100644
--- a/applications/solvers/heatTransfer/chtMultiRegionFoam/derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.C
+++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.H b/applications/solvers/heatTransfer/chtMultiRegionFoam/derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.H
index cc75e7738..619f5bd50 100644
--- a/applications/solvers/heatTransfer/chtMultiRegionFoam/derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.H
+++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/derivedFvPatchFields/solidWallMixedTemperatureCoupled/solidWallMixedTemperatureCoupledFvPatchScalarField.C b/applications/solvers/heatTransfer/chtMultiRegionFoam/derivedFvPatchFields/solidWallMixedTemperatureCoupled/solidWallMixedTemperatureCoupledFvPatchScalarField.C
index 13bd6cf6e..c557bb156 100644
--- a/applications/solvers/heatTransfer/chtMultiRegionFoam/derivedFvPatchFields/solidWallMixedTemperatureCoupled/solidWallMixedTemperatureCoupledFvPatchScalarField.C
+++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/derivedFvPatchFields/solidWallMixedTemperatureCoupled/solidWallMixedTemperatureCoupledFvPatchScalarField.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/derivedFvPatchFields/solidWallMixedTemperatureCoupled/solidWallMixedTemperatureCoupledFvPatchScalarField.H b/applications/solvers/heatTransfer/chtMultiRegionFoam/derivedFvPatchFields/solidWallMixedTemperatureCoupled/solidWallMixedTemperatureCoupledFvPatchScalarField.H
index 234436015..a96cef482 100644
--- a/applications/solvers/heatTransfer/chtMultiRegionFoam/derivedFvPatchFields/solidWallMixedTemperatureCoupled/solidWallMixedTemperatureCoupledFvPatchScalarField.H
+++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/derivedFvPatchFields/solidWallMixedTemperatureCoupled/solidWallMixedTemperatureCoupledFvPatchScalarField.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/fluid/compressibleCourantNo.C b/applications/solvers/heatTransfer/chtMultiRegionFoam/fluid/compressibleCourantNo.C
index b59cee8de..a432a7800 100644
--- a/applications/solvers/heatTransfer/chtMultiRegionFoam/fluid/compressibleCourantNo.C
+++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/fluid/compressibleCourantNo.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/fluid/compressibleCourantNo.H b/applications/solvers/heatTransfer/chtMultiRegionFoam/fluid/compressibleCourantNo.H
index 8e8d64b39..2435781eb 100644
--- a/applications/solvers/heatTransfer/chtMultiRegionFoam/fluid/compressibleCourantNo.H
+++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/fluid/compressibleCourantNo.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/fluid/createFluidFields.H b/applications/solvers/heatTransfer/chtMultiRegionFoam/fluid/createFluidFields.H
index c2aebcf0d..060b5ac97 100644
--- a/applications/solvers/heatTransfer/chtMultiRegionFoam/fluid/createFluidFields.H
+++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/fluid/createFluidFields.H
@@ -8,7 +8,7 @@
PtrList turbulence(fluidRegions.size());
PtrList DpDtFluid(fluidRegions.size());
- List initialMassFluid(fluidRegions.size());
+ scalarList initialMassFluid(fluidRegions.size());
// Populate fluid field pointer lists
forAll(fluidRegions, i)
diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/include/setInitialMultiRegionDeltaT.H b/applications/solvers/heatTransfer/chtMultiRegionFoam/include/setInitialMultiRegionDeltaT.H
index e5b81e9cf..e6c68a8dd 100644
--- a/applications/solvers/heatTransfer/chtMultiRegionFoam/include/setInitialMultiRegionDeltaT.H
+++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/include/setInitialMultiRegionDeltaT.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/include/setMultiRegionDeltaT.H b/applications/solvers/heatTransfer/chtMultiRegionFoam/include/setMultiRegionDeltaT.H
index 1f28739bf..449d74826 100644
--- a/applications/solvers/heatTransfer/chtMultiRegionFoam/include/setMultiRegionDeltaT.H
+++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/include/setMultiRegionDeltaT.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/regionProperties/regionProperties.C b/applications/solvers/heatTransfer/chtMultiRegionFoam/regionProperties/regionProperties.C
index 9b8dc487d..44b7c44e5 100644
--- a/applications/solvers/heatTransfer/chtMultiRegionFoam/regionProperties/regionProperties.C
+++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/regionProperties/regionProperties.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/regionProperties/regionProperties.H b/applications/solvers/heatTransfer/chtMultiRegionFoam/regionProperties/regionProperties.H
index a0f6fc14c..0d956eb7a 100644
--- a/applications/solvers/heatTransfer/chtMultiRegionFoam/regionProperties/regionProperties.H
+++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/regionProperties/regionProperties.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
@@ -54,10 +54,10 @@ class regionProperties
// Private data
//- List of the fluid region names
- List fluidRegionNames_;
+ wordList fluidRegionNames_;
//- List of the solid region names
- List solidRegionNames_;
+ wordList solidRegionNames_;
// Private Member Functions
@@ -87,10 +87,10 @@ public:
// Access
//- Return const reference to the list of fluid region names
- const List& fluidRegionNames() const;
+ const wordList& fluidRegionNames() const;
//- Return const reference to the list of solid region names
- const List& solidRegionNames() const;
+ const wordList& solidRegionNames() const;
};
diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/solid/readSolidTimeControls.H b/applications/solvers/heatTransfer/chtMultiRegionFoam/solid/readSolidTimeControls.H
index 83f53dbd1..78d019468 100644
--- a/applications/solvers/heatTransfer/chtMultiRegionFoam/solid/readSolidTimeControls.H
+++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/solid/readSolidTimeControls.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/solid/solidRegionDiffNo.C b/applications/solvers/heatTransfer/chtMultiRegionFoam/solid/solidRegionDiffNo.C
index 91428d31b..b47e71686 100644
--- a/applications/solvers/heatTransfer/chtMultiRegionFoam/solid/solidRegionDiffNo.C
+++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/solid/solidRegionDiffNo.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/solid/solidRegionDiffNo.H b/applications/solvers/heatTransfer/chtMultiRegionFoam/solid/solidRegionDiffNo.H
index 3726259a0..136cb57cb 100644
--- a/applications/solvers/heatTransfer/chtMultiRegionFoam/solid/solidRegionDiffNo.H
+++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/solid/solidRegionDiffNo.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/CMakeLists.txt b/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/CMakeLists.txt
new file mode 100644
index 000000000..60d86ed73
--- /dev/null
+++ b/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/CMakeLists.txt
@@ -0,0 +1,52 @@
+# --------------------------------------------------------------------------
+# ======== |
+# \ / F ield | foam-extend: Open Source CFD
+# \ / O peration | Version: 4.1
+# \ / A nd | Web: http://www.foam-extend.org
+# \/ M anipulation | For copyright notice see file Copyright
+# --------------------------------------------------------------------------
+# License
+# This file is part of foam-extend.
+#
+# foam-extend 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.
+#
+# foam-extend 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 foam-extend. If not, see .
+#
+# Description
+# CMakeLists.txt file for libraries and applications
+#
+# Author
+# Henrik Rusche, Wikki GmbH, 2017. All rights reserved
+#
+#
+# --------------------------------------------------------------------------
+
+list(APPEND SOURCES
+ derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.C
+ chtMultiRegionSimpleFoam.C
+)
+
+# Set minimal environment for external compilation
+if(NOT FOAM_FOUND)
+ cmake_minimum_required(VERSION 2.8)
+ find_package(FOAM REQUIRED)
+endif()
+
+add_foam_executable(chtMultiRegionSimpleFoam
+ DEPENDS compressibleRASModels
+ SOURCES ${SOURCES}
+)
+
+target_include_directories(chtMultiRegionSimpleFoam PUBLIC
+ $
+ $
+)
diff --git a/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/chtMultiRegionSimpleFoam.C b/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/chtMultiRegionSimpleFoam.C
index 2b6e573eb..aee033f24 100644
--- a/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/chtMultiRegionSimpleFoam.C
+++ b/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/chtMultiRegionSimpleFoam.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.C b/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.C
index 90a13f417..36d2b2097 100644
--- a/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.C
+++ b/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.H b/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.H
index ab1c9ef52..6b819b640 100644
--- a/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.H
+++ b/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/fluid/compressibleCourantNo.C b/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/fluid/compressibleCourantNo.C
index b59cee8de..a432a7800 100644
--- a/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/fluid/compressibleCourantNo.C
+++ b/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/fluid/compressibleCourantNo.C
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/fluid/compressibleCourantNo.H b/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/fluid/compressibleCourantNo.H
index 8e8d64b39..2435781eb 100644
--- a/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/fluid/compressibleCourantNo.H
+++ b/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/fluid/compressibleCourantNo.H
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | foam-extend: Open Source CFD
- \\ / O peration | Version: 4.0
+ \\ / O peration | Version: 4.1
\\ / A nd | Web: http://www.foam-extend.org
\\/ M anipulation | For copyright notice see file Copyright
-------------------------------------------------------------------------------
diff --git a/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/fluid/createFluidFields.H b/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/fluid/createFluidFields.H
index 4365345c7..581420428 100644
--- a/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/fluid/createFluidFields.H
+++ b/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/fluid/createFluidFields.H
@@ -8,9 +8,9 @@
PtrList turbulence(fluidRegions.size());
PtrList DpDtf(fluidRegions.size());
- List initialMassFluid(fluidRegions.size());
- List