Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev

This commit is contained in:
andy
2009-04-03 13:19:24 +01:00
65 changed files with 200 additions and 76 deletions

View File

@ -18,7 +18,8 @@ wmake libso triSurface
wmake libso edgeMesh
wmake libso surfMesh
decompositionAgglomeration/Allwmake
# Decomposition methods needed by meshTools
decompositionMethods/Allwmake
wmake libso meshTools
wmake libso finiteVolume
@ -44,4 +45,6 @@ conversion/Allwmake
wmake libso autoMesh
wmake libso errorEstimation
fvAgglomerationMethods/Allwmake
# ----------------------------------------------------------------- end-of-file

View File

@ -1,5 +1,5 @@
EXE_INC = \
-I$(LIB_SRC)/decompositionAgglomeration/decompositionMethods/lnInclude \
-I$(LIB_SRC)/decompositionMethods/decompositionMethods/lnInclude \
-I$(LIB_SRC)/dynamicMesh/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \
-I$(LIB_SRC)/lagrangian/basic/lnInclude \

View File

@ -1212,6 +1212,17 @@ void Foam::meshRefinement::findCellZoneTopo
// by changing cell zone every time we cross a surface.
while (true)
{
// Synchronise regionToCellZone.
// Note:
// - region numbers are identical on all processors
// - keepRegion is identical ,,
// - cellZones are identical ,,
// This done at top of loop to account for geometric matching
// not being synchronised.
Pstream::listCombineGather(regionToCellZone, maxEqOp<label>());
Pstream::listCombineScatter(regionToCellZone);
bool changed = false;
// Internal faces
@ -1292,14 +1303,6 @@ void Foam::meshRefinement::findCellZoneTopo
{
break;
}
// Synchronise regionToCellZone.
// Note:
// - region numbers are identical on all processors
// - keepRegion is identical ,,
// - cellZones are identical ,,
Pstream::listCombineGather(regionToCellZone, maxEqOp<label>());
Pstream::listCombineScatter(regionToCellZone);
}

View File

@ -9,6 +9,4 @@ then
(WM_OPTIONS=${WM_OPTIONS}$WM_MPLIB; wmake libso parMetisDecomp)
fi
wmake libso MGridGenGamgAgglomeration
# ----------------------------------------------------------------- end-of-file

View File

@ -0,0 +1,7 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
set -x
wmake libso MGridGenGamgAgglomeration
# ----------------------------------------------------------------- end-of-file

View File

@ -329,6 +329,9 @@ public:
//- Return current particle position
inline vector& position();
//- Return current cell particle is in
inline label& cell();
//- Return current cell particle is in
inline label cell() const;

View File

@ -303,6 +303,12 @@ inline label Particle<ParticleType>::cell() const
return celli_;
}
template<class ParticleType>
inline label& Particle<ParticleType>::cell()
{
return celli_;
}
template<class ParticleType>
inline label Particle<ParticleType>::face() const

View File

@ -1,6 +1,6 @@
EXE_INC = \
-I$(LIB_SRC)/triSurface/lnInclude \
-I$(LIB_SRC)/decompositionAgglomeration/decompositionMethods/lnInclude \
-I$(LIB_SRC)/decompositionMethods/decompositionMethods/lnInclude \
-I$(LIB_SRC)/lagrangian/basic/lnInclude
LIB_LIBS = \

View File

@ -13,7 +13,7 @@ reactingMixture = $(mixtures)/reactingMixture
$(chemistryReader)/chemistryReader.C
$(foamChemistryReader)/foamChemistryReader.C
$(chemkinReader)/chemkinReader.C
$(chemkinReader)/chemkinLexer.C
$(chemkinReader)/chemkinLexer.L
$(combustionMixture)/combustionMixture.C
$(reactingMixture)/reactingMixture.C

View File

@ -30,6 +30,9 @@ Description
\*---------------------------------------------------------------------------*/
#ifndef radiationConstants_H
#define radiationConstants_H
#include "dimensionedScalar.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -43,5 +46,8 @@ namespace radiation
}
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#endif
// ************************************************************************* //

View File

@ -265,10 +265,10 @@ bool Foam::radiation::fvDOM::read()
{
if (radiationModel::read())
{
// nothing to read
// Only reading solution parameters - not changing ray geometry
// coeffs_.lookup("nTheta") >> nTheta_;
// coeffs_.lookup("nPhi") >> nPhi_;
coeffs_.readIfPresent("convergence", convergence_);
coeffs_.readIfPresent("maxIter", maxIter_);
return true;
}

View File

@ -128,7 +128,7 @@ void Foam::radiation::radiationModel::correct()
return;
}
if ((time_.timeIndex() == 0) || (time_.timeIndex() % solverFreq_ == 0))
if (time_.timeIndex() % solverFreq_ == 0)
{
calculate();
}