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:
@ -114,6 +114,7 @@ void Foam::regionModels::regionModel1D::initialise()
|
|||||||
boundaryFaceCells_[localPyrolysisFaceI].transfer(cellIDs);
|
boundaryFaceCells_[localPyrolysisFaceI].transfer(cellIDs);
|
||||||
|
|
||||||
localPyrolysisFaceI++;
|
localPyrolysisFaceI++;
|
||||||
|
nLayers_ = nCells;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -266,6 +267,7 @@ Foam::regionModels::regionModel1D::regionModel1D(const fvMesh& mesh)
|
|||||||
boundaryFaceFaces_(),
|
boundaryFaceFaces_(),
|
||||||
boundaryFaceCells_(),
|
boundaryFaceCells_(),
|
||||||
boundaryFaceOppositeFace_(),
|
boundaryFaceOppositeFace_(),
|
||||||
|
nLayers_(0),
|
||||||
nMagSfPtr_(NULL),
|
nMagSfPtr_(NULL),
|
||||||
moveMesh_(false)
|
moveMesh_(false)
|
||||||
{}
|
{}
|
||||||
@ -283,6 +285,7 @@ Foam::regionModels::regionModel1D::regionModel1D
|
|||||||
boundaryFaceFaces_(regionMesh().nCells()),
|
boundaryFaceFaces_(regionMesh().nCells()),
|
||||||
boundaryFaceCells_(regionMesh().nCells()),
|
boundaryFaceCells_(regionMesh().nCells()),
|
||||||
boundaryFaceOppositeFace_(regionMesh().nCells()),
|
boundaryFaceOppositeFace_(regionMesh().nCells()),
|
||||||
|
nLayers_(0),
|
||||||
nMagSfPtr_(NULL),
|
nMagSfPtr_(NULL),
|
||||||
moveMesh_(true)
|
moveMesh_(true)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -88,6 +88,9 @@ protected:
|
|||||||
//- Global boundary face IDs oppossite coupled patch
|
//- Global boundary face IDs oppossite coupled patch
|
||||||
labelList boundaryFaceOppositeFace_;
|
labelList boundaryFaceOppositeFace_;
|
||||||
|
|
||||||
|
//- Number of layers in the region
|
||||||
|
label nLayers_;
|
||||||
|
|
||||||
|
|
||||||
// Geometry
|
// Geometry
|
||||||
|
|
||||||
@ -157,6 +160,9 @@ public:
|
|||||||
|
|
||||||
//- Return the face area magnitudes / [m2]
|
//- Return the face area magnitudes / [m2]
|
||||||
inline const surfaceScalarField& nMagSf() const;
|
inline const surfaceScalarField& nMagSf() const;
|
||||||
|
|
||||||
|
//- Return the number of layers in the region
|
||||||
|
inline label nLayers() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -65,4 +65,10 @@ Foam::regionModels::regionModel1D::nMagSf() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
inline Foam::label Foam::regionModels::regionModel1D::nLayers() const
|
||||||
|
{
|
||||||
|
return nLayers_;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
Reference in New Issue
Block a user