mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
This commit is contained in:
@ -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
|
||||
|
||||
@ -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 \
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -9,6 +9,4 @@ then
|
||||
(WM_OPTIONS=${WM_OPTIONS}$WM_MPLIB; wmake libso parMetisDecomp)
|
||||
fi
|
||||
|
||||
wmake libso MGridGenGamgAgglomeration
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
7
src/fvAgglomerationMethods/Allwmake
Executable file
7
src/fvAgglomerationMethods/Allwmake
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
set -x
|
||||
|
||||
wmake libso MGridGenGamgAgglomeration
|
||||
|
||||
# ----------------------------------------------------------------- end-of-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;
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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 = \
|
||||
|
||||
@ -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
|
||||
|
||||
@ -30,6 +30,9 @@ Description
|
||||
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef radiationConstants_H
|
||||
#define radiationConstants_H
|
||||
|
||||
#include "dimensionedScalar.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -43,5 +46,8 @@ namespace radiation
|
||||
}
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
#endif
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -128,7 +128,7 @@ void Foam::radiation::radiationModel::correct()
|
||||
return;
|
||||
}
|
||||
|
||||
if ((time_.timeIndex() == 0) || (time_.timeIndex() % solverFreq_ == 0))
|
||||
if (time_.timeIndex() % solverFreq_ == 0)
|
||||
{
|
||||
calculate();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user