mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Updated headers to ensure the class name declared to Doxygen is in the appropriate namespace
Also moved global classes which should be in the Foam namespace into it.
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
adjointOutletPressureFvPatchScalarField
|
Foam::adjointOutletPressureFvPatchScalarField
|
||||||
|
|
||||||
Description
|
Description
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
adjointOutletVelocityFvPatchVectorField
|
Foam::adjointOutletVelocityFvPatchVectorField
|
||||||
|
|
||||||
Description
|
Description
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
incompressibleThreePhaseMixture
|
Foam::incompressibleThreePhaseMixture
|
||||||
|
|
||||||
Description
|
Description
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
threePhaseInterfaceProperties
|
Foam::threePhaseInterfaceProperties
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Properties to aid interFoam :
|
Properties to aid interFoam :
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -30,7 +30,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void sammMesh::calcPointCells() const
|
void Foam::sammMesh::calcPointCells() const
|
||||||
{
|
{
|
||||||
static const label UNIT_POINT_CELLS = 12;
|
static const label UNIT_POINT_CELLS = 12;
|
||||||
|
|
||||||
@ -125,7 +125,7 @@ void sammMesh::calcPointCells() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const labelListList& sammMesh::pointCells() const
|
const Foam::labelListList& Foam::sammMesh::pointCells() const
|
||||||
{
|
{
|
||||||
if (!pointCellsPtr_)
|
if (!pointCellsPtr_)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -30,9 +30,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
// Specialist version of face comparison to deal with
|
bool Foam::sammMesh::sammEqualFace
|
||||||
// PROSTAR boundary format idiosyncracies
|
|
||||||
bool sammMesh::sammEqualFace
|
|
||||||
(
|
(
|
||||||
const face& boundaryFace,
|
const face& boundaryFace,
|
||||||
const face& cellFace
|
const face& cellFace
|
||||||
@ -70,7 +68,7 @@ bool sammMesh::sammEqualFace
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void sammMesh::createBoundaryFaces()
|
void Foam::sammMesh::createBoundaryFaces()
|
||||||
{
|
{
|
||||||
forAll(boundary_, patchI)
|
forAll(boundary_, patchI)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -31,7 +31,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void sammMesh::createPolyBoundary()
|
void Foam::sammMesh::createPolyBoundary()
|
||||||
{
|
{
|
||||||
label nBoundaryFacesFound = 0;
|
label nBoundaryFacesFound = 0;
|
||||||
|
|
||||||
@ -115,7 +115,10 @@ void sammMesh::createPolyBoundary()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
List<polyPatch* > sammMesh::polyBoundaryPatches(const polyMesh& pMesh)
|
Foam::List<Foam::polyPatch* > Foam::sammMesh::polyBoundaryPatches
|
||||||
|
(
|
||||||
|
const polyMesh& pMesh
|
||||||
|
)
|
||||||
{
|
{
|
||||||
List<polyPatch* > p(boundary_.size());
|
List<polyPatch* > p(boundary_.size());
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -30,7 +30,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void sammMesh::createPolyCells()
|
void Foam::sammMesh::createPolyCells()
|
||||||
{
|
{
|
||||||
// loop through all cell faces and create connectivity. This will produce
|
// loop through all cell faces and create connectivity. This will produce
|
||||||
// a global face list and will describe all cells as lists of face labels
|
// a global face list and will describe all cells as lists of face labels
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -23,15 +23,11 @@ License
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "error.H"
|
|
||||||
#include "sammMesh.H"
|
#include "sammMesh.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void sammMesh::fillSammAddressingTable()
|
void Foam::sammMesh::fillSammAddressingTable()
|
||||||
{
|
{
|
||||||
// SAMM trim type 1: 8 models
|
// SAMM trim type 1: 8 models
|
||||||
static label SammTrim1Rot0[10] = {1, 5, 6, 2, 8, 10, 4, 7, 3, 9};
|
static label SammTrim1Rot0[10] = {1, 5, 6, 2, 8, 10, 4, 7, 3, 9};
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -26,16 +26,11 @@ Description
|
|||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "error.H"
|
|
||||||
|
|
||||||
#include "sammMesh.H"
|
#include "sammMesh.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void sammMesh::fillSammCellShapeTable()
|
void Foam::sammMesh::fillSammCellShapeTable()
|
||||||
{
|
{
|
||||||
// Fill the list by hand
|
// Fill the list by hand
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -30,7 +30,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void sammMesh::fixCollapsedEdges()
|
void Foam::sammMesh::fixCollapsedEdges()
|
||||||
{
|
{
|
||||||
cellFaces_.setSize(cellShapes_.size());
|
cellFaces_.setSize(cellShapes_.size());
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -30,7 +30,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void sammMesh::purgeCellShapes()
|
void Foam::sammMesh::purgeCellShapes()
|
||||||
{
|
{
|
||||||
forAll(cellFaces_, cellI)
|
forAll(cellFaces_, cellI)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -36,7 +36,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void sammMesh::readBoundary()
|
void Foam::sammMesh::readBoundary()
|
||||||
{
|
{
|
||||||
label nPatches=0, nFaces=0;
|
label nPatches=0, nFaces=0;
|
||||||
labelList nPatchFaces(1000);
|
labelList nPatchFaces(1000);
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -31,7 +31,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void sammMesh::addRegularCell
|
void Foam::sammMesh::addRegularCell
|
||||||
(
|
(
|
||||||
const labelList& labels,
|
const labelList& labels,
|
||||||
const label nCreatedCells
|
const label nCreatedCells
|
||||||
@ -135,7 +135,7 @@ void sammMesh::addRegularCell
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void sammMesh::addSAMMcell
|
void Foam::sammMesh::addSAMMcell
|
||||||
(
|
(
|
||||||
const label typeFlag,
|
const label typeFlag,
|
||||||
const labelList& globalLabels,
|
const labelList& globalLabels,
|
||||||
@ -171,7 +171,7 @@ void sammMesh::addSAMMcell
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void sammMesh::readCells()
|
void Foam::sammMesh::readCells()
|
||||||
{
|
{
|
||||||
label nCells = 0;
|
label nCells = 0;
|
||||||
label maxLabel = -1;
|
label maxLabel = -1;
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -31,7 +31,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void sammMesh::readCouples()
|
void Foam::sammMesh::readCouples()
|
||||||
{
|
{
|
||||||
fileName couplesFileName(casePrefix_ + ".cpl");
|
fileName couplesFileName(casePrefix_ + ".cpl");
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -31,21 +31,33 @@ License
|
|||||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||||
|
|
||||||
// Cell shape models
|
// Cell shape models
|
||||||
const cellModel* sammMesh::unknownPtr_ = cellModeller::lookup("unknown");
|
const Foam::cellModel* Foam::sammMesh::unknownPtr_ =
|
||||||
const cellModel* sammMesh::hexPtr_ = cellModeller::lookup("hex");
|
Foam::cellModeller::lookup("unknown");
|
||||||
const cellModel* sammMesh::wedgePtr_ = cellModeller::lookup("wedge");
|
const Foam::cellModel* Foam::sammMesh::hexPtr_ =
|
||||||
const cellModel* sammMesh::prismPtr_ = cellModeller::lookup("prism");
|
Foam::cellModeller::lookup("hex");
|
||||||
const cellModel* sammMesh::pyrPtr_ = cellModeller::lookup("pyr");
|
const Foam::cellModel* Foam::sammMesh::wedgePtr_ =
|
||||||
const cellModel* sammMesh::tetPtr_ = cellModeller::lookup("tet");
|
Foam::cellModeller::lookup("wedge");
|
||||||
const cellModel* sammMesh::tetWedgePtr_ = cellModeller::lookup("tetWedge");
|
const Foam::cellModel* Foam::sammMesh::prismPtr_ =
|
||||||
|
Foam::cellModeller::lookup("prism");
|
||||||
|
const Foam::cellModel* Foam::sammMesh::pyrPtr_ =
|
||||||
|
Foam::cellModeller::lookup("pyr");
|
||||||
|
const Foam::cellModel* Foam::sammMesh::tetPtr_ =
|
||||||
|
Foam::cellModeller::lookup("tet");
|
||||||
|
const Foam::cellModel* Foam::sammMesh::tetWedgePtr_ =
|
||||||
|
Foam::cellModeller::lookup("tetWedge");
|
||||||
|
|
||||||
const cellModel* sammMesh::sammTrim1Ptr_ = cellModeller::lookup("sammTrim1");
|
const Foam::cellModel* Foam::sammMesh::sammTrim1Ptr_ =
|
||||||
const cellModel* sammMesh::sammTrim2Ptr_ = cellModeller::lookup("sammTrim2");
|
Foam::cellModeller::lookup("sammTrim1");
|
||||||
const cellModel* sammMesh::sammTrim3Ptr_ = cellModeller::lookup("sammTrim3");
|
const Foam::cellModel* Foam::sammMesh::sammTrim2Ptr_ =
|
||||||
const cellModel* sammMesh::sammTrim4Ptr_ = cellModeller::lookup("sammTrim4");
|
Foam::cellModeller::lookup("sammTrim2");
|
||||||
const cellModel* sammMesh::sammTrim5Ptr_ = cellModeller::lookup("sammTrim5");
|
const Foam::cellModel* Foam::sammMesh::sammTrim3Ptr_ =
|
||||||
const cellModel* sammMesh::sammTrim8Ptr_ =
|
Foam::cellModeller::lookup("sammTrim3");
|
||||||
cellModeller::lookup("hexagonalPrism");
|
const Foam::cellModel* Foam::sammMesh::sammTrim4Ptr_ =
|
||||||
|
Foam::cellModeller::lookup("sammTrim4");
|
||||||
|
const Foam::cellModel* Foam::sammMesh::sammTrim5Ptr_ =
|
||||||
|
Foam::cellModeller::lookup("sammTrim5");
|
||||||
|
const Foam::cellModel* Foam::sammMesh::sammTrim8Ptr_ =
|
||||||
|
Foam::cellModeller::lookup("hexagonalPrism");
|
||||||
|
|
||||||
// lookup table giving OpenFOAM face number when looked up with shape index
|
// lookup table giving OpenFOAM face number when looked up with shape index
|
||||||
// (first index) and STAR face number
|
// (first index) and STAR face number
|
||||||
@ -59,7 +71,7 @@ const cellModel* sammMesh::sammTrim8Ptr_ =
|
|||||||
// However, at the moment I haven't got enough info to complete the toble and
|
// However, at the moment I haven't got enough info to complete the toble and
|
||||||
// there are no cases that break it. Please reconsider in the light of mode
|
// there are no cases that break it. Please reconsider in the light of mode
|
||||||
// information.
|
// information.
|
||||||
const label sammMesh::shapeFaceLookup[19][9] =
|
const Foam::label Foam::sammMesh::shapeFaceLookup[19][9] =
|
||||||
{
|
{
|
||||||
{-1, -1, -1, -1, -1, -1, -1, -1, -1}, // shape 0 - empty+
|
{-1, -1, -1, -1, -1, -1, -1, -1, -1}, // shape 0 - empty+
|
||||||
{-1, -1, -1, -1, -1, -1, -1, -1, -1}, // shape 1 - empty+
|
{-1, -1, -1, -1, -1, -1, -1, -1, -1}, // shape 1 - empty+
|
||||||
@ -87,22 +99,22 @@ const label sammMesh::shapeFaceLookup[19][9] =
|
|||||||
|
|
||||||
// List of pointers used instead of pointer list o avoid
|
// List of pointers used instead of pointer list o avoid
|
||||||
// de-allocation problems
|
// de-allocation problems
|
||||||
List<const cellModel*> sammMesh::sammShapeLookup
|
Foam::List<const Foam::cellModel*> Foam::sammMesh::sammShapeLookup
|
||||||
(
|
(
|
||||||
256,
|
256,
|
||||||
reinterpret_cast<cellModel*>(0)
|
reinterpret_cast<cellModel*>(0)
|
||||||
);
|
);
|
||||||
|
|
||||||
List<const label*> sammMesh::sammAddressingTable
|
Foam::List<const Foam::label*> Foam::sammMesh::sammAddressingTable
|
||||||
(
|
(
|
||||||
256,
|
256,
|
||||||
reinterpret_cast<label*>(0)
|
reinterpret_cast<label*>(0)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
// Make polyhedral mesh data (packing)
|
void Foam::sammMesh::createPolyMeshData()
|
||||||
void sammMesh::createPolyMeshData()
|
|
||||||
{
|
{
|
||||||
Info<< "Creating a polyMesh" << endl;
|
Info<< "Creating a polyMesh" << endl;
|
||||||
|
|
||||||
@ -146,10 +158,10 @@ void sammMesh::createPolyMeshData()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
// Construct from components
|
Foam::sammMesh::sammMesh
|
||||||
sammMesh::sammMesh
|
|
||||||
(
|
(
|
||||||
const fileName& prefix,
|
const fileName& prefix,
|
||||||
const Time& rt,
|
const Time& rt,
|
||||||
@ -199,13 +211,10 @@ sammMesh::sammMesh
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
sammMesh::~sammMesh()
|
Foam::sammMesh::~sammMesh()
|
||||||
{
|
{
|
||||||
deleteDemandDrivenData(pointCellsPtr_);
|
deleteDemandDrivenData(pointCellsPtr_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -42,14 +42,10 @@ SourceFiles
|
|||||||
#include "cellList.H"
|
#include "cellList.H"
|
||||||
#include "polyPatchList.H"
|
#include "polyPatchList.H"
|
||||||
|
|
||||||
#ifndef namespaceFoam
|
|
||||||
#define namespaceFoam
|
|
||||||
using namespace Foam;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
// Forward declaration of classes
|
namespace Foam
|
||||||
|
{
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class sammMesh Declaration
|
Class sammMesh Declaration
|
||||||
@ -224,9 +220,6 @@ class sammMesh
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
// Static data members
|
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from case name
|
//- Construct from case name
|
||||||
@ -246,18 +239,13 @@ public:
|
|||||||
|
|
||||||
//- Write mesh
|
//- Write mesh
|
||||||
void writeMesh();
|
void writeMesh();
|
||||||
|
|
||||||
// Member Operators
|
|
||||||
|
|
||||||
// Friend Functions
|
|
||||||
|
|
||||||
// Friend Operators
|
|
||||||
|
|
||||||
// IOstream Operators
|
|
||||||
// Ostream Operator
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
} // End namespace Foam
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,6 +33,8 @@ Description
|
|||||||
#include "Time.H"
|
#include "Time.H"
|
||||||
#include "sammMesh.H"
|
#include "sammMesh.H"
|
||||||
|
|
||||||
|
using namespace Foam;
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -32,7 +32,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void sammMesh::writeMesh()
|
void Foam::sammMesh::writeMesh()
|
||||||
{
|
{
|
||||||
if (isShapeMesh_)
|
if (isShapeMesh_)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -30,7 +30,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void starMesh::calcPointCells() const
|
void Foam::starMesh::calcPointCells() const
|
||||||
{
|
{
|
||||||
static const label UNIT_POINT_CELLS = 12;
|
static const label UNIT_POINT_CELLS = 12;
|
||||||
|
|
||||||
@ -125,7 +125,7 @@ void starMesh::calcPointCells() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const labelListList& starMesh::pointCells() const
|
const Foam::labelListList& Foam::starMesh::pointCells() const
|
||||||
{
|
{
|
||||||
if (!pointCellsPtr_)
|
if (!pointCellsPtr_)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -28,17 +28,11 @@ Description
|
|||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#include "coupledFacePair.H"
|
#include "coupledFacePair.H"
|
||||||
#include "error.H"
|
#include "IOstreams.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
namespace Foam
|
|
||||||
{
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
// Construct from components
|
Foam::coupledFacePair::coupledFacePair
|
||||||
coupledFacePair::coupledFacePair
|
|
||||||
(
|
(
|
||||||
const label coupleNo,
|
const label coupleNo,
|
||||||
const label mC, const label mF,
|
const label mC, const label mF,
|
||||||
@ -55,12 +49,9 @@ coupledFacePair::coupledFacePair
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * Friend Operators * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Friend Operators * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Ostream& operator<<(Ostream& os, const coupledFacePair& c)
|
Foam::Ostream& Foam::operator<<(Ostream& os, const coupledFacePair& c)
|
||||||
{
|
{
|
||||||
os << "Master cell: " << c.masterCellID_
|
os << "Master cell: " << c.masterCellID_
|
||||||
<< " face: " << c.masterFaceID_ << endl
|
<< " face: " << c.masterFaceID_ << endl
|
||||||
@ -72,8 +63,4 @@ Ostream& operator<<(Ostream& os, const coupledFacePair& c)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
} // End namespace Foam
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -32,7 +32,7 @@ Description
|
|||||||
|
|
||||||
// Specialist version of face comparison to deal with
|
// Specialist version of face comparison to deal with
|
||||||
// PROSTAR boundary format idiosyncracies
|
// PROSTAR boundary format idiosyncracies
|
||||||
bool starMesh::starEqualFace
|
bool Foam::starMesh::starEqualFace
|
||||||
(
|
(
|
||||||
const face& boundaryFace,
|
const face& boundaryFace,
|
||||||
const face& cellFace
|
const face& cellFace
|
||||||
@ -91,7 +91,7 @@ bool starMesh::starEqualFace
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void starMesh::markBoundaryFaces()
|
void Foam::starMesh::markBoundaryFaces()
|
||||||
{
|
{
|
||||||
// set size of mark lists for the boundary
|
// set size of mark lists for the boundary
|
||||||
boundaryCellIDs_.setSize(boundary_.size());
|
boundaryCellIDs_.setSize(boundary_.size());
|
||||||
@ -175,7 +175,7 @@ void starMesh::markBoundaryFaces()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void starMesh::collectBoundaryFaces()
|
void Foam::starMesh::collectBoundaryFaces()
|
||||||
{
|
{
|
||||||
Info<< "Collecting boundary faces" << endl;
|
Info<< "Collecting boundary faces" << endl;
|
||||||
forAll(boundary_, patchI)
|
forAll(boundary_, patchI)
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -36,7 +36,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void starMesh::createCoupleMatches()
|
void Foam::starMesh::createCoupleMatches()
|
||||||
{
|
{
|
||||||
// Loop through all couples and create intersection faces. Add all points
|
// Loop through all couples and create intersection faces. Add all points
|
||||||
// of intersection faces to the couple points lists. The numbering of
|
// of intersection faces to the couple points lists. The numbering of
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -31,7 +31,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void starMesh::createPolyBoundary()
|
void Foam::starMesh::createPolyBoundary()
|
||||||
{
|
{
|
||||||
label nBoundaryFacesFound = 0;
|
label nBoundaryFacesFound = 0;
|
||||||
|
|
||||||
@ -294,7 +294,8 @@ void starMesh::createPolyBoundary()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
List<polyPatch*> starMesh::polyBoundaryPatches(const polyMesh& pMesh)
|
Foam::List<Foam::polyPatch*>
|
||||||
|
Foam::starMesh::polyBoundaryPatches(const polyMesh& pMesh)
|
||||||
{
|
{
|
||||||
List<polyPatch*> p(boundary_.size());
|
List<polyPatch*> p(boundary_.size());
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -30,7 +30,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void starMesh::createPolyCells()
|
void Foam::starMesh::createPolyCells()
|
||||||
{
|
{
|
||||||
// loop through all cell faces and create connectivity. This will produce
|
// loop through all cell faces and create connectivity. This will produce
|
||||||
// a global face list and will describe all cells as lists of face labels
|
// a global face list and will describe all cells as lists of face labels
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -30,7 +30,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void starMesh::fixCollapsedEdges()
|
void Foam::starMesh::fixCollapsedEdges()
|
||||||
{
|
{
|
||||||
cellFaces_.setSize(cellShapes_.size());
|
cellFaces_.setSize(cellShapes_.size());
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -32,7 +32,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void starMesh::mergeCoupleFacePoints()
|
void Foam::starMesh::mergeCoupleFacePoints()
|
||||||
{
|
{
|
||||||
// mark all used points by looping through all faces in two goes.
|
// mark all used points by looping through all faces in two goes.
|
||||||
// First, go into every cell and find min edge length. Use a
|
// First, go into every cell and find min edge length. Use a
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -30,7 +30,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
void starMesh::purgeCellShapes()
|
void Foam::starMesh::purgeCellShapes()
|
||||||
{
|
{
|
||||||
forAll(cellFaces_, cellI)
|
forAll(cellFaces_, cellI)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -36,7 +36,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void starMesh::readBoundary()
|
void Foam::starMesh::readBoundary()
|
||||||
{
|
{
|
||||||
label nPatches=0, nFaces=0;
|
label nPatches=0, nFaces=0;
|
||||||
labelList nPatchFaces(1000);
|
labelList nPatchFaces(1000);
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -31,7 +31,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void starMesh::addRegularCell
|
void Foam::starMesh::addRegularCell
|
||||||
(
|
(
|
||||||
const labelList& labels,
|
const labelList& labels,
|
||||||
const label nCreatedCells
|
const label nCreatedCells
|
||||||
@ -116,7 +116,7 @@ void starMesh::addRegularCell
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void starMesh::addSAMMcell
|
void Foam::starMesh::addSAMMcell
|
||||||
(
|
(
|
||||||
const labelList& labels,
|
const labelList& labels,
|
||||||
const label nCreatedCells
|
const label nCreatedCells
|
||||||
@ -205,7 +205,7 @@ void starMesh::addSAMMcell
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void starMesh::readCells()
|
void Foam::starMesh::readCells()
|
||||||
{
|
{
|
||||||
label nCells = 0;
|
label nCells = 0;
|
||||||
label maxLabel = -1;
|
label maxLabel = -1;
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -31,7 +31,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void starMesh::readCouples()
|
void Foam::starMesh::readCouples()
|
||||||
{
|
{
|
||||||
fileName couplesFileName(casePrefix_ + ".cpl");
|
fileName couplesFileName(casePrefix_ + ".cpl");
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -31,7 +31,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
label starMesh::readVtxLabel(IFstream& is)
|
Foam::label Foam::starMesh::readVtxLabel(IFstream& is)
|
||||||
{
|
{
|
||||||
char lcs[16];
|
char lcs[16];
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ label starMesh::readVtxLabel(IFstream& is)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
scalar starMesh::readVtxCmpt(IFstream& is)
|
Foam::scalar Foam::starMesh::readVtxCmpt(IFstream& is)
|
||||||
{
|
{
|
||||||
char lcs[17];
|
char lcs[17];
|
||||||
|
|
||||||
@ -61,7 +61,7 @@ scalar starMesh::readVtxCmpt(IFstream& is)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void starMesh::readToNl(IFstream& is)
|
void Foam::starMesh::readToNl(IFstream& is)
|
||||||
{
|
{
|
||||||
char c;
|
char c;
|
||||||
do
|
do
|
||||||
@ -71,7 +71,7 @@ void starMesh::readToNl(IFstream& is)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void starMesh::readPoints(const scalar scaleFactor)
|
void Foam::starMesh::readPoints(const scalar scaleFactor)
|
||||||
{
|
{
|
||||||
label nPoints = 0;
|
label nPoints = 0;
|
||||||
label maxLabel = -1;
|
label maxLabel = -1;
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -31,7 +31,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void starMesh::readPoints(const scalar scaleFactor)
|
void Foam::starMesh::readPoints(const scalar scaleFactor)
|
||||||
{
|
{
|
||||||
label nPoints = 0;
|
label nPoints = 0;
|
||||||
label maxLabel = -1;
|
label maxLabel = -1;
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,6 +33,8 @@ Description
|
|||||||
#include "Time.H"
|
#include "Time.H"
|
||||||
#include "starMesh.H"
|
#include "starMesh.H"
|
||||||
|
|
||||||
|
using namespace Foam;
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -31,33 +31,41 @@ License
|
|||||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||||
|
|
||||||
// Merge tolerances
|
// Merge tolerances
|
||||||
// Moni, tolerances:
|
const Foam::scalar Foam::starMesh::smallMergeTol_ = 1e-3;
|
||||||
const scalar starMesh::smallMergeTol_ = 1e-3;
|
const Foam::scalar Foam::starMesh::cpMergePointTol_ = 1e-4;
|
||||||
const scalar starMesh::cpMergePointTol_ = 1e-4;
|
|
||||||
|
|
||||||
// const scalar starMesh::smallMergeTol_ = 4e-4;
|
|
||||||
// const scalar starMesh::cpMergePointTol_ = 1e-3;
|
|
||||||
|
|
||||||
// Cell shape models
|
// Cell shape models
|
||||||
const cellModel* starMesh::unknownPtr_ = cellModeller::lookup("unknown");
|
const Foam::cellModel* Foam::starMesh::unknownPtr_ =
|
||||||
const cellModel* starMesh::tetPtr_ = cellModeller::lookup("tet");
|
Foam::cellModeller::lookup("unknown");
|
||||||
const cellModel* starMesh::pyrPtr_ = cellModeller::lookup("pyr");
|
const Foam::cellModel* Foam::starMesh::tetPtr_ =
|
||||||
const cellModel* starMesh::tetWedgePtr_ = cellModeller::lookup("tetWedge");
|
Foam::cellModeller::lookup("tet");
|
||||||
const cellModel* starMesh::prismPtr_ = cellModeller::lookup("prism");
|
const Foam::cellModel* Foam::starMesh::pyrPtr_ =
|
||||||
const cellModel* starMesh::wedgePtr_ = cellModeller::lookup("wedge");
|
Foam::cellModeller::lookup("pyr");
|
||||||
const cellModel* starMesh::hexPtr_ = cellModeller::lookup("hex");
|
const Foam::cellModel* Foam::starMesh::tetWedgePtr_ =
|
||||||
|
Foam::cellModeller::lookup("tetWedge");
|
||||||
|
const Foam::cellModel* Foam::starMesh::prismPtr_ =
|
||||||
|
Foam::cellModeller::lookup("prism");
|
||||||
|
const Foam::cellModel* Foam::starMesh::wedgePtr_ =
|
||||||
|
Foam::cellModeller::lookup("wedge");
|
||||||
|
const Foam::cellModel* Foam::starMesh::hexPtr_ =
|
||||||
|
Foam::cellModeller::lookup("hex");
|
||||||
|
|
||||||
const cellModel* starMesh::sammTrim1Ptr_ = cellModeller::lookup("sammTrim1");
|
const Foam::cellModel* Foam::starMesh::sammTrim1Ptr_ =
|
||||||
const cellModel* starMesh::sammTrim2Ptr_ = cellModeller::lookup("sammTrim2");
|
Foam::cellModeller::lookup("sammTrim1");
|
||||||
const cellModel* starMesh::sammTrim3Ptr_ = cellModeller::lookup("sammTrim3");
|
const Foam::cellModel* Foam::starMesh::sammTrim2Ptr_ =
|
||||||
const cellModel* starMesh::sammTrim4Ptr_ = cellModeller::lookup("sammTrim4");
|
Foam::cellModeller::lookup("sammTrim2");
|
||||||
const cellModel* starMesh::sammTrim5Ptr_ = cellModeller::lookup("sammTrim5");
|
const Foam::cellModel* Foam::starMesh::sammTrim3Ptr_ =
|
||||||
const cellModel* starMesh::sammTrim8Ptr_ =
|
Foam::cellModeller::lookup("sammTrim3");
|
||||||
cellModeller::lookup("hexagonalPrism");
|
const Foam::cellModel* Foam::starMesh::sammTrim4Ptr_ =
|
||||||
|
Foam::cellModeller::lookup("sammTrim4");
|
||||||
|
const Foam::cellModel* Foam::starMesh::sammTrim5Ptr_ =
|
||||||
|
Foam::cellModeller::lookup("sammTrim5");
|
||||||
|
const Foam::cellModel* Foam::starMesh::sammTrim8Ptr_ =
|
||||||
|
Foam::cellModeller::lookup("hexagonalPrism");
|
||||||
|
|
||||||
// Regular cell point addressing
|
// Regular cell point addressing
|
||||||
// SAMM point addressing
|
// SAMM point addressing
|
||||||
const label starMesh::regularAddressingTable[6][8] =
|
const Foam::label Foam::starMesh::regularAddressingTable[6][8] =
|
||||||
{
|
{
|
||||||
{ 0, 1, 2, 4, -1, -1, -1, -1}, // tet
|
{ 0, 1, 2, 4, -1, -1, -1, -1}, // tet
|
||||||
{ 0, 1, 2, 3, 4, -1, -1, -1}, // pyramid
|
{ 0, 1, 2, 3, 4, -1, -1, -1}, // pyramid
|
||||||
@ -69,7 +77,7 @@ const label starMesh::regularAddressingTable[6][8] =
|
|||||||
|
|
||||||
|
|
||||||
// SAMM point addressing
|
// SAMM point addressing
|
||||||
const label starMesh::sammAddressingTable[9][12] =
|
const Foam::label Foam::starMesh::sammAddressingTable[9][12] =
|
||||||
{
|
{
|
||||||
{-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, // samm0 - empty
|
{-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, // samm0 - empty
|
||||||
{ 3, 2, 6, 7, 11, 9, 1, 5, 4, 12, -1, -1}, // samm1+
|
{ 3, 2, 6, 7, 11, 9, 1, 5, 4, 12, -1, -1}, // samm1+
|
||||||
@ -97,7 +105,7 @@ const label starMesh::sammAddressingTable[9][12] =
|
|||||||
// Additionally, have in mind that this silliness does not allow matches
|
// Additionally, have in mind that this silliness does not allow matches
|
||||||
// on face 7 and 8 of the samm cell.
|
// on face 7 and 8 of the samm cell.
|
||||||
|
|
||||||
const label starMesh::sammFacePermutationTable[24][8] =
|
const Foam::label Foam::starMesh::sammFacePermutationTable[24][8] =
|
||||||
{
|
{
|
||||||
{-1, 1, 2, 3, 4, 5, 6, 7}, // permutation 0
|
{-1, 1, 2, 3, 4, 5, 6, 7}, // permutation 0
|
||||||
{-1, 3, 4, 5, 6, 1, 2, 7}, // permutation 1
|
{-1, 3, 4, 5, 6, 1, 2, 7}, // permutation 1
|
||||||
@ -125,7 +133,7 @@ const label starMesh::sammFacePermutationTable[24][8] =
|
|||||||
{-1, 6, 5, 2, 1, 3, 4, 7} // permutation 23
|
{-1, 6, 5, 2, 1, 3, 4, 7} // permutation 23
|
||||||
};
|
};
|
||||||
|
|
||||||
const label starMesh::shapeFaceLookup[19][9] =
|
const Foam::label Foam::starMesh::shapeFaceLookup[19][9] =
|
||||||
{
|
{
|
||||||
{-1, -1, -1, -1, -1, -1, -1, -1, -1}, // shape 0 - empty+
|
{-1, -1, -1, -1, -1, -1, -1, -1, -1}, // shape 0 - empty+
|
||||||
{-1, -1, -1, -1, -1, -1, -1, -1, -1}, // shape 1 - empty+
|
{-1, -1, -1, -1, -1, -1, -1, -1, -1}, // shape 1 - empty+
|
||||||
@ -185,8 +193,7 @@ const label starMesh::shapeFaceLookup[19][9] =
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
|
||||||
|
|
||||||
// Make polyhedral mesh data (packing)
|
void Foam::starMesh::createPolyMeshData()
|
||||||
void starMesh::createPolyMeshData()
|
|
||||||
{
|
{
|
||||||
Info<< "Creating a polyMesh" << endl;
|
Info<< "Creating a polyMesh" << endl;
|
||||||
|
|
||||||
@ -199,9 +206,7 @@ void starMesh::createPolyMeshData()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Clear extra storage before creation of the mesh to remove
|
void Foam::starMesh::clearExtraStorage()
|
||||||
// a memory peak
|
|
||||||
void starMesh::clearExtraStorage()
|
|
||||||
{
|
{
|
||||||
Info<< "Clearing extra storage" << endl;
|
Info<< "Clearing extra storage" << endl;
|
||||||
|
|
||||||
@ -218,10 +223,10 @@ void starMesh::clearExtraStorage()
|
|||||||
deleteDemandDrivenData(pointCellsPtr_);
|
deleteDemandDrivenData(pointCellsPtr_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
// Construct from components
|
Foam::starMesh::starMesh
|
||||||
starMesh::starMesh
|
|
||||||
(
|
(
|
||||||
const fileName& prefix,
|
const fileName& prefix,
|
||||||
const Time& rt,
|
const Time& rt,
|
||||||
@ -281,13 +286,10 @@ starMesh::starMesh
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
starMesh::~starMesh()
|
Foam::starMesh::~starMesh()
|
||||||
{
|
{
|
||||||
deleteDemandDrivenData(pointCellsPtr_);
|
deleteDemandDrivenData(pointCellsPtr_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -58,11 +58,8 @@ SourceFiles
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
#ifndef namespaceFoam
|
namespace Foam
|
||||||
#define namespaceFoam
|
{
|
||||||
using namespace Foam;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class starMesh Declaration
|
Class starMesh Declaration
|
||||||
@ -310,6 +307,10 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
} // End namespace Foam
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -32,7 +32,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void starMesh::writeMesh()
|
void Foam::starMesh::writeMesh()
|
||||||
{
|
{
|
||||||
if (isShapeMesh_)
|
if (isShapeMesh_)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
pointFeatureEdgesTypes
|
Foam::pointFeatureEdgesTypes
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Holds information on the types of feature edges attached to feature points.
|
Holds information on the types of feature edges attached to feature points.
|
||||||
|
|||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
indexedCell
|
CGAL::indexedCell
|
||||||
|
|
||||||
Description
|
Description
|
||||||
An indexed form of CGAL::Triangulation_cell_base_3<K> used to keep
|
An indexed form of CGAL::Triangulation_cell_base_3<K> used to keep
|
||||||
|
|||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
indexedCellEnum
|
Foam::indexedCellEnum
|
||||||
|
|
||||||
Description
|
Description
|
||||||
|
|
||||||
|
|||||||
@ -21,8 +21,8 @@ License
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Namespace
|
||||||
indexedCellOps
|
CGAL::indexedCellOps
|
||||||
|
|
||||||
Description
|
Description
|
||||||
|
|
||||||
|
|||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
indexedVertex
|
CGAL::indexedVertex
|
||||||
|
|
||||||
Description
|
Description
|
||||||
An indexed form of CGAL::Triangulation_vertex_base_3<K> used to keep
|
An indexed form of CGAL::Triangulation_vertex_base_3<K> used to keep
|
||||||
|
|||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
indexedVertexEnum
|
Foam::indexedVertexEnum
|
||||||
|
|
||||||
Description
|
Description
|
||||||
|
|
||||||
|
|||||||
@ -21,8 +21,8 @@ License
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Namespace
|
||||||
indexedVertexOps
|
CGAL::indexedVertexOps
|
||||||
|
|
||||||
Description
|
Description
|
||||||
|
|
||||||
|
|||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
pointConversion
|
Foam::pointConversion
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Conversion functions between point (Foam::) and Point (CGAL::)
|
Conversion functions between point (Foam::) and Point (CGAL::)
|
||||||
|
|||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
pointPairs
|
Foam::pointPairs
|
||||||
|
|
||||||
Description
|
Description
|
||||||
HashSet of unique edges. The edges are stored as a pair of pairs:
|
HashSet of unique edges. The edges are stored as a pair of pairs:
|
||||||
|
|||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
CV2D
|
Foam::CV2D
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Conformal-Voronoi 2D automatic mesher with grid or read initial points
|
Conformal-Voronoi 2D automatic mesher with grid or read initial points
|
||||||
|
|||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
indexedFace
|
CGAL::indexedFace
|
||||||
|
|
||||||
Description
|
Description
|
||||||
An indexed form of CGAL::Triangulation_face_base_2<K> used to keep
|
An indexed form of CGAL::Triangulation_face_base_2<K> used to keep
|
||||||
|
|||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
indexedVertex
|
CGAL::indexedVertex
|
||||||
|
|
||||||
Description
|
Description
|
||||||
An indexed form of CGAL::Triangulation_vertex_base_2<K> used to keep
|
An indexed form of CGAL::Triangulation_vertex_base_2<K> used to keep
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
meshDualiser
|
Foam::meshDualiser
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Creates dual of polyMesh. Every point becomes a cell (or multiple cells
|
Creates dual of polyMesh. Every point becomes a cell (or multiple cells
|
||||||
@ -40,7 +40,7 @@ Description
|
|||||||
In same way you can also preserve internal faces (e.g. faceZones)
|
In same way you can also preserve internal faces (e.g. faceZones)
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
meshDualiser.C
|
Foam::meshDualiser.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
fileMonitor
|
Foam::fileMonitor
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Checking for changes to files.
|
Checking for changes to files.
|
||||||
|
|||||||
@ -451,32 +451,40 @@ Foam::UPstream::commsTypes Foam::UPstream::defaultCommsType
|
|||||||
(
|
(
|
||||||
commsTypeNames.read(Foam::debug::optimisationSwitches().lookup("commsType"))
|
commsTypeNames.read(Foam::debug::optimisationSwitches().lookup("commsType"))
|
||||||
);
|
);
|
||||||
|
|
||||||
|
namespace Foam
|
||||||
|
{
|
||||||
// Register re-reader
|
// Register re-reader
|
||||||
class addcommsTypeToOpt
|
class addcommsTypeToOpt
|
||||||
:
|
:
|
||||||
public ::Foam::simpleRegIOobject
|
public ::Foam::simpleRegIOobject
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
addcommsTypeToOpt(const char* name)
|
addcommsTypeToOpt(const char* name)
|
||||||
:
|
:
|
||||||
::Foam::simpleRegIOobject(Foam::debug::addOptimisationObject, name)
|
::Foam::simpleRegIOobject(Foam::debug::addOptimisationObject, name)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
virtual ~addcommsTypeToOpt()
|
virtual ~addcommsTypeToOpt()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
virtual void readData(Foam::Istream& is)
|
virtual void readData(Foam::Istream& is)
|
||||||
{
|
{
|
||||||
Foam::UPstream::defaultCommsType = Foam::UPstream::commsTypeNames.read
|
UPstream::defaultCommsType = UPstream::commsTypeNames.read
|
||||||
(
|
(
|
||||||
is
|
is
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void writeData(Foam::Ostream& os) const
|
virtual void writeData(Foam::Ostream& os) const
|
||||||
{
|
{
|
||||||
os << Foam::UPstream::commsTypeNames[Foam::UPstream::defaultCommsType];
|
os << UPstream::commsTypeNames[UPstream::defaultCommsType];
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
addcommsTypeToOpt addcommsTypeToOpt_("commsType");
|
|
||||||
|
|
||||||
|
addcommsTypeToOpt addcommsTypeToOpt_("commsType");
|
||||||
|
}
|
||||||
|
|
||||||
// Default communicator
|
// Default communicator
|
||||||
Foam::label Foam::UPstream::worldComm(0);
|
Foam::label Foam::UPstream::worldComm(0);
|
||||||
|
|||||||
@ -74,35 +74,42 @@ Foam::regIOobject::fileCheckTypes Foam::regIOobject::fileModificationChecking
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
namespace Foam
|
||||||
|
{
|
||||||
// Register re-reader
|
// Register re-reader
|
||||||
class addfileModificationCheckingToOpt
|
class addfileModificationCheckingToOpt
|
||||||
:
|
:
|
||||||
public ::Foam::simpleRegIOobject
|
public ::Foam::simpleRegIOobject
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
addfileModificationCheckingToOpt(const char* name)
|
addfileModificationCheckingToOpt(const char* name)
|
||||||
:
|
:
|
||||||
::Foam::simpleRegIOobject(Foam::debug::addOptimisationObject, name)
|
::Foam::simpleRegIOobject(Foam::debug::addOptimisationObject, name)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
virtual ~addfileModificationCheckingToOpt()
|
virtual ~addfileModificationCheckingToOpt()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
virtual void readData(Foam::Istream& is)
|
virtual void readData(Foam::Istream& is)
|
||||||
{
|
{
|
||||||
Foam::regIOobject::fileModificationChecking =
|
regIOobject::fileModificationChecking =
|
||||||
Foam::regIOobject::fileCheckTypesNames.read(is);
|
regIOobject::fileCheckTypesNames.read(is);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void writeData(Foam::Ostream& os) const
|
virtual void writeData(Foam::Ostream& os) const
|
||||||
{
|
{
|
||||||
os << Foam::regIOobject::fileCheckTypesNames
|
os << regIOobject::fileCheckTypesNames
|
||||||
[
|
[regIOobject::fileModificationChecking];
|
||||||
Foam::regIOobject::fileModificationChecking
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
addfileModificationCheckingToOpt addfileModificationCheckingToOpt_
|
addfileModificationCheckingToOpt addfileModificationCheckingToOpt_
|
||||||
(
|
(
|
||||||
"fileModificationChecking"
|
"fileModificationChecking"
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::regIOobject::masterOnlyReading = false;
|
bool Foam::regIOobject::masterOnlyReading = false;
|
||||||
|
|||||||
@ -21,6 +21,9 @@ License
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
Class
|
||||||
|
Foam::RegisterSwitch
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Class and registration macros for InfoSwitches and OptimisationSwitches
|
Class and registration macros for InfoSwitches and OptimisationSwitches
|
||||||
to support reading from system/controlDict and dynamic update.
|
to support reading from system/controlDict and dynamic update.
|
||||||
@ -34,10 +37,17 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
namespace Foam
|
||||||
|
{
|
||||||
|
|
||||||
|
/*---------------------------------------------------------------------------*\
|
||||||
|
Class RegisterSwitch Declaration
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
template<class Type>
|
template<class Type>
|
||||||
class RegisterSwitch
|
class RegisterSwitch
|
||||||
:
|
:
|
||||||
public ::Foam::simpleRegIOobject
|
public simpleRegIOobject
|
||||||
{
|
{
|
||||||
Type& optSwitch_;
|
Type& optSwitch_;
|
||||||
|
|
||||||
@ -50,7 +60,7 @@ public:
|
|||||||
Type& optSwitch
|
Type& optSwitch
|
||||||
)
|
)
|
||||||
:
|
:
|
||||||
::Foam::simpleRegIOobject(registryFn, name),
|
simpleRegIOobject(registryFn, name),
|
||||||
optSwitch_(optSwitch)
|
optSwitch_(optSwitch)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
@ -69,17 +79,23 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
} // End namespace Foam
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
#define CONCAT(x, y) x ## y
|
#define CONCAT(x, y) x ## y
|
||||||
#define CONCAT2(x, y) CONCAT(x, y)
|
#define CONCAT2(x, y) CONCAT(x, y)
|
||||||
#define FILE_UNIQUE(x) CONCAT2(x, __LINE__)
|
#define FILE_UNIQUE(x) CONCAT2(x, __LINE__)
|
||||||
|
|
||||||
#define registerOptSwitch(Name, Type, Switch) \
|
#define registerOptSwitch(Name, Type, Switch) \
|
||||||
static RegisterSwitch<Type> FILE_UNIQUE(_addToOpt_) \
|
static Foam::RegisterSwitch<Type> FILE_UNIQUE(_addToOpt_) \
|
||||||
(Foam::debug::addOptimisationObject, Name, Switch)
|
(Foam::debug::addOptimisationObject, Name, Switch)
|
||||||
|
|
||||||
|
|
||||||
#define registerInfoSwitch(Name, Type, Switch) \
|
#define registerInfoSwitch(Name, Type, Switch) \
|
||||||
static RegisterSwitch<Type> FILE_UNIQUE(_addToOpt_) \
|
static Foam::RegisterSwitch<Type> FILE_UNIQUE(_addToOpt_) \
|
||||||
(Foam::debug::addInfoObject, Name, Switch)
|
(Foam::debug::addInfoObject, Name, Switch)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
scalarMatrices
|
Foam::scalarMatrices
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Scalar matrices
|
Scalar matrices
|
||||||
|
|||||||
@ -25,7 +25,7 @@ Typedef
|
|||||||
Foam::Scalar
|
Foam::Scalar
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Single floating point number
|
Single floating point number (float or double)
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
Scalar.C
|
Scalar.C
|
||||||
@ -34,6 +34,11 @@ SourceFiles
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
namespace Foam
|
||||||
|
{
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
// template specialisation for pTraits<Scalar>
|
// template specialisation for pTraits<Scalar>
|
||||||
template<>
|
template<>
|
||||||
class pTraits<Scalar>
|
class pTraits<Scalar>
|
||||||
@ -314,5 +319,8 @@ Scalar readScalar(Istream&);
|
|||||||
Istream& operator>>(Istream&, Scalar&);
|
Istream& operator>>(Istream&, Scalar&);
|
||||||
Ostream& operator<<(Ostream&, const Scalar);
|
Ostream& operator<<(Ostream&, const Scalar);
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
} // End namespace Foam
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -85,8 +85,21 @@ inline Scalar func(const Scalar s) \
|
|||||||
return ::func(s); \
|
return ::func(s); \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
} // End namespace Foam
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
#include "Scalar.H"
|
#include "Scalar.H"
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
namespace Foam
|
||||||
|
{
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
inline Scalar hypot(const Scalar x, const Scalar y)
|
inline Scalar hypot(const Scalar x, const Scalar y)
|
||||||
{
|
{
|
||||||
return ::hypot(x, y);
|
return ::hypot(x, y);
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -85,8 +85,21 @@ inline Scalar func(const Scalar s) \
|
|||||||
return ::func##f(s); \
|
return ::func##f(s); \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
} // End namespace Foam
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
#include "Scalar.H"
|
#include "Scalar.H"
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
namespace Foam
|
||||||
|
{
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
inline Scalar hypot(const Scalar x, const Scalar y)
|
inline Scalar hypot(const Scalar x, const Scalar y)
|
||||||
{
|
{
|
||||||
return ::hypotf(x, y);
|
return ::hypotf(x, y);
|
||||||
|
|||||||
@ -25,7 +25,7 @@ License
|
|||||||
|
|
||||||
#include "error.H"
|
#include "error.H"
|
||||||
#include "products.H"
|
#include "products.H"
|
||||||
#include "VectorSpaceM.H"
|
#include "VectorSpaceOps.H"
|
||||||
#include "ops.H"
|
#include "ops.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|||||||
@ -1,3 +1,43 @@
|
|||||||
|
/*---------------------------------------------------------------------------*\
|
||||||
|
========= |
|
||||||
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
|
\\ / O peration |
|
||||||
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
|
\\/ M anipulation |
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
License
|
||||||
|
This file is part of OpenFOAM.
|
||||||
|
|
||||||
|
OpenFOAM is free software: you can redistribute it and/or modify it
|
||||||
|
under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
Class
|
||||||
|
Foam::VectorSpaceOps
|
||||||
|
|
||||||
|
Description
|
||||||
|
Operator functions for VectorSpace.
|
||||||
|
|
||||||
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
#ifndef VectorSpaceOps_H
|
||||||
|
#define VectorSpaceOps_H
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
namespace Foam
|
||||||
|
{
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<int N, int I>
|
template<int N, int I>
|
||||||
class VectorSpaceOps
|
class VectorSpaceOps
|
||||||
@ -81,3 +121,14 @@ public:
|
|||||||
static inline void op(V& vs, const V1&, const V1&, Op)
|
static inline void op(V& vs, const V1&, const V1&, Op)
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
} // End namespace Foam
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
temperatureCoupledBase
|
Foam::temperatureCoupledBase
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Common functions for use in temperature coupled boundaries. For now only
|
Common functions for use in temperature coupled boundaries. For now only
|
||||||
|
|||||||
@ -22,8 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
Foam::
|
Foam::compressible::
|
||||||
compressible::
|
|
||||||
turbulentTemperatureCoupledBaffleMixedFvPatchScalarField
|
turbulentTemperatureCoupledBaffleMixedFvPatchScalarField
|
||||||
|
|
||||||
Description
|
Description
|
||||||
|
|||||||
@ -22,8 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
Foam::
|
Foam::compressible::
|
||||||
compressible::
|
|
||||||
turbulentTemperatureRadCoupledMixedFvPatchScalarField
|
turbulentTemperatureRadCoupledMixedFvPatchScalarField
|
||||||
|
|
||||||
Description
|
Description
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
extrudePatchMesh
|
Foam::extrudePatchMesh
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Mesh at a patch created on the fly. The following entry should be used
|
Mesh at a patch created on the fly. The following entry should be used
|
||||||
@ -194,4 +194,3 @@ public:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
tetDecomposer
|
Foam::tetDecomposer
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Decomposes polyMesh into tets.
|
Decomposes polyMesh into tets.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
pointLinear
|
Foam::pointLinear
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Face-point interpolation scheme class derived from linear and
|
Face-point interpolation scheme class derived from linear and
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
surfaceDisplacementPointPatchVectorField
|
Foam::surfaceDisplacementPointPatchVectorField
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Displacement fixed by projection onto triSurface.
|
Displacement fixed by projection onto triSurface.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
coalCloud
|
Foam::coalCloud
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Cloud class to introduce coal parcels
|
Cloud class to introduce coal parcels
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
coalParcel
|
Foam::coalParcel
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Definition of coal parcel
|
Definition of coal parcel
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
COxidationDiffusionLimitedRate
|
Foam::COxidationDiffusionLimitedRate
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Diffusion limited rate surface reaction model for coal parcels. Limited to:
|
Diffusion limited rate surface reaction model for coal parcels. Limited to:
|
||||||
@ -40,12 +40,15 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
namespace Foam
|
||||||
|
{
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
// Forward class declarations
|
// Forward class declarations
|
||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
class COxidationDiffusionLimitedRate;
|
class COxidationDiffusionLimitedRate;
|
||||||
|
|
||||||
namespace Foam
|
|
||||||
{
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class COxidationDiffusionLimitedRate Declaration
|
Class COxidationDiffusionLimitedRate Declaration
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
COxidationHurtMitchell
|
Foam::COxidationHurtMitchell
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Char oxidation model given by Hurt and Mitchell:
|
Char oxidation model given by Hurt and Mitchell:
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2014 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2014-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
COxidationIntrinsicRate
|
Foam::COxidationIntrinsicRate
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Intrinsic char surface reaction mndel
|
Intrinsic char surface reaction mndel
|
||||||
@ -40,12 +40,15 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
namespace Foam
|
||||||
|
{
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
// Forward class declarations
|
// Forward class declarations
|
||||||
template<class CloudType>
|
template<class CloudType>
|
||||||
class COxidationIntrinsicRate;
|
class COxidationIntrinsicRate;
|
||||||
|
|
||||||
namespace Foam
|
|
||||||
{
|
|
||||||
/*---------------------------------------------------------------------------*\
|
/*---------------------------------------------------------------------------*\
|
||||||
Class COxidationIntrinsicRate Declaration
|
Class COxidationIntrinsicRate Declaration
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
COxidationKineticDiffusionLimitedRate
|
Foam::COxidationKineticDiffusionLimitedRate
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Kinetic/diffusion limited rate surface reaction model for coal parcels.
|
Kinetic/diffusion limited rate surface reaction model for coal parcels.
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
COxidationMurphyShaddix
|
Foam::COxidationMurphyShaddix
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Limited to C(s) + O2 -> CO2
|
Limited to C(s) + O2 -> CO2
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
kinematicParcelInjectionDataIOList
|
Foam::kinematicParcelInjectionDataIOList
|
||||||
|
|
||||||
Description
|
Description
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
reactingMultiphaseParcelInjectionDataIOList
|
Foam::reactingMultiphaseParcelInjectionDataIOList
|
||||||
|
|
||||||
Description
|
Description
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
thermoParcelInjectionDataIOList
|
Foam::thermoParcelInjectionDataIOList
|
||||||
|
|
||||||
Description
|
Description
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
momentOfInertia
|
Foam::momentOfInertia
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Calculates the inertia tensor and principal axes and moments of a
|
Calculates the inertia tensor and principal axes and moments of a
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2013-2014 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,9 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
|
Foam::compressible::
|
||||||
Foam::
|
|
||||||
compressible::
|
|
||||||
filmPyrolysisRadiativeCoupledMixedFvPatchScalarField
|
filmPyrolysisRadiativeCoupledMixedFvPatchScalarField
|
||||||
|
|
||||||
Description
|
Description
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
regionProperties
|
Foam::regionProperties
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Simple class to hold region information for coupled region simulations.
|
Simple class to hold region information for coupled region simulations.
|
||||||
|
|||||||
@ -22,7 +22,7 @@ License
|
|||||||
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
Class
|
Class
|
||||||
radiationCoupledBase
|
Foam::radiationCoupledBase
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Common functions to emissivity. It gets supplied from lookup into a
|
Common functions to emissivity. It gets supplied from lookup into a
|
||||||
|
|||||||
Reference in New Issue
Block a user