Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Isat #10

Open
wants to merge 32 commits into
base: master
Choose a base branch
from
Open

Isat #10

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
9f8e291
first commit
Feb 24, 2014
b91e586
extended chemistryModel class with a basic TDACChemistryModel
Mar 10, 2014
493bf51
Merge remote-tracking branch 'upstream/master'
Mar 10, 2014
3fdd533
update untracked files
Mar 10, 2014
15465d9
make TDACChemistryModel selectable from the dictionary chemistryPrope…
Mar 10, 2014
6c9f58e
cleaning up TDACChemistryModel.C and update the comments in TDACChemi…
Mar 11, 2014
adecbeb
Adding class mechanismReduction with empty subclasses for methods DRG…
Mar 11, 2014
73a980d
Add the mechanism reduction features with DRG as first method. Modifi…
Mar 14, 2014
b03b0c5
Merge remote-tracking branch 'upstream/master'
Mar 14, 2014
80950a7
DAC reduction method added, with a new feature required from TDACChem…
Mar 14, 2014
82f4b15
Added new reduction method: DRGEP
Mar 14, 2014
157e1af
Added new reduction method: EFA
Mar 14, 2014
c171efe
Added new reduction method: PFA
Mar 14, 2014
6aa6f0d
Merge remote-tracking branch 'upstream/master'
Mar 19, 2014
57c5c22
Change the condition on nAtoms so that chemkin reader does not compla…
Mar 19, 2014
b10defb
adding TDACCHemistryModelI.H
Mar 19, 2014
728428f
adding tabulation files
Mar 19, 2014
a1d53c4
modifying Make/files to compile the tabulation
Mar 19, 2014
d5bfde1
Update TDACChemistrymodel comments
Mar 19, 2014
6f12da8
argument to writePerformance function call corrected
Mar 19, 2014
1bbe3c3
ISAT master file checked. Further clean and balance function to be im…
Apr 28, 2014
d434f3c
Merge remote-tracking branch 'upstream/master' into ISAT
Apr 28, 2014
78ed0b9
binaryNode checked with matlab in 2D, assuming the right matrix LT (t…
Apr 29, 2014
0628043
binaryTree checked. function balance only reshape the tree in the dir…
Apr 30, 2014
18e7e31
Merge remote-tracking branch 'upstream/master' into ISAT
Apr 30, 2014
cf66245
Tabulation/ISAT compiling to be tested at runtime
May 6, 2014
2267038
Merge remote-tracking branch 'upstream/master' into ISAT
May 6, 2014
c06e81e
Solving an issue with DAC printing out the number of carbon atoms in …
May 6, 2014
2c8243b
svd, qrDecompose and qrUpdate validated with 2D ellispe
May 7, 2014
207c4f2
Merge remote-tracking branch 'upstream/master' into ISAT
May 7, 2014
57713fe
version validated with batch reactor
May 11, 2014
866a45d
merge branch
May 15, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ core
lnInclude

# build directories - anywhere
darwinIntel64Gcc*/
linux*Clang*/
linux*Gcc*/
linux*Icc*/
Expand Down
1,944 changes: 1,944 additions & 0 deletions OpenFOAM-2.3.x-Mac.patch

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions applications/solvers/combustion/fireFoam/Make/options
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ EXE_LIBS = \
-lsampling \
-lcompressibleRASModels \
-lcompressibleLESModels \
-lcompressibleTurbulenceModel \
-lspecie \
-lfluidThermophysicalModels \
-lliquidProperties \
-lsolidProperties \
-lsolidMixtureProperties \
-lthermophysicalFunctions \
Expand All @@ -53,5 +55,6 @@ EXE_LIBS = \
-lpyrolysisModels \
-lregionCoupling \
-llagrangianIntermediate \
-llagrangian \
-llagrangianTurbulence \
-lODE
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ EXE_LIBS = \
-lfluidThermophysicalModels \
-lspecie \
-lcompressibleRASModels \
-lcompressibleTurbulenceModel \
-lfiniteVolume \
-lsampling \
-lmeshTools \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ EXE_LIBS = \
-lfluidThermophysicalModels \
-lsolidThermo \
-lspecie \
-lmeshTools \
-lcompressibleTurbulenceModel \
-lcompressibleRASModels \
-lcompressibleLESModels \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude

EXE_LIBS = \
-lincompressibleTurbulenceModel \
-lincompressibleRASModels \
-lincompressibleTransportModels \
-lfiniteVolume
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ EXE_INC = \


EXE_LIBS = \
-lincompressibleTurbulenceModel \
-lincompressibleRASModels \
-lincompressibleTransportModels \
-lfiniteVolume \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ EXE_LIBS = \
-lfluidThermophysicalModels \
-lspecie \
-lradiationModels \
-lincompressibleTurbulenceModel \
-lincompressibleRASModels \
-lincompressibleLESModels \
-lincompressibleTransportModels \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ EXE_LIBS = \
-lradiationModels \
-lincompressibleRASModels \
-lincompressibleLESModels \
-lincompressibleTurbulenceModel \
-lincompressibleTransportModels \
-lfiniteVolume \
-lmeshTools \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ EXE_LIBS = \
-lfvOptions \
-lsampling \
-lmeshTools \
-lcompressibleTurbulenceModel \
-lcompressibleRASModels \
-lcompressibleLESModels \
-lspecie \
Expand All @@ -44,6 +45,8 @@ EXE_LIBS = \
-lradiationModels \
-lsurfaceFilmModels \
-lsurfaceFilmDerivedFvPatchFields \
-lliquidProperties \
-llagrangian \
-llagrangianIntermediate \
-llagrangianTurbulence \
-lODE \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ EXE_LIBS = \
-linterfaceProperties \
-lincompressibleTransportModels \
-lcompressibleMultiphaseEulerianInterfacialModels \
-lincompressibleTurbulenceModel \
-lincompressibleLESModels \
-lincompressibleRASModels \
-lfiniteVolume
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ EXE_INC = \
EXE_LIBS = \
-lblockMesh \
-lmeshTools \
-lfiniteVolume \
-ldynamicMesh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ EXE_INC = \

EXE_LIBS = \
$(CGAL_LIBS) \
-lboost_thread-mt \
-lgmp \
-lextrude2DMesh \
-lextrudeModel \
-lcv2DMesh \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
EXE_INC = \
/* -g -DFULLDEBUG -O0 */ \
-I$(LIB_SRC)/parallel/decompose/decompositionMethods/lnInclude \
-I$(LIB_SRC)/mesh/autoMesh/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
EXE_INC = \
/* -DFULLDEBUG -g -O0 */ \
${COMPILE_FLAGS} \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/dynamicMesh/lnInclude \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
/* EXE_INC = */
/* EXE_LIBS = */
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,8 @@ EXE_LIBS = \
-lmeshTools \
-lmolecularMeasurements \
-lmolecule \
/* -lmultiphaseInterFoam */ \
-lODE \
-lOpenFOAM \
/* -lphaseModel */ \
-lpotential \
-lradiationModels \
-lrandomProcesses \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ EXE_INC = \
-I$(LIB_SRC)/meshTools/lnInclude

EXE_LIBS = \
-lfiniteVolume \
-ldynamicMesh \
-lmeshTools
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
EXE_INC = \
/* -DFULLDEBUG -g -O0 */ \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/sampling/lnInclude \
Expand All @@ -11,4 +10,3 @@ EXE_LIBS = \
-lsampling \
-lgenericPatchFields \
-llagrangian

Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ EXE_LIBS = \
-lincompressibleTransportModels \
-lincompressibleRASModels \
-lincompressibleLESModels \
-lincompressibleTurbulenceModel \
-lfluidThermophysicalModels \
-lspecie \
-lcompressibleRASModels \
-lcompressibleLESModels \
-lcompressibleTurbulenceModel \
-lfiniteVolume \
-lfvOptions \
-lmeshTools \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude

EXE_LIBS = \
-lincompressibleTurbulenceModel \
-lincompressibleTransportModels \
-lincompressibleRASModels \
-lfluidThermophysicalModels \
-lspecie \
-lcompressibleTurbulenceModel \
-lcompressibleRASModels \
-lfiniteVolume \
-lgenericPatchFields \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ EXE_INC = \
-I$(LIB_SRC)/finiteVolume/lnInclude

EXE_LIBS = \
-lincompressibleTurbulenceModel \
-lincompressibleRASModels \
-lincompressibleTransportModels \
-lfiniteVolume \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ EXE_LIBS = \
-lincompressibleTransportModels \
-lincompressibleRASModels \
-lincompressibleLESModels \
-lincompressibleTurbulenceModel \
-lfluidThermophysicalModels \
-lspecie \
-lcompressibleRASModels \
-lcompressibleLESModels \
-lcompressibleTurbulenceModel \
-lfiniteVolume \
-lgenericPatchFields \
-lmeshTools
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ EXE_INC = \
EXE_LIBS = \
-lincompressibleTransportModels \
-lincompressibleRASModels \
-lincompressibleTurbulenceModel \
-lfluidThermophysicalModels \
-lspecie \
-lcompressibleRASModels \
-lcompressibleTurbulenceModel \
-lfiniteVolume \
-lgenericPatchFields
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ EXE_INC = \

EXE_LIBS = \
-lincompressibleLESModels \
-lincompressibleTurbulenceModel \
-lincompressibleTransportModels \
-lfiniteVolume \
-lgenericPatchFields
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ EXE_INC = \
EXE_LIBS = \
-lincompressibleTransportModels \
-lincompressibleRASModels \
-lincompressibleTurbulenceModel \
-lfluidThermophysicalModels \
-lspecie \
-lcompressibleRASModels \
-lcompressibleTurbulenceModel \
-lfiniteVolume \
-lgenericPatchFields \
-lmeshTools \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ EXE_INC = \

EXE_LIBS = \
-lfiniteVolume \
-lincompressibleTurbulenceModel \
-lincompressibleRASModels \
-lincompressibleLESModels \
-lincompressibleTransportModels \
Expand Down
49 changes: 49 additions & 0 deletions bin/addr2line4Mac.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#! /usr/bin/python

import sys
filename=sys.argv[1]
address=sys.argv[2]
import re
from os import environ,path

fullFile=None
if path.exists(filename):
fullFile=filename

for v in ["PATH","LD_LIBRARY_PATH"]:
if not fullFile:
for d in environ[v].split(':'):
if path.exists(path.join(d,filename)):
fullFile=path.join(d,filename)
break

if not fullFile:
fullFile=filename

answer="??:0"

if path.exists(fullFile):
import subprocess

result=subprocess.Popen(["xcrun", "atos",
"-o",fullFile,
address],
stdout=subprocess.PIPE
).communicate()[0]
match=re.compile('.+ \((.+)\) \((.+)\)').match(result)
if match:
answer=match.group(2)+" "+match.group(1)
else:
import os
result=subprocess.Popen(["xcrun", "atos",
"-p",str(os.getppid()),
address],
stdout=subprocess.PIPE
).communicate()[0]
match=re.compile('.+ \((.+)\) \((.+)\)').match(result)
if match:
answer=match.group(2)+" "+match.group(1)

print answer,

sys.exit(255)
22 changes: 20 additions & 2 deletions etc/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ foamCompiler=system

#- Compiler:
# WM_COMPILER = Gcc | Gcc45 | Gcc46 | Gcc47 | Clang | Icc (Intel icc)
export WM_COMPILER=Gcc
export WM_COMPILER=Gcc47
unset WM_COMPILER_ARCH WM_COMPILER_LIB_ARCH

#- Architecture:
Expand All @@ -81,7 +81,7 @@ export WM_COMPILE_OPTION=Opt
#- MPI implementation:
# WM_MPLIB = SYSTEMOPENMPI | OPENMPI | MPICH | MPICH-GM | HPMPI
# | GAMMA | MPI | QSMPI | SGIMPI
export WM_MPLIB=OPENMPI
export WM_MPLIB=SYSTEMOPENMPI

#- Operating System:
# WM_OSTYPE = POSIX | ???
Expand Down Expand Up @@ -199,6 +199,10 @@ cleaned=`$foamClean "$LD_LIBRARY_PATH" "$foamOldDirs"` \

#- Clean MANPATH
cleaned=`$foamClean "$MANPATH" "$foamOldDirs"` && MANPATH="$cleaned"
if [[ `uname -s` == "Darwin" ]]
then
cleaned=`$foamClean "$DYLD_LIBRARY_PATH" "$foamOldDirs"` && DYLD_LIBRARY_PATH="$cleaned"
fi

export PATH LD_LIBRARY_PATH MANPATH

Expand Down Expand Up @@ -237,10 +241,24 @@ then
export LD_PRELOAD
fi

if [[ `uname -s` == "Darwin" ]]
then
if [[ `ulimit -n` == "unlimited" || `ulimit -n` < 8192 ]]
then
# higher limit needed for wmkdeps
ulimit -n 8192
fi
fi

# cleanup environment:
# ~~~~~~~~~~~~~~~~~~~~
unset cleaned foamClean foamInstall foamOldDirs
unset _foamSource _foamEval

# ----------------------------------------------------------------- end-of-file

export WM_CC='gcc-mp-4.7'
export WM_CXX='g++-mp-4.7'
export WM_NCOMPPROCS=4
ulimit -n 1024

16 changes: 16 additions & 0 deletions etc/config/CGAL.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,22 @@ cgal_version=CGAL-4.3
export BOOST_ARCH_PATH=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$boost_version
export CGAL_ARCH_PATH=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$cgal_version

if [ -n "$WM_USE_MACPORT" ]
then
if [ -d "/opt/local/include/boost" ]
then
export BOOST_ARCH_PATH=/opt/local
else
echo "No boost in MacPorts. Install boost with 'port install boost'"
fi
if [ -d "/opt/local/include/CGAL" ]
then
export CGAL_ARCH_PATH=/opt/local
else
echo "No CGAL in MacPorts. Install CGAL with 'port install cgal'"
fi
fi

if [ "$FOAM_VERBOSE" -a "$PS1" ]
then
echo "Using CGAL and boost"
Expand Down
11 changes: 11 additions & 0 deletions etc/config/metis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,15 @@
export METIS_VERSION=metis-5.1.0
export METIS_ARCH_PATH=$WM_THIRD_PARTY_DIR/platforms/$WM_ARCH$WM_COMPILER/$METIS_VERSION

if [ -n "$WM_USE_MACPORT" ]
then
if [ -e "/opt/local/include/metis.h" ]
then
export METIS_ARCH_PATH=/opt/local
unset METIS_VERSION
else
echo "No metis in MacPorts. Install metis with 'port install metis'"
fi
fi

# -----------------------------------------------------------------------------
Loading