Bugfix: Windows bugfixes and updated tutorial cases. Robert Keser
This commit is contained in:
commit
315ac1217d
141 changed files with 1038 additions and 91 deletions
|
@ -5,10 +5,16 @@
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # run from this directory
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
# build tecio
|
# foamToTecplot360 will not compile on MS Windows
|
||||||
wmake libso tecio/tecsrc
|
if [ "$WM_OSTYPE" = "MSWindows" ]
|
||||||
|
then
|
||||||
|
echo MSWindows detected. Skipping compilation of foamToTecplot360.
|
||||||
|
else
|
||||||
|
# build tecio
|
||||||
|
wmake libso tecio/tecsrc
|
||||||
|
|
||||||
# build converter
|
# build converter
|
||||||
wmake
|
wmake
|
||||||
|
fi
|
||||||
|
|
||||||
# ----------------------------------------------------------------- end-of-file
|
# ----------------------------------------------------------------- end-of-file
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
bunnylod/progmesh.C
|
bunnylod/progmesh.C
|
||||||
bunnylod/vector.C
|
bunnylod/vectorb.C
|
||||||
surfaceCoarsen.C
|
surfaceCoarsen.C
|
||||||
|
|
||||||
EXE = $(FOAM_APPBIN)/surfaceCoarsen
|
EXE = $(FOAM_APPBIN)/surfaceCoarsen
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
#pragma warning(disable : 4244)
|
#pragma warning(disable : 4244)
|
||||||
|
|
||||||
#include "vector.h"
|
#include "vectorb.h"
|
||||||
#include "font.h"
|
#include "font.h"
|
||||||
#include "progmesh.h"
|
#include "progmesh.h"
|
||||||
#include "rabdata.h"
|
#include "rabdata.h"
|
||||||
|
|
|
@ -13,8 +13,8 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
//#include <windows.h>
|
//#include <windows.h>
|
||||||
|
|
||||||
#include "vector.h"
|
#include "vectorb.h"
|
||||||
#include "list.h"
|
#include "listb.h"
|
||||||
#include "progmesh.h"
|
#include "progmesh.h"
|
||||||
|
|
||||||
#define min(x,y) (((x) <= (y)) ? (x) : (y))
|
#define min(x,y) (((x) <= (y)) ? (x) : (y))
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
#ifndef PROGRESSIVE_MESH_H
|
#ifndef PROGRESSIVE_MESH_H
|
||||||
#define PROGRESSIVE_MESH_H
|
#define PROGRESSIVE_MESH_H
|
||||||
|
|
||||||
#include "vector.h"
|
#include "vectorb.h"
|
||||||
#include "list.h"
|
#include "listb.h"
|
||||||
|
|
||||||
class tridata {
|
class tridata {
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#include "vector.h"
|
#include "vectorb.h"
|
||||||
|
|
||||||
float sqr(float a) {return a*a;}
|
float sqr(float a) {return a*a;}
|
||||||
|
|
|
@ -71,6 +71,11 @@ runParallel ()
|
||||||
LOG_NAME=log.$APP_NAME
|
LOG_NAME=log.$APP_NAME
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$WM_OSTYPE" = "MSWindows" ]
|
||||||
|
then
|
||||||
|
APP_RUN="${APP_RUN}.exe"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -f $LOG_NAME ] ; then
|
if [ -f $LOG_NAME ] ; then
|
||||||
echo "$APP_NAME already run on $PWD: remove log file to run"
|
echo "$APP_NAME already run on $PWD: remove log file to run"
|
||||||
else
|
else
|
||||||
|
@ -135,27 +140,52 @@ cloneCase ()
|
||||||
|
|
||||||
makeFsiCaseLinks ()
|
makeFsiCaseLinks ()
|
||||||
{
|
{
|
||||||
cd $1
|
if [ "$WM_OSTYPE" = "MSWindows" ]
|
||||||
cd system
|
then
|
||||||
ln -s ../../$2/system $2
|
cd $1
|
||||||
cd ../constant
|
cd system
|
||||||
ln -s ../../$2/constant $2
|
cp -r ../../$2/system $2
|
||||||
cd ../0
|
cd ../constant
|
||||||
ln -s ../../$2/0 $2
|
cp -r ../../$2/constant $2
|
||||||
cd ../..
|
cd ../0
|
||||||
|
cp -r ../../$2/0 $2
|
||||||
|
cd ../..
|
||||||
|
else
|
||||||
|
cd $1
|
||||||
|
cd system
|
||||||
|
ln -s ../../$2/system $2
|
||||||
|
cd ../constant
|
||||||
|
ln -s ../../$2/constant $2
|
||||||
|
cd ../0
|
||||||
|
ln -s ../../$2/0 $2
|
||||||
|
cd ../..
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
makeFsiResultsLinks ()
|
makeFsiResultsLinks ()
|
||||||
{
|
{
|
||||||
cd $1
|
if [ "$WM_OSTYPE" = "MSWindows" ]
|
||||||
TIME_DIRS=`foamInfoExec -times | sed '1,/constant/d'`
|
then
|
||||||
echo "makeFsiResultsLinks for" $TIME_DIRS
|
cd $1
|
||||||
cd ../$2
|
TIME_DIRS=`foamInfoExec -times | sed '1,/constant/d'`
|
||||||
for T in $TIME_DIRS
|
echo "makeFsiResultsLinks for" $TIME_DIRS
|
||||||
do
|
cd ../$2
|
||||||
ln -s ../$1/${T}/solid ${T}
|
for T in $TIME_DIRS
|
||||||
done
|
do
|
||||||
cd ..
|
cp -r ../$1/${T}/solid ${T}
|
||||||
|
done
|
||||||
|
cd ..
|
||||||
|
else
|
||||||
|
cd $1
|
||||||
|
TIME_DIRS=`foamInfoExec -times | sed '1,/constant/d'`
|
||||||
|
echo "makeFsiResultsLinks for" $TIME_DIRS
|
||||||
|
cd ../$2
|
||||||
|
for T in $TIME_DIRS
|
||||||
|
do
|
||||||
|
ln -s ../$1/${T}/solid ${T}
|
||||||
|
done
|
||||||
|
cd ..
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
|
@ -126,7 +126,7 @@ void printSourceFileAndLine
|
||||||
myAddress = nStream.str();
|
myAddress = nStream.str();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (filename[0] == '/')
|
if (filename[0] == '/' || filename[1] == ':')
|
||||||
{
|
{
|
||||||
string line = pOpen
|
string line = pOpen
|
||||||
(
|
(
|
||||||
|
@ -266,7 +266,10 @@ void getSymbolForRaw
|
||||||
const word& address
|
const word& address
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
if (filename.size() && filename[0] == '/')
|
if
|
||||||
|
(
|
||||||
|
filename.size() && (filename[0] == '/' || filename[1] == ':')
|
||||||
|
)
|
||||||
{
|
{
|
||||||
string fcnt = pOpen
|
string fcnt = pOpen
|
||||||
(
|
(
|
||||||
|
@ -316,7 +319,10 @@ void error::printStack(Ostream& os)
|
||||||
string::size_type space = line.rfind(' ') + 1;
|
string::size_type space = line.rfind(' ') + 1;
|
||||||
fileName libPath = line.substr(space, line.size()-space);
|
fileName libPath = line.substr(space, line.size()-space);
|
||||||
|
|
||||||
if (libPath.size() && libPath[0] == '/')
|
if
|
||||||
|
(
|
||||||
|
libPath.size() && (libPath[0] == '/' || libPath[1] == ':')
|
||||||
|
)
|
||||||
{
|
{
|
||||||
string offsetString(line.substr(0, line.find('-')));
|
string offsetString(line.substr(0, line.find('-')));
|
||||||
IStringStream offsetStr(offsetString);
|
IStringStream offsetStr(offsetString);
|
||||||
|
@ -359,10 +365,10 @@ void error::printStack(Ostream& os)
|
||||||
programFile = msg.substr(0, min(spacePos, bracketPos));
|
programFile = msg.substr(0, min(spacePos, bracketPos));
|
||||||
|
|
||||||
// not an absolute path
|
// not an absolute path
|
||||||
if (programFile[0] != '/')
|
if (programFile[0] != '/' && programFile[1] != ':')
|
||||||
{
|
{
|
||||||
string tmp = pOpen("which " + programFile);
|
string tmp = pOpen("which " + programFile);
|
||||||
if (tmp[0] == '/' || tmp[0] == '~')
|
if (tmp[0] == '/' || tmp[1] == ':' || tmp[0] == '~')
|
||||||
{
|
{
|
||||||
programFile = tmp;
|
programFile = tmp;
|
||||||
}
|
}
|
||||||
|
|
|
@ -130,7 +130,7 @@ void printSourceFileAndLine
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef darwin
|
#ifndef darwin
|
||||||
if (filename[0] == '/')
|
if (filename[0] == '/' || filename[1] == ':')
|
||||||
#else
|
#else
|
||||||
if (1)
|
if (1)
|
||||||
#endif
|
#endif
|
||||||
|
@ -175,7 +175,10 @@ void getSymbolForRaw
|
||||||
const word& address
|
const word& address
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
if (filename.size() && filename[0] == '/')
|
if
|
||||||
|
(
|
||||||
|
filename.size() && (filename[0] == '/' || filename[1] == ':')
|
||||||
|
)
|
||||||
{
|
{
|
||||||
string fcnt = pOpen
|
string fcnt = pOpen
|
||||||
(
|
(
|
||||||
|
@ -224,7 +227,10 @@ void error::printStack(Ostream& os)
|
||||||
string::size_type space = line.rfind(' ') + 1;
|
string::size_type space = line.rfind(' ') + 1;
|
||||||
fileName libPath = line.substr(space, line.size()-space);
|
fileName libPath = line.substr(space, line.size()-space);
|
||||||
|
|
||||||
if (libPath.size() && libPath[0] == '/')
|
if
|
||||||
|
(
|
||||||
|
libPath.size() && (libPath[0] == '/' || libPath[1] == ':')
|
||||||
|
)
|
||||||
{
|
{
|
||||||
string offsetString(line.substr(0, line.find('-')));
|
string offsetString(line.substr(0, line.find('-')));
|
||||||
IStringStream offsetStr(offsetString);
|
IStringStream offsetStr(offsetString);
|
||||||
|
@ -268,10 +274,10 @@ void error::printStack(Ostream& os)
|
||||||
programFile = msg.substr(0, min(spacePos, bracketPos));
|
programFile = msg.substr(0, min(spacePos, bracketPos));
|
||||||
|
|
||||||
// not an absolute path
|
// not an absolute path
|
||||||
if (programFile[0] != '/')
|
if (programFile[0] != '/' && programFile[1] != ':')
|
||||||
{
|
{
|
||||||
string tmp = pOpen("which " + programFile);
|
string tmp = pOpen("which " + programFile);
|
||||||
if (tmp[0] == '/' || tmp[0] == '~')
|
if (tmp[0] == '/' || tmp[1] == ':' || tmp[0] == '~')
|
||||||
{
|
{
|
||||||
programFile = tmp;
|
programFile = tmp;
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,7 +77,7 @@ Foam::fileName Foam::functionEntries::includeEntry::includeFileName
|
||||||
fileName fName(is);
|
fileName fName(is);
|
||||||
fName.expand();
|
fName.expand();
|
||||||
|
|
||||||
if (fName.size() && fName[0] != '/')
|
if (fName.size() && fName[0] != '/' && fName[1] != ':')
|
||||||
{
|
{
|
||||||
fName = fileName(is.name()).path()/fName;
|
fName = fileName(is.name()).path()/fName;
|
||||||
}
|
}
|
||||||
|
|
|
@ -159,7 +159,10 @@ void Foam::argList::getRootCase()
|
||||||
casePath = cwd();
|
casePath = cwd();
|
||||||
options_.erase("case");
|
options_.erase("case");
|
||||||
}
|
}
|
||||||
else if (casePath[0] != '/' && casePath.name() == "..")
|
else if
|
||||||
|
(
|
||||||
|
casePath[0] != '/' && casePath[1] != ':' && casePath.name() == ".."
|
||||||
|
)
|
||||||
{
|
{
|
||||||
// avoid relative cases ending in '..' - makes for very ugly names
|
// avoid relative cases ending in '..' - makes for very ugly names
|
||||||
casePath = cwd()/casePath;
|
casePath = cwd()/casePath;
|
||||||
|
@ -177,7 +180,7 @@ void Foam::argList::getRootCase()
|
||||||
case_ = globalCase_;
|
case_ = globalCase_;
|
||||||
|
|
||||||
// Set the case and case-name as an environment variable
|
// Set the case and case-name as an environment variable
|
||||||
if (rootPath_[0] == '/')
|
if (rootPath_[0] == '/' || rootPath_[1] == ':')
|
||||||
{
|
{
|
||||||
// Absolute path - use as-is
|
// Absolute path - use as-is
|
||||||
setEnv("FOAM_CASE", rootPath_/globalCase_, true);
|
setEnv("FOAM_CASE", rootPath_/globalCase_, true);
|
||||||
|
|
|
@ -1144,7 +1144,7 @@ Foam::scalar Foam::DsmcCloud<ParcelType>::equipartitionInternalEnergy
|
||||||
else if (iDof < 2.0 + SMALL && iDof > 2.0 - SMALL)
|
else if (iDof < 2.0 + SMALL && iDof > 2.0 - SMALL)
|
||||||
{
|
{
|
||||||
// Special case for iDof = 2, i.e. diatomics;
|
// Special case for iDof = 2, i.e. diatomics;
|
||||||
Ei = -log(rndGen_.scalar01())*kb*temperature;
|
Ei = -log(max(rndGen_.scalar01(), VSMALL))*kb*temperature;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -884,12 +884,18 @@ Foam::chemkinReader::chemkinReader(const dictionary& thermoDict)
|
||||||
fileName relPath = thermoDict.name().path();
|
fileName relPath = thermoDict.name().path();
|
||||||
if (relPath.size())
|
if (relPath.size())
|
||||||
{
|
{
|
||||||
if (chemkinFile.size() && chemkinFile[0] != '/')
|
if
|
||||||
|
(
|
||||||
|
chemkinFile.size() && chemkinFile[0] != '/' && chemkinFile[1] != ':'
|
||||||
|
)
|
||||||
{
|
{
|
||||||
chemkinFile = relPath/chemkinFile;
|
chemkinFile = relPath/chemkinFile;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (thermoFile.size() && thermoFile[0] != '/')
|
if
|
||||||
|
(
|
||||||
|
thermoFile.size() && thermoFile[0] != '/' && thermoFile[1] != ':'
|
||||||
|
)
|
||||||
{
|
{
|
||||||
thermoFile = relPath/thermoFile;
|
thermoFile = relPath/thermoFile;
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application dnsFoam;
|
application dnsFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application scalarTransportFoam;
|
application scalarTransportFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application scalarTransportFoam;
|
application scalarTransportFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -15,6 +15,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application scalarTransportFoam;
|
application scalarTransportFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application scalarTransportFoam;
|
application scalarTransportFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -18,6 +18,7 @@ FoamFile
|
||||||
libs
|
libs
|
||||||
(
|
(
|
||||||
"libcompressibleLESModels.so"
|
"libcompressibleLESModels.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
)
|
)
|
||||||
|
|
||||||
application XiFoam;
|
application XiFoam;
|
||||||
|
|
|
@ -18,6 +18,7 @@ FoamFile
|
||||||
libs
|
libs
|
||||||
(
|
(
|
||||||
"libcompressibleLESModels.so"
|
"libcompressibleLESModels.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
)
|
)
|
||||||
|
|
||||||
application XiFoam;
|
application XiFoam;
|
||||||
|
|
|
@ -18,6 +18,7 @@ FoamFile
|
||||||
libs
|
libs
|
||||||
(
|
(
|
||||||
"libcompressibleRASModels.so"
|
"libcompressibleRASModels.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
)
|
)
|
||||||
|
|
||||||
application XiFoam;
|
application XiFoam;
|
||||||
|
|
|
@ -15,6 +15,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application dieselFoam;
|
application dieselFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -15,6 +15,12 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"libcompressibleRASModels.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application engineFoam;
|
application engineFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -15,6 +15,12 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"libcompressibleRASModels.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application engineFoam;
|
application engineFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -15,6 +15,12 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"libcompressibleRASModels.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application engineFoam;
|
application engineFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -17,6 +17,7 @@ FoamFile
|
||||||
libs
|
libs
|
||||||
(
|
(
|
||||||
"libcompressibleLESModels.so"
|
"libcompressibleLESModels.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
)
|
)
|
||||||
|
|
||||||
application fireFoam;
|
application fireFoam;
|
||||||
|
|
|
@ -18,6 +18,7 @@ FoamFile
|
||||||
libs
|
libs
|
||||||
(
|
(
|
||||||
"libcompressibleRASModels.so"
|
"libcompressibleRASModels.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
)
|
)
|
||||||
|
|
||||||
application reactingFoam;
|
application reactingFoam;
|
||||||
|
|
|
@ -18,6 +18,7 @@ FoamFile
|
||||||
libs
|
libs
|
||||||
(
|
(
|
||||||
"libcompressibleRASModels.so"
|
"libcompressibleRASModels.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
)
|
)
|
||||||
|
|
||||||
application dbnsFASTurbFoam;
|
application dbnsFASTurbFoam;
|
||||||
|
|
|
@ -15,6 +15,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"libcompressibleRASModels.so"
|
||||||
|
)
|
||||||
|
|
||||||
application realFluidPisoFoam;
|
application realFluidPisoFoam;
|
||||||
|
|
||||||
startFrom latestTime;
|
startFrom latestTime;
|
||||||
|
|
|
@ -15,6 +15,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"libcompressibleRASModels.so"
|
||||||
|
)
|
||||||
|
|
||||||
application realFluidPisoFoam;
|
application realFluidPisoFoam;
|
||||||
|
|
||||||
startFrom latestTime;
|
startFrom latestTime;
|
||||||
|
|
|
@ -15,6 +15,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"libcompressibleRASModels.so"
|
||||||
|
)
|
||||||
|
|
||||||
application realFluidPisoFoam;
|
application realFluidPisoFoam;
|
||||||
|
|
||||||
startFrom latestTime;
|
startFrom latestTime;
|
||||||
|
|
|
@ -15,6 +15,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"libcompressibleRASModels.so"
|
||||||
|
)
|
||||||
|
|
||||||
application realFluidPisoFoam;
|
application realFluidPisoFoam;
|
||||||
|
|
||||||
startFrom latestTime;
|
startFrom latestTime;
|
||||||
|
|
|
@ -18,6 +18,7 @@ FoamFile
|
||||||
libs
|
libs
|
||||||
(
|
(
|
||||||
"libcompressibleRASModels"
|
"libcompressibleRASModels"
|
||||||
|
"liblduSolvers.so"
|
||||||
)
|
)
|
||||||
|
|
||||||
application rhoPimpleFoam;
|
application rhoPimpleFoam;
|
||||||
|
|
|
@ -18,6 +18,7 @@ FoamFile
|
||||||
libs
|
libs
|
||||||
(
|
(
|
||||||
"libcompressibleLESModels.so"
|
"libcompressibleLESModels.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
)
|
)
|
||||||
|
|
||||||
application rhoPisoFoam;
|
application rhoPisoFoam;
|
||||||
|
|
|
@ -18,6 +18,7 @@ FoamFile
|
||||||
libs
|
libs
|
||||||
(
|
(
|
||||||
"libcompressibleRASModels.so"
|
"libcompressibleRASModels.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
)
|
)
|
||||||
|
|
||||||
application rhoPisoFoam;
|
application rhoPisoFoam;
|
||||||
|
|
|
@ -18,6 +18,7 @@ FoamFile
|
||||||
libs
|
libs
|
||||||
(
|
(
|
||||||
"libcompressibleRASModels.so"
|
"libcompressibleRASModels.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
)
|
)
|
||||||
|
|
||||||
application rhoPorousMRFPimpleFoam;
|
application rhoPorousMRFPimpleFoam;
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
../angledDuctImplicit/0
|
|
|
@ -0,0 +1,55 @@
|
||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | foam-extend: Open Source CFD |
|
||||||
|
| \\ / O peration | Version: 4.0 |
|
||||||
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class volScalarField;
|
||||||
|
object T;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
dimensions [0 0 0 1 0 0 0];
|
||||||
|
|
||||||
|
internalField uniform 293;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
|
||||||
|
front
|
||||||
|
{
|
||||||
|
type zeroGradient;
|
||||||
|
}
|
||||||
|
back
|
||||||
|
{
|
||||||
|
type zeroGradient;
|
||||||
|
}
|
||||||
|
wall
|
||||||
|
{
|
||||||
|
type zeroGradient;
|
||||||
|
}
|
||||||
|
porosityWall
|
||||||
|
{
|
||||||
|
type zeroGradient;
|
||||||
|
}
|
||||||
|
|
||||||
|
inlet
|
||||||
|
{
|
||||||
|
type fixedValue;
|
||||||
|
value $internalField;
|
||||||
|
}
|
||||||
|
outlet
|
||||||
|
{
|
||||||
|
type inletOutlet;
|
||||||
|
value $internalField;
|
||||||
|
inletValue $internalField;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
|
@ -0,0 +1,58 @@
|
||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | foam-extend: Open Source CFD |
|
||||||
|
| \\ / O peration | Version: 4.0 |
|
||||||
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class volVectorField;
|
||||||
|
object U;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
dimensions [0 1 -1 0 0 0 0];
|
||||||
|
|
||||||
|
internalField uniform (0 0 0);
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
front
|
||||||
|
{
|
||||||
|
type fixedValue;
|
||||||
|
value uniform (0 0 0);
|
||||||
|
}
|
||||||
|
back
|
||||||
|
{
|
||||||
|
type fixedValue;
|
||||||
|
value uniform (0 0 0);
|
||||||
|
}
|
||||||
|
wall
|
||||||
|
{
|
||||||
|
type fixedValue;
|
||||||
|
value uniform (0 0 0);
|
||||||
|
}
|
||||||
|
porosityWall
|
||||||
|
{
|
||||||
|
type slip;
|
||||||
|
value uniform (0 0 0);
|
||||||
|
}
|
||||||
|
inlet
|
||||||
|
{
|
||||||
|
type flowRateInletVelocity;
|
||||||
|
flowRate 0.1;
|
||||||
|
value uniform (0 0 0);
|
||||||
|
}
|
||||||
|
outlet
|
||||||
|
{
|
||||||
|
type inletOutlet;
|
||||||
|
value uniform (0 0 0);
|
||||||
|
inletValue uniform (0 0 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
|
@ -0,0 +1,57 @@
|
||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | foam-extend: Open Source CFD |
|
||||||
|
| \\ / O peration | Version: 4.0 |
|
||||||
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class volScalarField;
|
||||||
|
location "0";
|
||||||
|
object alphat;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
dimensions [1 -1 -1 0 0 0 0];
|
||||||
|
|
||||||
|
internalField uniform 0;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
front
|
||||||
|
{
|
||||||
|
type alphatWallFunction;
|
||||||
|
value uniform 0;
|
||||||
|
}
|
||||||
|
back
|
||||||
|
{
|
||||||
|
type alphatWallFunction;
|
||||||
|
value uniform 0;
|
||||||
|
}
|
||||||
|
wall
|
||||||
|
{
|
||||||
|
type alphatWallFunction;
|
||||||
|
value uniform 0;
|
||||||
|
}
|
||||||
|
porosityWall
|
||||||
|
{
|
||||||
|
type alphatWallFunction;
|
||||||
|
value uniform 0;
|
||||||
|
}
|
||||||
|
inlet
|
||||||
|
{
|
||||||
|
type calculated;
|
||||||
|
value uniform 0;
|
||||||
|
}
|
||||||
|
outlet
|
||||||
|
{
|
||||||
|
type calculated;
|
||||||
|
value uniform 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
|
@ -0,0 +1,64 @@
|
||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | foam-extend: Open Source CFD |
|
||||||
|
| \\ / O peration | Version: 4.0 |
|
||||||
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format binary;
|
||||||
|
class volScalarField;
|
||||||
|
location "0";
|
||||||
|
object epsilon;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
dimensions [ 0 2 -3 0 0 0 0 ];
|
||||||
|
|
||||||
|
internalField uniform 200;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
front
|
||||||
|
{
|
||||||
|
type compressible::epsilonWallFunction;
|
||||||
|
value uniform 200;
|
||||||
|
}
|
||||||
|
|
||||||
|
back
|
||||||
|
{
|
||||||
|
type compressible::epsilonWallFunction;
|
||||||
|
value uniform 200;
|
||||||
|
}
|
||||||
|
|
||||||
|
wall
|
||||||
|
{
|
||||||
|
type compressible::epsilonWallFunction;
|
||||||
|
value uniform 200;
|
||||||
|
}
|
||||||
|
|
||||||
|
porosityWall
|
||||||
|
{
|
||||||
|
type compressible::epsilonWallFunction;
|
||||||
|
value uniform 200;
|
||||||
|
}
|
||||||
|
|
||||||
|
inlet
|
||||||
|
{
|
||||||
|
type compressible::turbulentMixingLengthDissipationRateInlet;
|
||||||
|
mixingLength 0.005;
|
||||||
|
value uniform 200;
|
||||||
|
}
|
||||||
|
|
||||||
|
outlet
|
||||||
|
{
|
||||||
|
type inletOutlet;
|
||||||
|
inletValue uniform 200;
|
||||||
|
value uniform 200;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
|
@ -0,0 +1,64 @@
|
||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | foam-extend: Open Source CFD |
|
||||||
|
| \\ / O peration | Version: 4.0 |
|
||||||
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format binary;
|
||||||
|
class volScalarField;
|
||||||
|
location "0";
|
||||||
|
object k;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
dimensions [ 0 2 -2 0 0 0 0 ];
|
||||||
|
|
||||||
|
internalField uniform 1;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
front
|
||||||
|
{
|
||||||
|
type compressible::kqRWallFunction;
|
||||||
|
value uniform 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
back
|
||||||
|
{
|
||||||
|
type compressible::kqRWallFunction;
|
||||||
|
value uniform 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
wall
|
||||||
|
{
|
||||||
|
type compressible::kqRWallFunction;
|
||||||
|
value uniform 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
porosityWall
|
||||||
|
{
|
||||||
|
type compressible::kqRWallFunction;
|
||||||
|
value uniform 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
inlet
|
||||||
|
{
|
||||||
|
type turbulentIntensityKineticEnergyInlet;
|
||||||
|
intensity 0.05;
|
||||||
|
value uniform 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
outlet
|
||||||
|
{
|
||||||
|
type inletOutlet;
|
||||||
|
inletValue uniform 1;
|
||||||
|
value uniform 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
|
@ -0,0 +1,62 @@
|
||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | foam-extend: Open Source CFD |
|
||||||
|
| \\ / O peration | Version: 4.0 |
|
||||||
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format binary;
|
||||||
|
class volScalarField;
|
||||||
|
location "0";
|
||||||
|
object mut;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
dimensions [ 1 -1 -1 0 0 0 0 ];
|
||||||
|
|
||||||
|
internalField uniform 0;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
front
|
||||||
|
{
|
||||||
|
type mutWallFunction;
|
||||||
|
value uniform 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
back
|
||||||
|
{
|
||||||
|
type mutWallFunction;
|
||||||
|
value uniform 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
wall
|
||||||
|
{
|
||||||
|
type mutWallFunction;
|
||||||
|
value uniform 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
porosityWall
|
||||||
|
{
|
||||||
|
type mutWallFunction;
|
||||||
|
value uniform 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
inlet
|
||||||
|
{
|
||||||
|
type calculated;
|
||||||
|
value uniform 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
outlet
|
||||||
|
{
|
||||||
|
type calculated;
|
||||||
|
value uniform 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
|
@ -0,0 +1,52 @@
|
||||||
|
/*--------------------------------*- C++ -*----------------------------------*\
|
||||||
|
| ========= | |
|
||||||
|
| \\ / F ield | foam-extend: Open Source CFD |
|
||||||
|
| \\ / O peration | Version: 4.0 |
|
||||||
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
||||||
|
| \\/ M anipulation | |
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
FoamFile
|
||||||
|
{
|
||||||
|
version 2.0;
|
||||||
|
format ascii;
|
||||||
|
class volScalarField;
|
||||||
|
object p;
|
||||||
|
}
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
dimensions [1 -1 -2 0 0 0 0];
|
||||||
|
|
||||||
|
internalField uniform 1.0e5;
|
||||||
|
|
||||||
|
boundaryField
|
||||||
|
{
|
||||||
|
front
|
||||||
|
{
|
||||||
|
type zeroGradient;
|
||||||
|
}
|
||||||
|
back
|
||||||
|
{
|
||||||
|
type zeroGradient;
|
||||||
|
}
|
||||||
|
wall
|
||||||
|
{
|
||||||
|
type zeroGradient;
|
||||||
|
}
|
||||||
|
porosityWall
|
||||||
|
{
|
||||||
|
type zeroGradient;
|
||||||
|
}
|
||||||
|
|
||||||
|
inlet
|
||||||
|
{
|
||||||
|
type zeroGradient;
|
||||||
|
}
|
||||||
|
outlet
|
||||||
|
{
|
||||||
|
type fixedValue;
|
||||||
|
value $internalField;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
|
@ -15,6 +15,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application rhoPorousSimpleFoam;
|
application rhoPorousSimpleFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -15,6 +15,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application rhoPorousSimpleFoam;
|
application rhoPorousSimpleFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -15,6 +15,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application rhoPorousSimpleFoam;
|
application rhoPorousSimpleFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -15,6 +15,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application rhoPorousSimpleFoam;
|
application rhoPorousSimpleFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -15,6 +15,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application rhoSonicFoam;
|
application rhoSonicFoam;
|
||||||
|
|
||||||
startFrom latestTime;
|
startFrom latestTime;
|
||||||
|
|
|
@ -15,6 +15,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application rhoSonicFoam;
|
application rhoSonicFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -15,6 +15,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application rhopSonicFoam;
|
application rhopSonicFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -15,6 +15,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application rhopSonicFoam;
|
application rhopSonicFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application steadyUniversalMRFFoam;
|
application steadyUniversalMRFFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application conjugateHeatFoam;
|
application conjugateHeatFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application conjugateHeatSimpleFoam;
|
application conjugateHeatSimpleFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application conjugateHeatSimpleFoam;
|
application conjugateHeatSimpleFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application electrostaticFoam;
|
application electrostaticFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application simpleFoam;
|
application simpleFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -15,6 +15,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application financialFoam;
|
application financialFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
|
||||||
|
)
|
||||||
application boussinesqBuoyantFoam;
|
application boussinesqBuoyantFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -18,6 +18,7 @@ FoamFile
|
||||||
libs
|
libs
|
||||||
(
|
(
|
||||||
"libincompressibleRASModels.so"
|
"libincompressibleRASModels.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
)
|
)
|
||||||
|
|
||||||
application buoyantBoussinesqPisoFoam;
|
application buoyantBoussinesqPisoFoam;
|
||||||
|
|
|
@ -15,6 +15,10 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
);
|
||||||
application buoyantBoussinesqSimpleFoam;
|
application buoyantBoussinesqSimpleFoam;
|
||||||
|
|
||||||
startFrom latestTime;
|
startFrom latestTime;
|
||||||
|
|
|
@ -15,7 +15,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
libs ("libparMetisDecomp.so");
|
libs
|
||||||
|
(
|
||||||
|
"libparMetisDecomp.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application buoyantBoussinesqSimpleFoam;
|
application buoyantBoussinesqSimpleFoam;
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@ FoamFile
|
||||||
libs
|
libs
|
||||||
(
|
(
|
||||||
"libcompressibleRASModels.so"
|
"libcompressibleRASModels.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
)
|
)
|
||||||
|
|
||||||
application buoyantPisoFoam;
|
application buoyantPisoFoam;
|
||||||
|
|
|
@ -14,6 +14,12 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"libcompressibleRASModels.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application buoyantSimpleFoam;
|
application buoyantSimpleFoam;
|
||||||
|
|
||||||
startFrom latestTime;
|
startFrom latestTime;
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application buoyantSimpleRadiationFoam;
|
application buoyantSimpleRadiationFoam;
|
||||||
|
|
||||||
startFrom latestTime;
|
startFrom latestTime;
|
||||||
|
|
|
@ -15,6 +15,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application buoyantSimpleRadiationFoam;
|
application buoyantSimpleRadiationFoam;
|
||||||
|
|
||||||
startFrom latestTime;
|
startFrom latestTime;
|
||||||
|
|
|
@ -15,6 +15,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application buoyantSimpleRadiationFoam;
|
application buoyantSimpleRadiationFoam;
|
||||||
|
|
||||||
startFrom latestTime;
|
startFrom latestTime;
|
||||||
|
|
|
@ -83,6 +83,23 @@ runApplicationAndReportOnError ()
|
||||||
# We force the display of a stack trace if we encounter problems
|
# We force the display of a stack trace if we encounter problems
|
||||||
export FOAM_ABORT=1
|
export FOAM_ABORT=1
|
||||||
|
|
||||||
|
# Symbolic links don't work on MS Windows so we make real copies
|
||||||
|
if [ "$WM_OSTYPE" = "MSWindows" ]
|
||||||
|
then
|
||||||
|
echo "MSWindows detected -> we need to recreate symbolic links which will be actual copies of orginal files (MSWin does not support symbolic links)"
|
||||||
|
# Symbolic links for topAir
|
||||||
|
ln -sf "$PWD/constant/bottomAir/thermophysicalProperties" "$PWD/constant/topAir/thermophysicalProperties"
|
||||||
|
ln -sf "$PWD/constant/bottomAir/g" "$PWD/constant/topAir/g"
|
||||||
|
ln -sf "$PWD/constant/bottomAir/turbulenceProperties" "$PWD/constant/topAir/turbulenceProperties"
|
||||||
|
ln -sf "$PWD/system/bottomAir/fvSolution" "$PWD/system/topAir/fvSolution"
|
||||||
|
ln -sf "$PWD/system/bottomAir/fvSchemes" "$PWD/system/topAir/fvSchemes"
|
||||||
|
# Symbolic links for leftSolid
|
||||||
|
ln -sf "$PWD/system/heater/fvSchemes" "$PWD/system/leftSolid/fvSchemes"
|
||||||
|
ln -sf "$PWD/system/heater/fvSolution" "$PWD/system/leftSolid/fvSolution"
|
||||||
|
# Symbolic links for rightSolid
|
||||||
|
ln -sf "$PWD/system/heater/fvSchemes" "$PWD/system/rightSolid/fvSchemes"
|
||||||
|
ln -sf "$PWD/system/heater/fvSolution" "$PWD/system/rightSolid/fvSolution"
|
||||||
|
fi
|
||||||
rm -rf constant/polyMesh/sets
|
rm -rf constant/polyMesh/sets
|
||||||
runApplicationAndReportOnError blockMesh
|
runApplicationAndReportOnError blockMesh
|
||||||
runApplicationAndReportOnError setSet -batch makeCellSets.setSet
|
runApplicationAndReportOnError setSet -batch makeCellSets.setSet
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
)
|
||||||
|
|
||||||
application chtFoam;
|
application chtFoam;
|
||||||
|
|
||||||
startFrom latestTime;
|
startFrom latestTime;
|
||||||
|
|
|
@ -10,11 +10,11 @@ runApplication snappyHexMesh -overwrite
|
||||||
runApplication splitMeshRegions -cellZones
|
runApplication splitMeshRegions -cellZones
|
||||||
|
|
||||||
# copy fields
|
# copy fields
|
||||||
cp 0/* 0.001/bottomAir/
|
cp 0/* 0.001/bottomAir
|
||||||
cp 0/* 0.001/heater/
|
cp 0/* 0.001/heater
|
||||||
cp 0/* 0.001/leftSolid/
|
cp 0/* 0.001/leftSolid
|
||||||
cp 0/* 0.001/rightSolid/
|
cp 0/* 0.001/rightSolid
|
||||||
cp 0/* 0.001/topAir/
|
cp 0/* 0.001/topAir
|
||||||
|
|
||||||
# remove fluid fields from solid regions (important for post-processing)
|
# remove fluid fields from solid regions (important for post-processing)
|
||||||
for i in heater leftSolid rightSolid
|
for i in heater leftSolid rightSolid
|
||||||
|
@ -25,7 +25,7 @@ done
|
||||||
# remove solid fields from fluid regions (important for post-processing)
|
# remove solid fields from fluid regions (important for post-processing)
|
||||||
for i in bottomAir topAir
|
for i in bottomAir topAir
|
||||||
do
|
do
|
||||||
rm -f 0*/$i/{cp,K,rho}
|
rm -f 0*/$i/{cp,Kappa,rho}
|
||||||
done
|
done
|
||||||
|
|
||||||
for i in bottomAir topAir heater leftSolid rightSolid
|
for i in bottomAir topAir heater leftSolid rightSolid
|
||||||
|
|
|
@ -15,7 +15,12 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
libs ("libcompressibleTurbulenceModel.so" "libcompressibleRASModels.so");
|
libs
|
||||||
|
(
|
||||||
|
"libcompressibleTurbulenceModel.so"
|
||||||
|
"libcompressibleRASModels.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
|
);
|
||||||
|
|
||||||
application snappyHexMesh;
|
application snappyHexMesh;
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,20 @@ do
|
||||||
changeDictionary -region $i > log.changeDictionary.$i 2>&1
|
changeDictionary -region $i > log.changeDictionary.$i 2>&1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Symbolic links don't work on MS Windows so we make real copies
|
||||||
|
if [ "$WM_OSTYPE" = "MSWindows" ]
|
||||||
|
then
|
||||||
|
echo "MSWindows detected -> we need to recreate symbolic links which will be actual copies of orginal files (MSWin does not support symbolic links)"
|
||||||
|
# Symbolic links for bottomAir
|
||||||
|
ln -sf "$PWD/system/topAir/fvSolution" "$PWD/system/bottomAir/fvSolution"
|
||||||
|
ln -sf "$PWD/system/topAir/fvSchemes" "$PWD/system/bottomAir/fvSchemes"
|
||||||
|
# Symbolic links for leftSolid
|
||||||
|
ln -sf "$PWD/system/heater/fvSchemes" "$PWD/system/leftSolid/fvSchemes"
|
||||||
|
ln -sf "$PWD/system/heater/fvSolution" "$PWD/system/leftSolid/fvSolution"
|
||||||
|
# Symbolic links for rightSolid
|
||||||
|
ln -sf "$PWD/system/heater/fvSchemes" "$PWD/system/rightSolid/fvSchemes"
|
||||||
|
ln -sf "$PWD/system/heater/fvSolution" "$PWD/system/rightSolid/fvSolution"
|
||||||
|
fi
|
||||||
|
|
||||||
#-- Run on single processor
|
#-- Run on single processor
|
||||||
runApplication chtMultiRegionSimpleFoam
|
runApplication chtMultiRegionSimpleFoam
|
||||||
|
|
|
@ -15,6 +15,10 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
);
|
||||||
application chtMultiRegionSimpleFoam;
|
application chtMultiRegionSimpleFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -14,12 +14,6 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
libs
|
|
||||||
(
|
|
||||||
"libimmersedBoundaryTurbulence.so"
|
|
||||||
"liblduSolvers.so"
|
|
||||||
)
|
|
||||||
|
|
||||||
application simpleIbFoam;
|
application simpleIbFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
@ -54,6 +48,7 @@ libs
|
||||||
(
|
(
|
||||||
"libimmersedBoundary.so"
|
"libimmersedBoundary.so"
|
||||||
"libimmersedBoundaryTurbulence.so"
|
"libimmersedBoundaryTurbulence.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
);
|
);
|
||||||
|
|
||||||
functions
|
functions
|
||||||
|
|
|
@ -54,6 +54,7 @@ libs
|
||||||
"libdynamicFvMesh.so"
|
"libdynamicFvMesh.so"
|
||||||
"libimmersedBoundary.so"
|
"libimmersedBoundary.so"
|
||||||
"libimmersedBoundaryDynamicFvMesh.so"
|
"libimmersedBoundaryDynamicFvMesh.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,11 @@ adjustTimeStep no;
|
||||||
|
|
||||||
maxCo 0.2;
|
maxCo 0.2;
|
||||||
|
|
||||||
libs ( "libimmersedBoundary.so");
|
libs
|
||||||
|
(
|
||||||
|
"libimmersedBoundary.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
|
);
|
||||||
|
|
||||||
// functions
|
// functions
|
||||||
// (
|
// (
|
||||||
|
|
|
@ -14,12 +14,6 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
libs
|
|
||||||
(
|
|
||||||
"liblduSolvers.so"
|
|
||||||
"libimmersedBoundaryTurbulence.so"
|
|
||||||
)
|
|
||||||
|
|
||||||
application simpleIbFoam;
|
application simpleIbFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
@ -54,6 +48,7 @@ libs
|
||||||
(
|
(
|
||||||
"libimmersedBoundary.so"
|
"libimmersedBoundary.so"
|
||||||
"libimmersedBoundaryTurbulence.so"
|
"libimmersedBoundaryTurbulence.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
);
|
);
|
||||||
|
|
||||||
functions
|
functions
|
||||||
|
|
|
@ -15,6 +15,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
);
|
||||||
|
|
||||||
application porousSimpleFoam;
|
application porousSimpleFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -14,7 +14,7 @@ runApplication blockMesh
|
||||||
runApplication refineImmersedBoundaryMesh -ibCellCellFaces
|
runApplication refineImmersedBoundaryMesh -ibCellCellFaces
|
||||||
|
|
||||||
\rm -rf constant/polyMesh
|
\rm -rf constant/polyMesh
|
||||||
\mv 0/polyMesh constant/polyMesh/
|
\mv 0/polyMesh constant/polyMesh
|
||||||
|
|
||||||
\rm -rf 0
|
\rm -rf 0
|
||||||
\mkdir 0
|
\mkdir 0
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
);
|
||||||
|
|
||||||
application icoDyMFoam;
|
application icoDyMFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -16,7 +16,7 @@ runApplication blockMesh
|
||||||
runApplication refineSphereMesh
|
runApplication refineSphereMesh
|
||||||
|
|
||||||
\rm -rf constant/polyMesh
|
\rm -rf constant/polyMesh
|
||||||
\mv 0/polyMesh constant/polyMesh/
|
\mv 0/polyMesh constant/polyMesh
|
||||||
|
|
||||||
\rm -rf 0
|
\rm -rf 0
|
||||||
\mkdir 0
|
\mkdir 0
|
||||||
|
|
|
@ -52,6 +52,7 @@ maxCo 0.2;
|
||||||
libs
|
libs
|
||||||
(
|
(
|
||||||
"libimmersedBoundary.so"
|
"libimmersedBoundary.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
);
|
);
|
||||||
|
|
||||||
functions
|
functions
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
);
|
||||||
|
|
||||||
application MRFSimpleFoam;
|
application MRFSimpleFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
);
|
||||||
|
|
||||||
application boundaryFoam;
|
application boundaryFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
);
|
||||||
|
|
||||||
// Foam Application Class
|
// Foam Application Class
|
||||||
application boundaryFoam;
|
application boundaryFoam;
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
);
|
||||||
|
|
||||||
application channelOodles;
|
application channelOodles;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -17,6 +17,7 @@ FoamFile
|
||||||
libs
|
libs
|
||||||
(
|
(
|
||||||
"libtopoChangerFvMesh.so"
|
"libtopoChangerFvMesh.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
)
|
)
|
||||||
|
|
||||||
application icoDyMFoam;
|
application icoDyMFoam;
|
||||||
|
|
|
@ -17,6 +17,7 @@ FoamFile
|
||||||
libs
|
libs
|
||||||
(
|
(
|
||||||
"libscotchDecomp.so"
|
"libscotchDecomp.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
)
|
)
|
||||||
|
|
||||||
application icoDyMFoam;
|
application icoDyMFoam;
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
);
|
||||||
|
|
||||||
application icoFoam;
|
application icoFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
);
|
||||||
|
|
||||||
application icoFoam;
|
application icoFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
);
|
||||||
|
|
||||||
application icoFoam;
|
application icoFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
);
|
||||||
|
|
||||||
application nonNewtonianIcoFoam;
|
application nonNewtonianIcoFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -14,6 +14,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
);
|
||||||
|
|
||||||
application pUCoupledFoam;
|
application pUCoupledFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -15,6 +15,11 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"liblduSolvers.so"
|
||||||
|
);
|
||||||
|
|
||||||
application pimpleDyMFoam;
|
application pimpleDyMFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
|
@ -24,8 +24,9 @@ cd ../wingMotion2D_pimpleDyMFoam
|
||||||
\cp -r 0.org 0
|
\cp -r 0.org 0
|
||||||
runApplication mapFields ../wingMotion2D_simpleFoam -sourceTime latestTime -consistent
|
runApplication mapFields ../wingMotion2D_simpleFoam -sourceTime latestTime -consistent
|
||||||
mv 0/pointDisplacement.unmapped 0/pointDisplacement
|
mv 0/pointDisplacement.unmapped 0/pointDisplacement
|
||||||
runApplication decomposePar
|
runApplication pimpleDyMFoam
|
||||||
runParallel pimpleDyMFoam 3
|
#runApplication decomposePar
|
||||||
runApplication reconstructPar
|
#runParallel pimpleDyMFoam 2
|
||||||
|
#runApplication reconstructPar
|
||||||
|
|
||||||
# ----------------------------------------------------------------- end-of-file
|
# ----------------------------------------------------------------- end-of-file
|
||||||
|
|
|
@ -49,7 +49,11 @@ adjustTimeStep yes;
|
||||||
|
|
||||||
maxCo 0.9;
|
maxCo 0.9;
|
||||||
|
|
||||||
libs ("libforces.so");
|
libs
|
||||||
|
(
|
||||||
|
"libforces.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
|
);
|
||||||
|
|
||||||
functions
|
functions
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,6 +15,12 @@ FoamFile
|
||||||
}
|
}
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
libs
|
||||||
|
(
|
||||||
|
"libincompressibleRASModels.so"
|
||||||
|
"liblduSolvers.so"
|
||||||
|
);
|
||||||
|
|
||||||
application pimpleFoam;
|
application pimpleFoam;
|
||||||
|
|
||||||
startFrom startTime;
|
startFrom startTime;
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Reference in a new issue