mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of /home/noisy3/OpenFOAM/OpenFOAM-dev
This commit is contained in:
@ -35,8 +35,6 @@
|
|||||||
alias _foamAddPath 'set path=(\!* $path)'
|
alias _foamAddPath 'set path=(\!* $path)'
|
||||||
# prefix to LD_LIBRARY_PATH
|
# prefix to LD_LIBRARY_PATH
|
||||||
alias _foamAddLib 'setenv LD_LIBRARY_PATH \!*\:${LD_LIBRARY_PATH}'
|
alias _foamAddLib 'setenv LD_LIBRARY_PATH \!*\:${LD_LIBRARY_PATH}'
|
||||||
# make directory if it doesn't already exist
|
|
||||||
alias _foamMkDir 'if ( ! -d \!* ) mkdir -p \!*'
|
|
||||||
|
|
||||||
# location of the jobControl directory
|
# location of the jobControl directory
|
||||||
setenv FOAM_JOB_DIR $WM_PROJECT_INST_DIR/jobControl
|
setenv FOAM_JOB_DIR $WM_PROJECT_INST_DIR/jobControl
|
||||||
@ -71,12 +69,6 @@ _foamAddPath $FOAM_USER_APPBIN
|
|||||||
_foamAddLib $FOAM_LIBBIN
|
_foamAddLib $FOAM_LIBBIN
|
||||||
_foamAddLib $FOAM_USER_LIBBIN
|
_foamAddLib $FOAM_USER_LIBBIN
|
||||||
|
|
||||||
# create these directories if necessary:
|
|
||||||
_foamMkDir $FOAM_LIBBIN
|
|
||||||
_foamMkDir $FOAM_APPBIN
|
|
||||||
_foamMkDir $FOAM_USER_LIBBIN
|
|
||||||
_foamMkDir $FOAM_USER_APPBIN
|
|
||||||
|
|
||||||
|
|
||||||
# Select compiler installation
|
# Select compiler installation
|
||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
@ -130,9 +122,6 @@ case OPENMPI:
|
|||||||
|
|
||||||
_foamAddPath $MPI_ARCH_PATH/bin
|
_foamAddPath $MPI_ARCH_PATH/bin
|
||||||
_foamAddLib $MPI_ARCH_PATH/lib
|
_foamAddLib $MPI_ARCH_PATH/lib
|
||||||
# before compiling, these directories may not exist:
|
|
||||||
_foamMkDir $MPI_ARCH_PATH/bin
|
|
||||||
_foamMkDir $MPI_ARCH_PATH/lib
|
|
||||||
|
|
||||||
setenv FOAM_MPI_LIBBIN $FOAM_LIBBIN/$mpi_version
|
setenv FOAM_MPI_LIBBIN $FOAM_LIBBIN/$mpi_version
|
||||||
unset mpi_version
|
unset mpi_version
|
||||||
@ -147,9 +136,6 @@ case LAM:
|
|||||||
|
|
||||||
_foamAddPath $MPI_ARCH_PATH/bin
|
_foamAddPath $MPI_ARCH_PATH/bin
|
||||||
_foamAddLib $MPI_ARCH_PATH/lib
|
_foamAddLib $MPI_ARCH_PATH/lib
|
||||||
# before compiling, these directories may not exist:
|
|
||||||
_foamMkDir $MPI_ARCH_PATH/bin
|
|
||||||
_foamMkDir $MPI_ARCH_PATH/lib
|
|
||||||
|
|
||||||
setenv FOAM_MPI_LIBBIN $FOAM_LIBBIN/$mpi_version
|
setenv FOAM_MPI_LIBBIN $FOAM_LIBBIN/$mpi_version
|
||||||
unset mpi_version
|
unset mpi_version
|
||||||
@ -163,9 +149,6 @@ case MPICH:
|
|||||||
|
|
||||||
_foamAddPath $MPI_ARCH_PATH/bin
|
_foamAddPath $MPI_ARCH_PATH/bin
|
||||||
_foamAddLib $MPI_ARCH_PATH/lib
|
_foamAddLib $MPI_ARCH_PATH/lib
|
||||||
# before compiling, these directories may not exist:
|
|
||||||
_foamMkDir $MPI_ARCH_PATH/bin
|
|
||||||
_foamMkDir $MPI_ARCH_PATH/lib
|
|
||||||
|
|
||||||
setenv FOAM_MPI_LIBBIN $FOAM_LIBBIN/$mpi_version
|
setenv FOAM_MPI_LIBBIN $FOAM_LIBBIN/$mpi_version
|
||||||
unset mpi_version
|
unset mpi_version
|
||||||
@ -180,9 +163,6 @@ case MPICH-GM:
|
|||||||
_foamAddPath $MPI_ARCH_PATH/bin
|
_foamAddPath $MPI_ARCH_PATH/bin
|
||||||
_foamAddLib $MPI_ARCH_PATH/lib
|
_foamAddLib $MPI_ARCH_PATH/lib
|
||||||
_foamAddLib $GM_LIB_PATH
|
_foamAddLib $GM_LIB_PATH
|
||||||
# before compiling, these directories may not exist:
|
|
||||||
_foamMkDir $MPI_ARCH_PATH/bin
|
|
||||||
_foamMkDir $MPI_ARCH_PATH/lib
|
|
||||||
|
|
||||||
setenv FOAM_MPI_LIBBIN $FOAM_LIBBIN/mpich-gm
|
setenv FOAM_MPI_LIBBIN $FOAM_LIBBIN/mpich-gm
|
||||||
breaksw
|
breaksw
|
||||||
@ -246,8 +226,6 @@ default:
|
|||||||
endsw
|
endsw
|
||||||
|
|
||||||
_foamAddLib $FOAM_MPI_LIBBIN
|
_foamAddLib $FOAM_MPI_LIBBIN
|
||||||
# before compiling, this directory may not exist:
|
|
||||||
_foamMkDir $FOAM_MPI_LIBBIN
|
|
||||||
|
|
||||||
|
|
||||||
# Set the minimum MPI buffer size (used by all platforms except SGI MPI)
|
# Set the minimum MPI buffer size (used by all platforms except SGI MPI)
|
||||||
@ -281,7 +259,6 @@ endif
|
|||||||
# ~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~
|
||||||
unalias _foamAddPath
|
unalias _foamAddPath
|
||||||
unalias _foamAddLib
|
unalias _foamAddLib
|
||||||
unalias _foamMkDir
|
|
||||||
unset minBufferSize
|
unset minBufferSize
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|||||||
@ -52,17 +52,6 @@ _foamAddLib()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# make directories if they don't already exist
|
|
||||||
_foamMkDir()
|
|
||||||
{
|
|
||||||
while [ $# -ge 1 ]
|
|
||||||
do
|
|
||||||
[ -d $1 ] || mkdir -p $1
|
|
||||||
shift
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# location of the jobControl directory
|
# location of the jobControl directory
|
||||||
export FOAM_JOB_DIR=$WM_PROJECT_INST_DIR/jobControl
|
export FOAM_JOB_DIR=$WM_PROJECT_INST_DIR/jobControl
|
||||||
|
|
||||||
@ -94,9 +83,6 @@ export PATH=$WM_DIR:$WM_PROJECT_DIR/bin:$PATH
|
|||||||
_foamAddPath $FOAM_APPBIN $FOAM_USER_APPBIN
|
_foamAddPath $FOAM_APPBIN $FOAM_USER_APPBIN
|
||||||
_foamAddLib $FOAM_LIBBIN $FOAM_USER_LIBBIN
|
_foamAddLib $FOAM_LIBBIN $FOAM_USER_LIBBIN
|
||||||
|
|
||||||
# create these directories if necessary:
|
|
||||||
_foamMkDir $FOAM_LIBBIN $FOAM_USER_LIBBIN $FOAM_APPBIN $FOAM_USER_APPBIN
|
|
||||||
|
|
||||||
|
|
||||||
# Compiler settings
|
# Compiler settings
|
||||||
# ~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~
|
||||||
@ -160,8 +146,6 @@ OPENMPI)
|
|||||||
|
|
||||||
_foamAddPath $MPI_ARCH_PATH/bin
|
_foamAddPath $MPI_ARCH_PATH/bin
|
||||||
_foamAddLib $MPI_ARCH_PATH/lib
|
_foamAddLib $MPI_ARCH_PATH/lib
|
||||||
# before compiling, these directories may not exist:
|
|
||||||
_foamMkDir $MPI_ARCH_PATH/bin $MPI_ARCH_PATH/lib
|
|
||||||
|
|
||||||
export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/$mpi_version
|
export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/$mpi_version
|
||||||
unset mpi_version
|
unset mpi_version
|
||||||
@ -176,8 +160,6 @@ LAM)
|
|||||||
|
|
||||||
_foamAddPath $MPI_ARCH_PATH/bin
|
_foamAddPath $MPI_ARCH_PATH/bin
|
||||||
_foamAddLib $MPI_ARCH_PATH/lib
|
_foamAddLib $MPI_ARCH_PATH/lib
|
||||||
# before compiling, these directories may not exist:
|
|
||||||
_foamMkDir $MPI_ARCH_PATH/bin $MPI_ARCH_PATH/lib
|
|
||||||
|
|
||||||
export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/$mpi_version
|
export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/$mpi_version
|
||||||
unset mpi_version
|
unset mpi_version
|
||||||
@ -191,8 +173,6 @@ MPICH)
|
|||||||
|
|
||||||
_foamAddPath $MPI_ARCH_PATH/bin
|
_foamAddPath $MPI_ARCH_PATH/bin
|
||||||
_foamAddLib $MPI_ARCH_PATH/lib
|
_foamAddLib $MPI_ARCH_PATH/lib
|
||||||
# before compiling, these directories may not exist:
|
|
||||||
_foamMkDir $MPI_ARCH_PATH/bin $MPI_ARCH_PATH/lib
|
|
||||||
|
|
||||||
export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/$mpi_version
|
export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/$mpi_version
|
||||||
unset mpi_version
|
unset mpi_version
|
||||||
@ -207,8 +187,6 @@ MPICH-GM)
|
|||||||
_foamAddPath $MPI_ARCH_PATH/bin
|
_foamAddPath $MPI_ARCH_PATH/bin
|
||||||
_foamAddLib $MPI_ARCH_PATH/lib
|
_foamAddLib $MPI_ARCH_PATH/lib
|
||||||
_foamAddLib $GM_LIB_PATH
|
_foamAddLib $GM_LIB_PATH
|
||||||
# before compiling, these directories may not exist:
|
|
||||||
_foamMkDir $MPI_ARCH_PATH/bin $MPI_ARCH_PATH/lib
|
|
||||||
|
|
||||||
export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/mpich-gm
|
export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/mpich-gm
|
||||||
;;
|
;;
|
||||||
@ -274,8 +252,6 @@ QSMPI)
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
_foamAddLib $FOAM_MPI_LIBBIN
|
_foamAddLib $FOAM_MPI_LIBBIN
|
||||||
# before compiling, this directory may not exist:
|
|
||||||
_foamMkDir $FOAM_MPI_LIBBIN
|
|
||||||
|
|
||||||
|
|
||||||
# Set the minimum MPI buffer size (used by all platforms except SGI MPI)
|
# Set the minimum MPI buffer size (used by all platforms except SGI MPI)
|
||||||
@ -304,6 +280,6 @@ export MPI_BUFFER_SIZE
|
|||||||
|
|
||||||
# cleanup environment:
|
# cleanup environment:
|
||||||
# ~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~
|
||||||
unset _foamAddPath _foamAddLib _foamMkDir minBufferSize
|
unset _foamAddPath _foamAddLib minBufferSize
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|||||||
@ -29,8 +29,8 @@ Description
|
|||||||
Foam::SIBS
|
Foam::SIBS
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
SIBSCK.C
|
SIMPR.C
|
||||||
SIBSQS.C
|
polyExtrapolate.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
@ -61,7 +61,7 @@ class SIBS
|
|||||||
|
|
||||||
mutable scalarField a_;
|
mutable scalarField a_;
|
||||||
mutable scalarSquareMatrix alpha_;
|
mutable scalarSquareMatrix alpha_;
|
||||||
mutable scalarSquareMatrix d_p_;
|
mutable scalarRectangularMatrix d_p_;
|
||||||
mutable scalarField x_p_;
|
mutable scalarField x_p_;
|
||||||
mutable scalarField err_;
|
mutable scalarField err_;
|
||||||
|
|
||||||
@ -75,30 +75,31 @@ class SIBS
|
|||||||
mutable scalar epsOld_, xNew_;
|
mutable scalar epsOld_, xNew_;
|
||||||
|
|
||||||
|
|
||||||
void SIMPR
|
// Private member functions
|
||||||
(
|
|
||||||
const ODE& ode,
|
|
||||||
const scalar xStart,
|
|
||||||
const scalarField& y,
|
|
||||||
const scalarField& dydx,
|
|
||||||
const scalarField& dfdx,
|
|
||||||
const scalarSquareMatrix& dfdy,
|
|
||||||
const scalar deltaX,
|
|
||||||
const label nSteps,
|
|
||||||
scalarField& yEnd
|
|
||||||
) const;
|
|
||||||
|
|
||||||
|
void SIMPR
|
||||||
|
(
|
||||||
|
const ODE& ode,
|
||||||
|
const scalar xStart,
|
||||||
|
const scalarField& y,
|
||||||
|
const scalarField& dydx,
|
||||||
|
const scalarField& dfdx,
|
||||||
|
const scalarSquareMatrix& dfdy,
|
||||||
|
const scalar deltaX,
|
||||||
|
const label nSteps,
|
||||||
|
scalarField& yEnd
|
||||||
|
) const;
|
||||||
|
|
||||||
void polyExtrapolate
|
void polyExtrapolate
|
||||||
(
|
(
|
||||||
const label iest,
|
const label iest,
|
||||||
const scalar xest,
|
const scalar xest,
|
||||||
const scalarField& yest,
|
const scalarField& yest,
|
||||||
scalarField& yz,
|
scalarField& yz,
|
||||||
scalarField& dy,
|
scalarField& dy,
|
||||||
scalarField& x_p,
|
scalarField& x_p,
|
||||||
scalarSquareMatrix& d_p
|
scalarRectangularMatrix& d_p
|
||||||
) const;
|
) const;
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@ -36,7 +36,7 @@ void Foam::SIBS::polyExtrapolate
|
|||||||
scalarField& yz,
|
scalarField& yz,
|
||||||
scalarField& dy,
|
scalarField& dy,
|
||||||
scalarField& x,
|
scalarField& x,
|
||||||
scalarSquareMatrix& d
|
scalarRectangularMatrix& d
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
label n = yz.size();
|
label n = yz.size();
|
||||||
|
|||||||
@ -13,7 +13,7 @@ reactingMixture = $(mixtures)/reactingMixture
|
|||||||
$(chemistryReader)/chemistryReader.C
|
$(chemistryReader)/chemistryReader.C
|
||||||
$(foamChemistryReader)/foamChemistryReader.C
|
$(foamChemistryReader)/foamChemistryReader.C
|
||||||
$(chemkinReader)/chemkinReader.C
|
$(chemkinReader)/chemkinReader.C
|
||||||
$(chemkinReader)/chemkinLexer.C
|
$(chemkinReader)/chemkinLexer.L
|
||||||
|
|
||||||
$(combustionMixture)/combustionMixture.C
|
$(combustionMixture)/combustionMixture.C
|
||||||
$(reactingMixture)/reactingMixture.C
|
$(reactingMixture)/reactingMixture.C
|
||||||
|
|||||||
Reference in New Issue
Block a user