mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
Updated Doxygen documentation and files
Contributed by Bruno Santos Resolves patch report http://www.openfoam.org/mantisbt/view.php?id=2023 Update online documentation http://openfoam.github.io/Documentation-dev/html/
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-2012 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -33,7 +33,7 @@ Description
|
|||||||
This boundary condition provides a fixed density inlet condition for
|
This boundary condition provides a fixed density inlet condition for
|
||||||
compressible solvers, where the density of calculated using:
|
compressible solvers, where the density of calculated using:
|
||||||
|
|
||||||
\f{
|
\f[
|
||||||
\rho = \psi p
|
\rho = \psi p
|
||||||
\f]
|
\f]
|
||||||
|
|
||||||
|
|||||||
@ -35,7 +35,7 @@ Usage
|
|||||||
\param -ascii \n
|
\param -ascii \n
|
||||||
Write Ensight data in ASCII format instead of "C Binary"
|
Write Ensight data in ASCII format instead of "C Binary"
|
||||||
|
|
||||||
\parm -name \<subdir\>\n
|
\param -name \<subdir\>\n
|
||||||
define sub-directory name to use for Ensight data (default: "Ensight")
|
define sub-directory name to use for Ensight data (default: "Ensight")
|
||||||
|
|
||||||
\param -noZero \n
|
\param -noZero \n
|
||||||
|
|||||||
@ -2,15 +2,19 @@
|
|||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UFT-8"/>
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||||
<title> OpenFOAM® Programmer's C++ documentation </title>
|
<title> OpenFOAM® Programmer's C++ documentation </title>
|
||||||
<!-- links -->
|
<!-- links -->
|
||||||
<link href="../OpenFOAMdocIcon.png" rel="icon" type="image/png" />
|
<link href="../OpenFOAMdocIcon.png" rel="icon" type="image/png" />
|
||||||
<link href="search/search.css" rel="stylesheet" type="text/css" />
|
<link href="search/search.css" rel="stylesheet" type="text/css" />
|
||||||
<link href="../css/openfoam.css" rel="stylesheet" type="text/css" />
|
<link href="../css/openfoam.css" rel="stylesheet" type="text/css" />
|
||||||
|
<script type="text/javaScript" src="search/searchdata.js"></script>
|
||||||
<script type="text/javaScript" src="search/search.js"></script>
|
<script type="text/javaScript" src="search/search.js"></script>
|
||||||
<script type="text/javascript" src="jquery.js"></script>
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
<script type="text/javascript" src="dynsections.js"></script>
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(document).ready(function() { init_search(); });
|
||||||
|
</script>
|
||||||
|
|
||||||
<!-- meta info -->
|
<!-- meta info -->
|
||||||
<meta
|
<meta
|
||||||
|
|||||||
@ -11,6 +11,11 @@ body {
|
|||||||
font-size: 62.5%;
|
font-size: 62.5%;
|
||||||
} /*Font-size: 1.0em = 10px when browser default size is 16px*/
|
} /*Font-size: 1.0em = 10px when browser default size is 16px*/
|
||||||
|
|
||||||
|
/* Using the same as the code/verbatim blocks in doxygen.css */
|
||||||
|
code {
|
||||||
|
font-family: "Courier New", Courier, monospace, fixed;
|
||||||
|
}
|
||||||
|
|
||||||
p:after {
|
p:after {
|
||||||
content:".";
|
content:".";
|
||||||
display:block;
|
display:block;
|
||||||
@ -243,7 +248,7 @@ p:after {
|
|||||||
padding-bottom:30px;
|
padding-bottom:30px;
|
||||||
border-left: 3px solid rgb(175,175,175);
|
border-left: 3px solid rgb(175,175,175);
|
||||||
border-right:3px solid rgb(175,175,175);
|
border-right:3px solid rgb(175,175,175);
|
||||||
background:transparent url(img/bg_main.gif) top left repeat-y;
|
background:transparent;
|
||||||
}
|
}
|
||||||
.main img {
|
.main img {
|
||||||
clear:both;
|
clear:both;
|
||||||
|
|||||||
@ -25,7 +25,7 @@ Class
|
|||||||
Foam::Pstream
|
Foam::Pstream
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Inter-processor communications stream
|
Inter-processor communications stream.
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
Pstream.C
|
Pstream.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-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -21,6 +21,12 @@ 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/>.
|
||||||
|
|
||||||
|
InNamespace
|
||||||
|
Foam
|
||||||
|
|
||||||
|
Description
|
||||||
|
Inter-processor communication reduction functions.
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef PstreamReduceOps_H
|
#ifndef PstreamReduceOps_H
|
||||||
|
|||||||
@ -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-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -110,12 +110,15 @@ public:
|
|||||||
|
|
||||||
//- Construct from Time, a dictionary with "functions" entry
|
//- Construct from Time, a dictionary with "functions" entry
|
||||||
// and the execution setting.
|
// and the execution setting.
|
||||||
|
// \param[in] t - the other Time instance to construct from
|
||||||
// \param[in] parentDict - the parent dictionary containing
|
// \param[in] parentDict - the parent dictionary containing
|
||||||
// a "functions" entry, which can either be a list or a dictionary
|
// a "functions" entry, which can either be a list or a dictionary
|
||||||
// of functionObject specifications.
|
// of functionObject specifications.
|
||||||
|
// \param[in] execution - whether the function objects should execute
|
||||||
|
// or not. Default: true.
|
||||||
functionObjectList
|
functionObjectList
|
||||||
(
|
(
|
||||||
const Time&,
|
const Time& t,
|
||||||
const dictionary& parentDict,
|
const dictionary& parentDict,
|
||||||
const bool execution=true
|
const bool execution=true
|
||||||
);
|
);
|
||||||
|
|||||||
@ -543,8 +543,6 @@ Type average(const FieldField<Field, Type>& f)
|
|||||||
TMP_UNARY_FUNCTION(Type, average)
|
TMP_UNARY_FUNCTION(Type, average)
|
||||||
|
|
||||||
|
|
||||||
#include "PstreamReduceOps.H"
|
|
||||||
|
|
||||||
#define G_UNARY_FUNCTION(returnType, gFunc, func, rFunc) \
|
#define G_UNARY_FUNCTION(returnType, gFunc, func, rFunc) \
|
||||||
\
|
\
|
||||||
template<template<class> class Field, class Type> \
|
template<template<class> class Field, class Type> \
|
||||||
|
|||||||
@ -30,34 +30,34 @@ Description
|
|||||||
|
|
||||||
Example:
|
Example:
|
||||||
\verbatim
|
\verbatim
|
||||||
movingWall
|
movingWall
|
||||||
{
|
{
|
||||||
type codedFixedValue;
|
type codedFixedValue;
|
||||||
value uniform 0;
|
value uniform 0;
|
||||||
redirectType rampedFixedValue; // name of generated bc
|
redirectType rampedFixedValue; // name of generated bc
|
||||||
|
|
||||||
code
|
code
|
||||||
#{
|
#{
|
||||||
operator==
|
operator==
|
||||||
(
|
(
|
||||||
vector(0,0,1)
|
vector(0,0,1)
|
||||||
*min(10, 0.1*this->db().time().value())
|
*min(10, 0.1*this->db().time().value())
|
||||||
);
|
);
|
||||||
#};
|
#};
|
||||||
|
|
||||||
//codeInclude
|
//codeInclude
|
||||||
//#{
|
//#{
|
||||||
// #include "fvCFD.H"
|
// #include "fvCFD.H"
|
||||||
//#};
|
//#};
|
||||||
|
|
||||||
//codeOptions
|
//codeOptions
|
||||||
//#{
|
//#{
|
||||||
// -I$(LIB_SRC)/finiteVolume/lnInclude
|
// -I$(LIB_SRC)/finiteVolume/lnInclude
|
||||||
//#};
|
//#};
|
||||||
}
|
}
|
||||||
\endverbatim
|
\endverbatim
|
||||||
|
|
||||||
A special form is if the 'code' section is not supplied. In this case
|
A special form is if the \c code section is not supplied. In this case
|
||||||
the code gets read from a (runTimeModifiable!) dictionary system/codeDict
|
the code gets read from a (runTimeModifiable!) dictionary system/codeDict
|
||||||
which would have a corresponding entry
|
which would have a corresponding entry
|
||||||
|
|
||||||
|
|||||||
@ -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-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -41,7 +41,9 @@ namespace Foam
|
|||||||
namespace debug
|
namespace debug
|
||||||
{
|
{
|
||||||
|
|
||||||
//! \cond ignoreDocumentation - local scope
|
//! \cond ignoreDocumentation
|
||||||
|
//- Skip documentation : local scope only
|
||||||
|
|
||||||
dictionary* controlDictPtr_(NULL);
|
dictionary* controlDictPtr_(NULL);
|
||||||
dictionary* debugSwitchesPtr_(NULL);
|
dictionary* debugSwitchesPtr_(NULL);
|
||||||
dictionary* infoSwitchesPtr_(NULL);
|
dictionary* infoSwitchesPtr_(NULL);
|
||||||
@ -55,7 +57,7 @@ simpleObjectRegistry* dimensionSetObjectsPtr_(NULL);
|
|||||||
simpleObjectRegistry* dimensionedConstantObjectsPtr_(NULL);
|
simpleObjectRegistry* dimensionedConstantObjectsPtr_(NULL);
|
||||||
|
|
||||||
|
|
||||||
// to ensure controlDictPtr_ is deleted at the end of the run
|
// To ensure controlDictPtr_ is deleted at the end of the run
|
||||||
class deleteControlDictPtr
|
class deleteControlDictPtr
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
@ -4,6 +4,8 @@
|
|||||||
#include "scalar.H"
|
#include "scalar.H"
|
||||||
#include "vector.H"
|
#include "vector.H"
|
||||||
#include "curve.H"
|
#include "curve.H"
|
||||||
|
#include "char.H"
|
||||||
|
#include "List.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
@ -13,9 +15,6 @@ namespace Foam
|
|||||||
#define curveSmall 1.0e-8
|
#define curveSmall 1.0e-8
|
||||||
#define curveGreat 1.0e8
|
#define curveGreat 1.0e8
|
||||||
|
|
||||||
#include "char.H"
|
|
||||||
#include "List.H"
|
|
||||||
|
|
||||||
typedef List<char> charList;
|
typedef List<char> charList;
|
||||||
typedef List<charList> charListList;
|
typedef List<charList> charListList;
|
||||||
|
|
||||||
|
|||||||
@ -29,9 +29,9 @@ Description
|
|||||||
The reference scalar values must be monotonically increasing.
|
The reference scalar values must be monotonically increasing.
|
||||||
|
|
||||||
The handling of out-of-bounds values depends on the current setting
|
The handling of out-of-bounds values depends on the current setting
|
||||||
of \a outOfBounds.
|
of \c outOfBounds.
|
||||||
|
|
||||||
If \a REPEAT is chosen for the out-of-bounds handling, the final time
|
If \c repeat is chosen for the out-of-bounds handling, the final time
|
||||||
value is treated as being equivalent to time=0 for the following periods.
|
value is treated as being equivalent to time=0 for the following periods.
|
||||||
|
|
||||||
|
|
||||||
@ -40,11 +40,13 @@ Description
|
|||||||
other format is csv (comma separated values):
|
other format is csv (comma separated values):
|
||||||
|
|
||||||
Read csv format:
|
Read csv format:
|
||||||
|
\verbatim
|
||||||
readerType csv;
|
readerType csv;
|
||||||
fileName "$FOAM_CASE/constant/p0vsTime.csv";
|
fileName "$FOAM_CASE/constant/p0vsTime.csv";
|
||||||
hasHeaderLine true; // skip first line
|
hasHeaderLine true; // skip first line
|
||||||
timeColumn 0; // time is in column 0
|
timeColumn 0; // time is in column 0
|
||||||
valueColumns (1); // value starts in column 1
|
valueColumns (1); // value starts in column 1
|
||||||
|
\endverbatim
|
||||||
|
|
||||||
|
|
||||||
Note
|
Note
|
||||||
|
|||||||
@ -171,12 +171,13 @@ protected:
|
|||||||
|
|
||||||
// Processor agglomeration
|
// Processor agglomeration
|
||||||
|
|
||||||
//- Collect and combine processor meshes into allMesh.
|
//- Collect and combine processor meshes into allMesh:
|
||||||
// - allMeshComm : communicator for combined mesh.
|
//
|
||||||
// - procAgglomMap : per processor the new agglomerated processor
|
// - allMeshComm : communicator for combined mesh.
|
||||||
// (rank in allMeshComm!). Global information.
|
// - procAgglomMap : per processor the new agglomerated
|
||||||
// - procIDs : local information: same for all in
|
// processor (rank in allMeshComm!). Global information.
|
||||||
// agglomerated processor.
|
// - procIDs : local information: same for all in
|
||||||
|
// agglomerated processor.
|
||||||
void procAgglomerateLduAddressing
|
void procAgglomerateLduAddressing
|
||||||
(
|
(
|
||||||
const label comm,
|
const label comm,
|
||||||
@ -187,8 +188,9 @@ protected:
|
|||||||
);
|
);
|
||||||
|
|
||||||
//- Collect and combine basic restriction addressing:
|
//- Collect and combine basic restriction addressing:
|
||||||
// nCells_
|
//
|
||||||
// restrictAddressing_
|
// - nCells_
|
||||||
|
// - restrictAddressing_
|
||||||
void procAgglomerateRestrictAddressing
|
void procAgglomerateRestrictAddressing
|
||||||
(
|
(
|
||||||
const label comm,
|
const label comm,
|
||||||
@ -426,10 +428,11 @@ public:
|
|||||||
// with GAMGSolver notation.
|
// with GAMGSolver notation.
|
||||||
|
|
||||||
//- Given fine to coarse processor map determine:
|
//- Given fine to coarse processor map determine:
|
||||||
// - for each coarse processor a master (minimum of the fine
|
//
|
||||||
// processors)
|
// - for each coarse processor a master (minimum of the fine
|
||||||
// - for each coarse processor the set of fine processors
|
// processors)
|
||||||
// (element 0 is the master processor)
|
// - for each coarse processor the set of fine processors
|
||||||
|
// (element 0 is the master processor)
|
||||||
static void calculateRegionMaster
|
static void calculateRegionMaster
|
||||||
(
|
(
|
||||||
const label comm,
|
const label comm,
|
||||||
|
|||||||
@ -33,6 +33,7 @@ Description
|
|||||||
MoveableMeshObject, UpdateableMeshObject) and the type of the actual object
|
MoveableMeshObject, UpdateableMeshObject) and the type of the actual object
|
||||||
it is created for example:
|
it is created for example:
|
||||||
|
|
||||||
|
\verbatim
|
||||||
class leastSquaresVectors
|
class leastSquaresVectors
|
||||||
:
|
:
|
||||||
public MeshObject<fvMesh, MoveableMeshObject, leastSquaresVectors>
|
public MeshObject<fvMesh, MoveableMeshObject, leastSquaresVectors>
|
||||||
@ -43,17 +44,20 @@ Description
|
|||||||
//- Delete the least square vectors when the mesh moves
|
//- Delete the least square vectors when the mesh moves
|
||||||
virtual bool movePoints();
|
virtual bool movePoints();
|
||||||
};
|
};
|
||||||
|
\endverbatim
|
||||||
|
|
||||||
MeshObject types:
|
MeshObject types:
|
||||||
|
|
||||||
TopologicalMeshObject: mesh object to be deleted on topology change
|
- TopologicalMeshObject: mesh object to be deleted on topology change
|
||||||
GeometricMeshObject: mesh object to be deleted on geometry change
|
- GeometricMeshObject: mesh object to be deleted on geometry change
|
||||||
MoveableMeshObject: mesh object to be updated in movePoints
|
- MoveableMeshObject: mesh object to be updated in movePoints
|
||||||
UpdateableMeshObject: mesh object to be updated in updateMesh or movePoints
|
- UpdateableMeshObject: mesh object to be updated in updateMesh or
|
||||||
|
movePoints
|
||||||
|
|
||||||
Note that movePoints must be provided for MeshObjects of type
|
Note
|
||||||
MoveableMeshObject and both movePoints and updateMesh functions must exist
|
movePoints must be provided for MeshObjects of type MoveableMeshObject
|
||||||
provided for MeshObjects of type UpdateableMeshObject.
|
and both movePoints and updateMesh functions must exist, provided for
|
||||||
|
MeshObjects of type UpdateableMeshObject.
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
MeshObject.C
|
MeshObject.C
|
||||||
|
|||||||
@ -123,6 +123,7 @@ public:
|
|||||||
|
|
||||||
//- Determine the mapping for a sub-patch.
|
//- Determine the mapping for a sub-patch.
|
||||||
// Only include faces for which bool-list entry is true.
|
// Only include faces for which bool-list entry is true.
|
||||||
|
// \param[in] p patch to be searched on
|
||||||
// \param[in] includeFaces faces to include
|
// \param[in] includeFaces faces to include
|
||||||
// \param[out] pointMap mapping new to old localPoints
|
// \param[out] pointMap mapping new to old localPoints
|
||||||
// \param[out] faceMap mapping new to old faces
|
// \param[out] faceMap mapping new to old faces
|
||||||
@ -136,7 +137,7 @@ public:
|
|||||||
>
|
>
|
||||||
static void subsetMap
|
static void subsetMap
|
||||||
(
|
(
|
||||||
const PrimitivePatch<Face, FaceList, PointField, PointType>&,
|
const PrimitivePatch<Face, FaceList, PointField, PointType>& p,
|
||||||
const BoolListType& includeFaces,
|
const BoolListType& includeFaces,
|
||||||
labelList& pointMap,
|
labelList& pointMap,
|
||||||
labelList& faceMap
|
labelList& faceMap
|
||||||
|
|||||||
@ -44,7 +44,8 @@ const Foam::treeBoundBox Foam::treeBoundBox::invertedBox
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
//! \cond - skip documentation : local scope only
|
//! \cond ignoreDocumentation
|
||||||
|
//- Skip documentation : local scope only
|
||||||
const Foam::label facesArray[6][4] =
|
const Foam::label facesArray[6][4] =
|
||||||
{
|
{
|
||||||
{0, 4, 6, 2}, // left
|
{0, 4, 6, 2}, // left
|
||||||
@ -63,7 +64,8 @@ const Foam::faceList Foam::treeBoundBox::faces
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
//! \cond - skip documentation : local scope only
|
//! \cond ignoreDocumentation
|
||||||
|
//- Skip documentation : local scope only
|
||||||
const Foam::label edgesArray[12][2] =
|
const Foam::label edgesArray[12][2] =
|
||||||
{
|
{
|
||||||
{0, 1}, // 0
|
{0, 1}, // 0
|
||||||
|
|||||||
@ -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-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -62,7 +62,7 @@ Description
|
|||||||
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
type compressible::turbulentTemperatureCoupledBaffleMixed;
|
||||||
Tnbr T;
|
Tnbr T;
|
||||||
kappa lookup;
|
kappa lookup;
|
||||||
KappaName kappa;
|
kappaName kappa;
|
||||||
thicknessLayers (0.1 0.2 0.3 0.4);
|
thicknessLayers (0.1 0.2 0.3 0.4);
|
||||||
kappaLayers (1 2 3 4)
|
kappaLayers (1 2 3 4)
|
||||||
value uniform 300;
|
value uniform 300;
|
||||||
@ -71,14 +71,13 @@ Description
|
|||||||
|
|
||||||
Needs to be on underlying mapped(Wall)FvPatch.
|
Needs to be on underlying mapped(Wall)FvPatch.
|
||||||
|
|
||||||
Note: kappa : heat conduction at patch. Gets supplied how to lookup
|
Note:
|
||||||
calculate kappa:
|
|
||||||
|
|
||||||
- 'lookup' : lookup volScalarField (or volSymmTensorField) with name
|
\li \c kappa and \c kappaName are inherited from temperatureCoupledBase.
|
||||||
- 'fluidThermo' : use fluidThermo and compressible::RASmodel to calculate
|
|
||||||
kappa
|
|
||||||
- 'solidThermo' : use solidThermo kappa()
|
SeeAlso
|
||||||
- 'directionalSolidThermo' directionalKappa()
|
Foam::temperatureCoupledBase
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C
|
turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.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) 2012-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -29,7 +29,7 @@ License
|
|||||||
This group contains RAS turbulence model boundary conditions
|
This group contains RAS turbulence model boundary conditions
|
||||||
@}
|
@}
|
||||||
|
|
||||||
\defgroup grpWallFunctions RAS wall functions
|
\defgroup grpRASWallFunctions RAS wall functions
|
||||||
@{
|
@{
|
||||||
\ingroup grpRASBoundaryConditions
|
\ingroup grpRASBoundaryConditions
|
||||||
This group contains RAS turbulence model wall functions
|
This group contains RAS turbulence model wall functions
|
||||||
|
|||||||
@ -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-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -28,6 +28,8 @@ 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
|
||||||
on the field boundary dictionary:
|
on the field boundary dictionary:
|
||||||
|
|
||||||
|
Example:
|
||||||
|
\verbatim
|
||||||
// New Shell mesh data
|
// New Shell mesh data
|
||||||
|
|
||||||
extrudeModel linearNormal;
|
extrudeModel linearNormal;
|
||||||
@ -61,6 +63,7 @@ Description
|
|||||||
name "side";
|
name "side";
|
||||||
type empty;
|
type empty;
|
||||||
}
|
}
|
||||||
|
\endverbatim
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -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-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -25,13 +25,14 @@ Class
|
|||||||
Foam::fv::option
|
Foam::fv::option
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Finite volume options abtract base class. Provides a base set of controls,
|
Finite volume options abstract base class. Provides a base set of
|
||||||
e.g.
|
controls, e.g.:
|
||||||
|
\verbatim
|
||||||
type scalarExplicitSource // source type
|
type scalarExplicitSource // source type
|
||||||
active on; // on/off switch
|
active on; // on/off switch
|
||||||
|
\endverbatim
|
||||||
|
|
||||||
Note:
|
Note
|
||||||
On evaluation, source/sink options are to be added to the equation R.H.S.
|
On evaluation, source/sink options are to be added to the equation R.H.S.
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
|
|||||||
@ -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-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -54,7 +54,7 @@ Description
|
|||||||
U | velocity
|
U | velocity
|
||||||
\endvartable
|
\endvartable
|
||||||
|
|
||||||
3. compressible transonic (\gamma <= 1):
|
3. compressible transonic (\f$\gamma <= 1\f$):
|
||||||
\f[
|
\f[
|
||||||
p_p = \frac{p_0}{1 + 0.5 \psi |U|^2}
|
p_p = \frac{p_0}{1 + 0.5 \psi |U|^2}
|
||||||
\f]
|
\f]
|
||||||
@ -65,7 +65,7 @@ Description
|
|||||||
G | coefficient given by \f$\frac{\gamma}{1-\gamma}\f$
|
G | coefficient given by \f$\frac{\gamma}{1-\gamma}\f$
|
||||||
\endvartable
|
\endvartable
|
||||||
|
|
||||||
4. compressible supersonic (\gamma > 1):
|
4. compressible supersonic (\f$\gamma > 1\f$):
|
||||||
\f[
|
\f[
|
||||||
p_p = \frac{p_0}{(1 + 0.5 \psi G |U|^2)^{\frac{1}{G}}}
|
p_p = \frac{p_0}{(1 + 0.5 \psi G |U|^2)^{\frac{1}{G}}}
|
||||||
\f]
|
\f]
|
||||||
|
|||||||
@ -27,8 +27,12 @@ Class
|
|||||||
Description
|
Description
|
||||||
Interpolates pre-specified motion.
|
Interpolates pre-specified motion.
|
||||||
|
|
||||||
Motion specified as pointVectorFields. E.g.
|
Motion specified as pointVectorFields.
|
||||||
|
|
||||||
|
\heading Patch usage
|
||||||
|
|
||||||
|
Example:
|
||||||
|
\verbatim
|
||||||
walls
|
walls
|
||||||
{
|
{
|
||||||
type uniformInterpolatedDisplacement;
|
type uniformInterpolatedDisplacement;
|
||||||
@ -36,9 +40,10 @@ Description
|
|||||||
fieldName wantedDisplacement;
|
fieldName wantedDisplacement;
|
||||||
interpolationScheme linear;
|
interpolationScheme linear;
|
||||||
}
|
}
|
||||||
|
\endverbatim
|
||||||
|
|
||||||
This will scan the case for 'wantedDisplacement' pointVectorFields
|
This will scan the case for \a wantedDisplacement pointVectorFields
|
||||||
and interpolate those in time (using 'linear' interpolation) to
|
and interpolate those in time (using \c linear interpolation) to
|
||||||
obtain the current displacement.
|
obtain the current displacement.
|
||||||
The advantage of specifying displacement in this way is that it
|
The advantage of specifying displacement in this way is that it
|
||||||
automatically works through decomposePar.
|
automatically works through decomposePar.
|
||||||
|
|||||||
@ -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-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -26,8 +26,8 @@ Class
|
|||||||
|
|
||||||
Description
|
Description
|
||||||
Cell-set options abtract base class. Provides a base set of controls,
|
Cell-set options abtract base class. Provides a base set of controls,
|
||||||
e.g.
|
e.g.:
|
||||||
|
\verbatim
|
||||||
type scalarExplicitSource // Source type
|
type scalarExplicitSource // Source type
|
||||||
active on; // on/off switch
|
active on; // on/off switch
|
||||||
|
|
||||||
@ -40,8 +40,9 @@ Description
|
|||||||
.
|
.
|
||||||
.
|
.
|
||||||
}
|
}
|
||||||
|
\endverbatim
|
||||||
|
|
||||||
Note:
|
Note
|
||||||
Source/sink options are to be added to the equation R.H.S.
|
Source/sink options are to be added to the equation R.H.S.
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
|
|||||||
@ -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-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2012-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -25,27 +25,29 @@ Class
|
|||||||
Foam::fv::interRegionExplicitPorositySource
|
Foam::fv::interRegionExplicitPorositySource
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Inter-region explicit porosity source
|
Inter-region explicit porosity source.
|
||||||
|
|
||||||
Sources described by, for example using the DarcyForchheimer model:
|
Sources described by, for example using the DarcyForchheimer model:
|
||||||
|
|
||||||
interRegionExplicitPorositySourceCoeffs
|
\verbatim
|
||||||
|
interRegionExplicitPorositySourceCoeffs
|
||||||
|
{
|
||||||
|
type DarcyForchheimer;
|
||||||
|
DarcyForchheimerCoeffs
|
||||||
{
|
{
|
||||||
type DarcyForchheimer;
|
d d [0 -2 0 0 0 0 0] (5e7 -1000 -1000);
|
||||||
DarcyForchheimerCoeffs
|
f f [0 -1 0 0 0 0 0] (0 0 0);
|
||||||
{
|
|
||||||
d d [0 -2 0 0 0 0 0] (5e7 -1000 -1000);
|
|
||||||
f f [0 -1 0 0 0 0 0] (0 0 0);
|
|
||||||
|
|
||||||
coordinateSystem
|
coordinateSystem
|
||||||
{
|
{
|
||||||
e1 (0.70710678 0.70710678 0);
|
e1 (0.70710678 0.70710678 0);
|
||||||
e2 (0 0 1);
|
e2 (0 0 1);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
\endverbatim
|
||||||
|
|
||||||
Note:
|
Note
|
||||||
The porous region must be selected as a cellZone.
|
The porous region must be selected as a cellZone.
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
|
|||||||
@ -25,16 +25,17 @@ Class
|
|||||||
Foam::ParticleTrap
|
Foam::ParticleTrap
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Traps particles within a given phase fraction for multi-phase cases
|
Traps particles within a given phase fraction for multi-phase cases.
|
||||||
|
|
||||||
Model is activated using:
|
Model is activated using:
|
||||||
|
\verbatim
|
||||||
particleTrap1
|
particleTrap1
|
||||||
{
|
{
|
||||||
type particleTrap;
|
type particleTrap;
|
||||||
alphaName alpha; // name volume fraction field
|
alphaName alpha; // name volume fraction field
|
||||||
threshold 0.95; // alpha value below which model is active
|
threshold 0.95; // alpha value below which model is active
|
||||||
}
|
}
|
||||||
|
\endverbatim
|
||||||
|
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
|
|||||||
@ -25,14 +25,17 @@ Class
|
|||||||
Foam::CellZoneInjection
|
Foam::CellZoneInjection
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Injection positions specified by a particle number density within a cell set
|
Injection positions specified by a particle number density within a cell
|
||||||
|
set.
|
||||||
|
|
||||||
- User specifies
|
\li User specifies:
|
||||||
- Number density of particles in cell set (effective)
|
- Number density of particles in cell set (effective)
|
||||||
- Total mass to inject
|
- Total mass to inject
|
||||||
- Initial parcel velocity
|
- Initial parcel velocity
|
||||||
- Parcel diameters obtained by PDF model
|
|
||||||
- All parcels introduced at SOI
|
\li Parcel diameters obtained by PDF model
|
||||||
|
|
||||||
|
\li All parcels introduced at SOI
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
CellZoneInjection.C
|
CellZoneInjection.C
|
||||||
|
|||||||
@ -25,14 +25,16 @@ Class
|
|||||||
Foam::ConeInjection
|
Foam::ConeInjection
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Multi-point cone injection model
|
Multi-point cone injection model.
|
||||||
- User specifies
|
|
||||||
- time of start of injection
|
\li User specifies:
|
||||||
- list of injector positions and directions (along injection axes)
|
- time of start of injection
|
||||||
- number of parcels to inject per injector
|
- list of injector positions and directions (along injection axes)
|
||||||
- parcel velocities
|
- number of parcels to inject per injector
|
||||||
- inner and outer half-cone angles
|
- parcel velocities
|
||||||
- Parcel diameters obtained by distribution model
|
- inner and outer half-cone angles
|
||||||
|
|
||||||
|
\li Parcel diameters obtained by distribution model
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
ConeInjection.C
|
ConeInjection.C
|
||||||
|
|||||||
@ -25,25 +25,32 @@ Class
|
|||||||
Foam::ConeNozzleInjection
|
Foam::ConeNozzleInjection
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Cone injection
|
Cone injection.
|
||||||
|
|
||||||
- User specifies
|
\li User specifies:
|
||||||
- time of start of injection
|
- time of start of injection
|
||||||
- injector position
|
- injector position
|
||||||
- direction (along injection axis)
|
- direction (along injection axis)
|
||||||
- parcel flow rate
|
- parcel flow rate
|
||||||
- inner and outer half-cone angles
|
- inner and outer half-cone angles
|
||||||
|
|
||||||
- Parcel diameters obtained by size distribution model
|
\li Parcel diameters obtained by size distribution model
|
||||||
|
|
||||||
- Parcel velocity is calculated as:
|
\li Parcel velocity is calculated as:
|
||||||
|
- Constant velocity:
|
||||||
|
\verbatim
|
||||||
|
U = \<specified by user\>
|
||||||
|
\endverbatim
|
||||||
|
|
||||||
- Constant velocity
|
- Pressure driven velocity:
|
||||||
U = \<specified by user\>
|
\verbatim
|
||||||
- Pressure driven velocity
|
U = sqrt(2*(Pinj - Pamb)/rho)
|
||||||
U = sqrt(2*(Pinj - Pamb)/rho)
|
\endverbatim
|
||||||
- Flow rate and discharge
|
|
||||||
U = V_dot/(A*Cd)
|
- Flow rate and discharge:
|
||||||
|
\verbatim
|
||||||
|
U = V_dot/(A*Cd)
|
||||||
|
\endverbatim
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
ConeNozzleInjection.C
|
ConeNozzleInjection.C
|
||||||
|
|||||||
@ -27,16 +27,16 @@ Class
|
|||||||
Description
|
Description
|
||||||
Injection at specified positions, with the conditions:
|
Injection at specified positions, with the conditions:
|
||||||
|
|
||||||
- for injection to be allowed
|
\li for injection to be allowed
|
||||||
|
\verbatim
|
||||||
factor*referenceField[cellI] >= thresholdField[cellI]
|
factor*referenceField[cellI] >= thresholdField[cellI]
|
||||||
|
\endverbatim
|
||||||
where:
|
where:
|
||||||
- referenceField is the field used to supply the look-up values
|
- \c referenceField is the field used to supply the look-up values
|
||||||
- thresholdField supplies the values beyond which the injection is
|
- \c thresholdField supplies the values beyond which the injection is
|
||||||
permitted
|
permitted.
|
||||||
|
|
||||||
- limited to a user-supllied number of injections per injector location
|
\li limited to a user-supllied number of injections per injector location
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
FieldActivatedInjection.C
|
FieldActivatedInjection.C
|
||||||
|
|||||||
@ -28,19 +28,23 @@ Description
|
|||||||
Particle injection sources read from look-up table. Each row corresponds to
|
Particle injection sources read from look-up table. Each row corresponds to
|
||||||
an injection site.
|
an injection site.
|
||||||
|
|
||||||
|
\verbatim
|
||||||
(
|
(
|
||||||
(x y z) (u v w) d rho mDot // injector 1
|
(x y z) (u v w) d rho mDot // injector 1
|
||||||
(x y z) (u v w) d rho mDot // injector 2
|
(x y z) (u v w) d rho mDot // injector 2
|
||||||
...
|
...
|
||||||
(x y z) (u v w) d rho mDot // injector N
|
(x y z) (u v w) d rho mDot // injector N
|
||||||
);
|
);
|
||||||
|
\endverbatim
|
||||||
|
|
||||||
where:
|
where:
|
||||||
x, y, z = global cartesian co-ordinates [m]
|
\plaintable
|
||||||
u, v, w = global cartesian velocity components [m/s]
|
x, y, z | global cartesian co-ordinates [m]
|
||||||
d = diameter [m]
|
u, v, w | global cartesian velocity components [m/s]
|
||||||
rho = density [kg/m3]
|
d | diameter [m]
|
||||||
mDot = mass flow rate [kg/m3]
|
rho | density [kg/m3]
|
||||||
|
mDot | mass flow rate [kg/m3]
|
||||||
|
\endplaintable
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
KinematicLookupTableInjection.C
|
KinematicLookupTableInjection.C
|
||||||
|
|||||||
@ -25,13 +25,16 @@ Class
|
|||||||
Foam::ManualInjection
|
Foam::ManualInjection
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Manual injection
|
Manual injection.
|
||||||
- User specifies
|
|
||||||
- Total mass to inject
|
\li User specifies:
|
||||||
- Parcel positions in file \c positionsFile
|
- Total mass to inject
|
||||||
- Initial parcel velocity
|
- Parcel positions in file \c positionsFile
|
||||||
- Parcel diameters obtained by distribution model
|
- Initial parcel velocity
|
||||||
- All parcels introduced at SOI
|
|
||||||
|
\li Parcel diameters obtained by distribution model
|
||||||
|
|
||||||
|
\li All parcels introduced at SOI
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
ManualInjection.C
|
ManualInjection.C
|
||||||
|
|||||||
@ -25,17 +25,17 @@ Class
|
|||||||
Foam::PatchFlowRateInjection
|
Foam::PatchFlowRateInjection
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Patch injection
|
Patch injection, by using patch flow rate to determine concentration and
|
||||||
- uses patch flow rate to determine concentration and velociy
|
velocity.
|
||||||
|
|
||||||
- User specifies
|
\li User specifies
|
||||||
- Total mass to inject
|
- Total mass to inject
|
||||||
- Name of patch
|
- Name of patch
|
||||||
- Injection duration
|
- Injection duration
|
||||||
- Injection target concentration/carrier volume flow rate
|
- Injection target concentration/carrier volume flow rate
|
||||||
- Initial parcel velocity given by local flow velocity
|
\li Initial parcel velocity given by local flow velocity
|
||||||
- Parcel diameters obtained by distribution model
|
\li Parcel diameters obtained by distribution model
|
||||||
- Parcels injected randomly across the patch
|
\li Parcels injected randomly across the patch
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
PatchFlowRateInjection.C
|
PatchFlowRateInjection.C
|
||||||
|
|||||||
@ -25,15 +25,16 @@ Class
|
|||||||
Foam::PatchInjection
|
Foam::PatchInjection
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Patch injection
|
Patch injection.
|
||||||
- User specifies
|
|
||||||
- Total mass to inject
|
\li User specifies:
|
||||||
- Name of patch
|
- Total mass to inject
|
||||||
- Injection duration
|
- Name of patch
|
||||||
- Initial parcel velocity
|
- Injection duration
|
||||||
- Injection volume flow rate
|
- Initial parcel velocity
|
||||||
- Parcel diameters obtained by distribution model
|
- Injection volume flow rate
|
||||||
- Parcels injected randomly across the patch
|
\li Parcel diameters obtained by distribution model
|
||||||
|
\li Parcels injected randomly across the patch
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
PatchInjection.C
|
PatchInjection.C
|
||||||
|
|||||||
@ -26,18 +26,20 @@ Class
|
|||||||
|
|
||||||
Description
|
Description
|
||||||
Wall interaction model. Three choices:
|
Wall interaction model. Three choices:
|
||||||
- rebound - optionally specify elasticity and resitution coefficients
|
|
||||||
- stick - particles assigined zero velocity
|
\li \c rebound - optionally specify elasticity and restitution coefficients
|
||||||
- escape - remove particle from the domain
|
\li \c stick - particles assigned zero velocity
|
||||||
|
\li \c escape - remove particle from the domain
|
||||||
|
|
||||||
Example usage:
|
Example usage:
|
||||||
|
\verbatim
|
||||||
StandardWallInteractionCoeffs
|
StandardWallInteractionCoeffs
|
||||||
{
|
{
|
||||||
type rebound; // stick, escape
|
type rebound; // stick, escape
|
||||||
e 1; // optional - elasticity coeff
|
e 1; // optional - elasticity coeff
|
||||||
mu 0; // optional - restitution coeff
|
mu 0; // optional - restitution coeff
|
||||||
}
|
}
|
||||||
|
\endverbatim
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -140,12 +140,13 @@ public:
|
|||||||
//- Highest distance of all features
|
//- Highest distance of all features
|
||||||
scalar maxDistance() const;
|
scalar maxDistance() const;
|
||||||
|
|
||||||
//- Find nearest point on nearest feature edge. Sets
|
//- Find nearest point on nearest feature edge. Sets:
|
||||||
// - nearFeature: index of feature mesh
|
//
|
||||||
// - nearInfo : location on feature edge and edge index
|
// - nearFeature: index of feature mesh
|
||||||
// (note: not feature edge index but index into
|
// - nearInfo : location on feature edge and edge index
|
||||||
// edges() directly)
|
// (note: not feature edge index but index into edges()
|
||||||
// - nearNormal : local feature edge normal
|
// directly)
|
||||||
|
// - nearNormal : local feature edge normal
|
||||||
void findNearestEdge
|
void findNearestEdge
|
||||||
(
|
(
|
||||||
const pointField& samples,
|
const pointField& samples,
|
||||||
@ -155,12 +156,13 @@ public:
|
|||||||
vectorField& nearNormal
|
vectorField& nearNormal
|
||||||
) const;
|
) const;
|
||||||
|
|
||||||
//- Find nearest point on nearest region edge. Sets
|
//- Find nearest point on nearest region edge. Sets:
|
||||||
// - nearFeature: index of feature mesh
|
//
|
||||||
// - nearInfo : location on feature edge and edge index
|
// - nearFeature: index of feature mesh
|
||||||
// (note: not feature edge index but index into
|
// - nearInfo : location on feature edge and edge index
|
||||||
// edges() directly)
|
// (note: not feature edge index but index into edges()
|
||||||
// - nearNormal : local feature edge normal
|
// directly)
|
||||||
|
// - nearNormal : local feature edge normal
|
||||||
void findNearestRegionEdge
|
void findNearestRegionEdge
|
||||||
(
|
(
|
||||||
const pointField& samples,
|
const pointField& samples,
|
||||||
@ -170,11 +172,12 @@ public:
|
|||||||
vectorField& nearNormal
|
vectorField& nearNormal
|
||||||
) const;
|
) const;
|
||||||
|
|
||||||
//- Find nearest feature point. Sets
|
//- Find nearest feature point. Sets:
|
||||||
// - nearFeature: index of feature mesh
|
//
|
||||||
// - nearInfo : location on feature point and point index.
|
// - nearFeature: index of feature mesh
|
||||||
// (note: not index into shapes().pointLabels() but
|
// - nearInfo : location on feature point and point index.
|
||||||
// index into points() directly)
|
// (note: not index into shapes().pointLabels() but index
|
||||||
|
// into points() directly)
|
||||||
void findNearestPoint
|
void findNearestPoint
|
||||||
(
|
(
|
||||||
const pointField& samples,
|
const pointField& samples,
|
||||||
|
|||||||
@ -60,11 +60,12 @@ public:
|
|||||||
// Public data types
|
// Public data types
|
||||||
|
|
||||||
//- Enumeration defining the layer specification:
|
//- Enumeration defining the layer specification:
|
||||||
// - first and total thickness specified
|
//
|
||||||
// - first and expansion ratio specified
|
// - first and total thickness specified
|
||||||
// - final and total thickness specified
|
// - first and expansion ratio specified
|
||||||
// - final and expansion ratio specified
|
// - final and total thickness specified
|
||||||
// - total thickness and expansion ratio specified
|
// - final and expansion ratio specified
|
||||||
|
// - total thickness and expansion ratio specified
|
||||||
enum layerSpecification
|
enum layerSpecification
|
||||||
{
|
{
|
||||||
ILLEGAL,
|
ILLEGAL,
|
||||||
@ -166,11 +167,12 @@ public:
|
|||||||
|
|
||||||
// Per patch information
|
// Per patch information
|
||||||
|
|
||||||
//- How many layers to add.
|
//- How many layers to add:
|
||||||
// -1 : no specification. Assume 0 layers but allow sliding
|
//
|
||||||
// to make layers
|
// - -1 : no specification. Assume 0 layers but allow sliding
|
||||||
// 0 : specified to have 0 layers. No sliding allowed.
|
// to make layers
|
||||||
// >0 : number of layers
|
// - 0 : specified to have 0 layers. No sliding allowed.
|
||||||
|
// - >0 : number of layers
|
||||||
const labelList& numLayers() const
|
const labelList& numLayers() const
|
||||||
{
|
{
|
||||||
return numLayers_;
|
return numLayers_;
|
||||||
|
|||||||
@ -37,14 +37,17 @@ Description
|
|||||||
- the rotation angles are in degrees, unless otherwise explictly specified:
|
- the rotation angles are in degrees, unless otherwise explictly specified:
|
||||||
|
|
||||||
\verbatim
|
\verbatim
|
||||||
coordinateRotation
|
coordinateRotation
|
||||||
{
|
{
|
||||||
type EulerRotation
|
type EulerRotation;
|
||||||
degrees false;
|
degrees false;
|
||||||
rotation (0 0 3.141592654);
|
rotation (0 0 3.141592654);
|
||||||
}
|
}
|
||||||
\endverbatim
|
\endverbatim
|
||||||
|
|
||||||
|
SourceFiles
|
||||||
|
EulerCoordinateRotation.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef EulerCoordinateRotation_H
|
#ifndef EulerCoordinateRotation_H
|
||||||
|
|||||||
@ -34,14 +34,17 @@ Description
|
|||||||
- the rotation angles are in degrees, unless otherwise explictly specified:
|
- the rotation angles are in degrees, unless otherwise explictly specified:
|
||||||
|
|
||||||
\verbatim
|
\verbatim
|
||||||
coordinateRotation
|
coordinateRotation
|
||||||
{
|
{
|
||||||
type STARCDRotation;
|
type STARCDRotation;
|
||||||
degrees false;
|
degrees false;
|
||||||
rotation (0 0 3.141592654);
|
rotation (0 0 3.141592654);
|
||||||
}
|
}
|
||||||
\endverbatim
|
\endverbatim
|
||||||
|
|
||||||
|
SourceFiles
|
||||||
|
STARCDCoordinateRotation.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef STARCDCoordinateRotation_H
|
#ifndef STARCDCoordinateRotation_H
|
||||||
|
|||||||
@ -28,17 +28,21 @@ Description
|
|||||||
A coordinate rotation specified using global axis
|
A coordinate rotation specified using global axis
|
||||||
|
|
||||||
The rotation is defined by a combination of vectors (e1/e2), (e2/e3)
|
The rotation is defined by a combination of vectors (e1/e2), (e2/e3)
|
||||||
or (e3/e1). Any nonorthogonality will be absorbed into the second vector.
|
or (e3/e1). Any nonorthogonality will be absorbed into the second
|
||||||
|
vector.
|
||||||
|
|
||||||
\verbatim
|
\verbatim
|
||||||
axesRotation
|
axesRotation
|
||||||
{
|
{
|
||||||
type axesRotation;
|
type axesRotation;
|
||||||
e1 (1 0 0);
|
e1 (1 0 0);
|
||||||
e2 (0 1 0);
|
e2 (0 1 0);
|
||||||
}
|
}
|
||||||
\endverbatim
|
\endverbatim
|
||||||
|
|
||||||
|
SourceFiles
|
||||||
|
axesRotation.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef axesRotation_H
|
#ifndef axesRotation_H
|
||||||
|
|||||||
@ -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-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -28,21 +28,24 @@ Description
|
|||||||
Abstract base class for coordinate rotation
|
Abstract base class for coordinate rotation
|
||||||
|
|
||||||
\verbatim
|
\verbatim
|
||||||
coordinateRotation
|
coordinateRotation
|
||||||
{
|
{
|
||||||
type axesRotation
|
type axesRotation
|
||||||
e1 (1 0 0);
|
e1 (1 0 0);
|
||||||
e2 (0 1 0);
|
e2 (0 1 0);
|
||||||
}
|
}
|
||||||
\endverbatim
|
\endverbatim
|
||||||
|
|
||||||
Types of coordinateRotation:
|
Types of coordinateRotation:
|
||||||
1) axesRotation
|
|
||||||
2) STARCDRotation
|
|
||||||
3) cylindrical
|
|
||||||
4) EulerCoordinateRotation
|
|
||||||
|
|
||||||
|
\li 1. axesRotation
|
||||||
|
\li 2. STARCDRotation
|
||||||
|
\li 3. cylindrical
|
||||||
|
\li 4. EulerCoordinateRotation
|
||||||
|
|
||||||
|
SourceFiles
|
||||||
|
coordinateRotation.C
|
||||||
|
coordinateRotationNew.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -28,20 +28,22 @@ Description
|
|||||||
A local coordinate rotation.
|
A local coordinate rotation.
|
||||||
The cell based rotational field can be created in two ways:
|
The cell based rotational field can be created in two ways:
|
||||||
|
|
||||||
1) Each rotational tensor is defined with two vectors (dir and e3)
|
\li 1. Each rotational tensor is defined with two vectors (\c dir and \c e3)
|
||||||
where dir = cellC - origin and e3 is the rotation axis.
|
where <tt>dir = cellC - origin</tt> and \c e3 is the rotation axis.
|
||||||
Per each cell an axesRotation type of rotation is created
|
Per each cell an axesRotation type of rotation is created
|
||||||
(cylindrical coordinates)
|
(cylindrical coordinates). For example:
|
||||||
|
|
||||||
\verbatim
|
\verbatim
|
||||||
cylindrical
|
cylindrical
|
||||||
{
|
{
|
||||||
type localAxes;
|
type localAxes;
|
||||||
e3 (0 0 1);
|
e3 (0 0 1);
|
||||||
}
|
}
|
||||||
\endverbatim
|
\endverbatim
|
||||||
|
|
||||||
2) The rotational tensor field is provided at construction
|
\li 2. The rotational tensor field is provided at construction.
|
||||||
|
|
||||||
|
SourceFiles
|
||||||
|
cylindrical.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-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -30,30 +30,29 @@ Description
|
|||||||
All systems are defined by an origin point and a co-ordinate rotation.
|
All systems are defined by an origin point and a co-ordinate rotation.
|
||||||
|
|
||||||
\verbatim
|
\verbatim
|
||||||
coordinateSystem
|
coordinateSystem
|
||||||
|
{
|
||||||
|
type cartesian;
|
||||||
|
origin (0 0 0);
|
||||||
|
coordinateRotation
|
||||||
{
|
{
|
||||||
type cartesian;
|
type cylindrical;
|
||||||
origin (0 0 0);
|
e3 (0 0 1);
|
||||||
coordinateRotation
|
|
||||||
{
|
|
||||||
type cylindrical;
|
|
||||||
e3 (0 0 1);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
\endverbatim
|
\endverbatim
|
||||||
|
|
||||||
Types of coordinateRotation:
|
Types of coordinateRotation:
|
||||||
1) axesRotation
|
|
||||||
2) STARCDRotation
|
\li 1. axesRotation
|
||||||
3) cylindrical
|
\li 2. STARCDRotation
|
||||||
4) EulerCoordinateRotation
|
\li 3. cylindrical
|
||||||
|
\li 4. EulerCoordinateRotation
|
||||||
|
|
||||||
Type of co-ordinates:
|
Type of co-ordinates:
|
||||||
1) cartesian
|
|
||||||
|
|
||||||
|
\li 1. cartesian
|
||||||
|
|
||||||
See Also
|
|
||||||
coordinateSystem and coordinateSystem::New
|
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
coordinateSystem.C
|
coordinateSystem.C
|
||||||
|
|||||||
@ -29,6 +29,7 @@ Description
|
|||||||
centres and processors they're on.
|
centres and processors they're on.
|
||||||
|
|
||||||
If constructed from dictionary:
|
If constructed from dictionary:
|
||||||
|
\verbatim
|
||||||
// Region to sample (default is region0)
|
// Region to sample (default is region0)
|
||||||
sampleRegion region0;
|
sampleRegion region0;
|
||||||
|
|
||||||
@ -63,8 +64,9 @@ Description
|
|||||||
// According to offsetMode (see above) supply one of
|
// According to offsetMode (see above) supply one of
|
||||||
// offset, offsets or distance
|
// offset, offsets or distance
|
||||||
offset (1 0 0);
|
offset (1 0 0);
|
||||||
|
\endverbatim
|
||||||
|
|
||||||
Note: if offsetMode is 'normal' it uses outwards pointing normals. So
|
Note: if offsetMode is \c normal it uses outwards pointing normals. So
|
||||||
supply a negative distance if sampling inside the domain.
|
supply a negative distance if sampling inside the domain.
|
||||||
|
|
||||||
|
|
||||||
@ -218,9 +220,10 @@ protected:
|
|||||||
// Derived information
|
// Derived information
|
||||||
|
|
||||||
//- Communication schedule:
|
//- Communication schedule:
|
||||||
// - Cells/faces to sample per processor
|
//
|
||||||
// - Patch faces to receive per processor
|
// - Cells/faces to sample per processor
|
||||||
// - schedule
|
// - Patch faces to receive per processor
|
||||||
|
// - schedule
|
||||||
mutable autoPtr<mapDistribute> mapPtr_;
|
mutable autoPtr<mapDistribute> mapPtr_;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -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-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -26,16 +26,21 @@ Class
|
|||||||
|
|
||||||
Description
|
Description
|
||||||
Contains information about location on a triSurface:
|
Contains information about location on a triSurface:
|
||||||
- pointIndexHit:
|
|
||||||
|
\li pointIndexHit:
|
||||||
- location
|
- location
|
||||||
- bool: hit/miss
|
- bool: hit/miss
|
||||||
- index (of triangle/point/edge)
|
- index (of triangle/point/edge)
|
||||||
- elementType():
|
|
||||||
|
\li elementType():
|
||||||
- what index above relates to. In triangle::proxType
|
- what index above relates to. In triangle::proxType
|
||||||
- triangle():
|
|
||||||
|
\li triangle():
|
||||||
- last known triangle
|
- last known triangle
|
||||||
|
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
|
surfaceLocation.C
|
||||||
|
|
||||||
\*---------------------------------------------------------------------------*/
|
\*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
@ -31,12 +31,13 @@ Description
|
|||||||
This function object allows specification of different writing frequency
|
This function object allows specification of different writing frequency
|
||||||
of objects registered to the database. It has similar functionality
|
of objects registered to the database. It has similar functionality
|
||||||
as the main time database through the outputControl setting:
|
as the main time database through the outputControl setting:
|
||||||
timeStep
|
|
||||||
outputTime
|
\li \c timeStep
|
||||||
adjustableTime
|
\li \c outputTime
|
||||||
runTime
|
\li \c adjustableTime
|
||||||
clockTime
|
\li \c runTime
|
||||||
cpuTime
|
\li \c clockTime
|
||||||
|
\li \c cpuTime
|
||||||
|
|
||||||
Example of function object specification:
|
Example of function object specification:
|
||||||
\verbatim
|
\verbatim
|
||||||
@ -58,7 +59,7 @@ Description
|
|||||||
exclusiveWriting | Takes over object writing | no | yes
|
exclusiveWriting | Takes over object writing | no | yes
|
||||||
\endtable
|
\endtable
|
||||||
|
|
||||||
exclusiveWriting disables automatic writing (i.e through database) of the
|
\c exclusiveWriting disables automatic writing (i.e through database) of the
|
||||||
objects to avoid duplicate writing.
|
objects to avoid duplicate writing.
|
||||||
|
|
||||||
SeeAlso
|
SeeAlso
|
||||||
|
|||||||
@ -32,9 +32,11 @@ Description
|
|||||||
further manipulation.
|
further manipulation.
|
||||||
|
|
||||||
Fields are stored as copies of the original, with the prefix
|
Fields are stored as copies of the original, with the prefix
|
||||||
"tubulenceModel:", e.g.
|
"tubulenceModel:", e.g.:
|
||||||
|
|
||||||
turbulenceModel:R
|
\verbatim
|
||||||
|
turbulenceModel:R
|
||||||
|
\endverbatim
|
||||||
|
|
||||||
Example of function object specification:
|
Example of function object specification:
|
||||||
\verbatim
|
\verbatim
|
||||||
|
|||||||
@ -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-2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2013-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -22,52 +22,57 @@ 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::filmPyrolysisRadiativeCoupledMixedFvPatchScalarField
|
||||||
filmPyrolysisRadiativeCoupledMixedFvPatchScalarField
|
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Mixed boundary condition for temperature, to be used in the flow and
|
Mixed boundary condition for temperature, to be used in the flow and
|
||||||
pyrolysis regions when a film region model is used.
|
pyrolysis regions when a film region model is used.
|
||||||
|
|
||||||
|
|
||||||
Example usage:
|
Example usage:
|
||||||
myInterfacePatchName
|
\verbatim
|
||||||
{
|
myInterfacePatchName
|
||||||
type filmPyrolysisRadiativeCoupledMixed;
|
{
|
||||||
Tnbr T;
|
type filmPyrolysisRadiativeCoupledMixed;
|
||||||
kappa fluidThermo;
|
Tnbr T;
|
||||||
Qr Qr;
|
kappa fluidThermo;
|
||||||
kappaName none;
|
Qr Qr;
|
||||||
filmDeltaDry 0.0;
|
kappaName none;
|
||||||
filmDeltaWet 3e-4;
|
filmDeltaDry 0.0;
|
||||||
value $internalField;
|
filmDeltaWet 3e-4;
|
||||||
}
|
value $internalField;
|
||||||
|
}
|
||||||
|
\endverbatim
|
||||||
|
|
||||||
Needs to be on underlying mapped(Wall)FvPatch.
|
Needs to be on underlying mapped(Wall)FvPatch.
|
||||||
It calculates local field as
|
It calculates local field as:
|
||||||
ratio = (filmDelta - filmDeltaDry)/(filmDeltaWet - filmDeltaDry),
|
|
||||||
|
|
||||||
when ratio = 1 is considered wet and the film temperarture is fixed at
|
\verbatim
|
||||||
|
ratio = (filmDelta - filmDeltaDry)/(filmDeltaWet - filmDeltaDry)
|
||||||
|
\endverbatim
|
||||||
|
|
||||||
|
when ratio = 1 is considered wet and the film temperature is fixed at
|
||||||
the wall. If ratio = 0 (dry) it emulates the normal radiative solid BC.
|
the wall. If ratio = 0 (dry) it emulates the normal radiative solid BC.
|
||||||
|
|
||||||
In between ratio 0 and 1 the gradient and value contributions are
|
In between ratio 0 and 1 the gradient and value contributions are
|
||||||
weighted using the ratio field in the followig way:
|
weighted using the ratio field in the following way:
|
||||||
|
|
||||||
qConv = ratio*htcwfilm*(Tfilm - *this);
|
\verbatim
|
||||||
qRad = (1.0 - ratio)*Qr;
|
qConv = ratio*htcwfilm*(Tfilm - *this);
|
||||||
|
qRad = (1.0 - ratio)*Qr;
|
||||||
|
\endverbatim
|
||||||
|
|
||||||
Then the solid can gain or loose energy through radiation or conduction
|
Then the solid can gain or loose energy through radiation or conduction
|
||||||
towards the film.
|
towards the film.
|
||||||
|
|
||||||
Note: kappa : heat conduction at patch.
|
Notes:
|
||||||
Gets supplied how to lookup/calculate kappa:
|
|
||||||
- 'lookup' : lookup volScalarField (or volSymmTensorField) with name
|
|
||||||
- 'basicThermo' : use basicThermo and compressible::RASmodel to calculate K
|
|
||||||
- 'solidThermo' : use basicSolidThermo K()
|
|
||||||
|
|
||||||
Qr is the radiative flux defined in the radiation model.
|
\li \c kappa and \c kappaName are inherited from temperatureCoupledBase.
|
||||||
|
\li \c Qr is the radiative flux defined in the radiation model.
|
||||||
|
|
||||||
|
|
||||||
|
SeeAlso
|
||||||
|
Foam::temperatureCoupledBase
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
filmPyrolysisRadiativeCoupledMixedFvPatchScalarField.C
|
filmPyrolysisRadiativeCoupledMixedFvPatchScalarField.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-2013 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -35,14 +35,14 @@ Description
|
|||||||
|
|
||||||
Example of the boundary condition specification:
|
Example of the boundary condition specification:
|
||||||
\verbatim
|
\verbatim
|
||||||
myPatch
|
myPatch
|
||||||
{
|
{
|
||||||
type filmPyrolysisTemperatureCoupled;
|
type filmPyrolysisTemperatureCoupled;
|
||||||
phi phi; // name of flux field (default = phi)
|
phi phi; // name of flux field (default = phi)
|
||||||
rho rho; // name of density field (default = rho)
|
rho rho; // name of density field (default = rho)
|
||||||
deltaWet 1e-4; // threshold height for 'wet' film
|
deltaWet 1e-4; // threshold height for 'wet' film
|
||||||
value uniform 300; // initial temperature / [K]
|
value uniform 300; // initial temperature / [K]
|
||||||
}
|
}
|
||||||
\endverbatim
|
\endverbatim
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
|
|||||||
@ -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-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -35,14 +35,14 @@ Description
|
|||||||
|
|
||||||
Example of the boundary condition specification:
|
Example of the boundary condition specification:
|
||||||
\verbatim
|
\verbatim
|
||||||
myPatch
|
myPatch
|
||||||
{
|
{
|
||||||
type filmPyrolysisVelocityCoupled;
|
type filmPyrolysisVelocityCoupled;
|
||||||
phi phi; // name of flux field (default = phi)
|
phi phi; // name of flux field (default = phi)
|
||||||
rho rho; // name of density field (default = rho)
|
rho rho; // name of density field (default = rho)
|
||||||
deltaWet 1e-4; // threshold height for 'wet' film
|
deltaWet 1e-4; // threshold height for 'wet' film
|
||||||
value uniform (0 0 0); // initial velocity / [m/s]
|
value uniform (0 0 0); // initial velocity / [m/s]
|
||||||
}
|
}
|
||||||
\endverbatim
|
\endverbatim
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
|
|||||||
@ -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) 2015 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2015-2016 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
|
||||||
Foam::patchInjection
|
Foam::regionModels::surfaceFilmModels::patchInjection
|
||||||
|
|
||||||
Description
|
Description
|
||||||
Remove and inject the mass in the film as it passes over the selected
|
Remove and inject the mass in the film as it passes over the selected
|
||||||
|
|||||||
@ -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-2016 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
|
||||||
Foam::thermalBaffleFvPatchScalarField
|
Foam::compressible::thermalBaffleFvPatchScalarField
|
||||||
|
|
||||||
Group
|
Group
|
||||||
grpThermoBoundaryConditions
|
grpThermoBoundaryConditions
|
||||||
@ -30,16 +30,18 @@ Group
|
|||||||
Description
|
Description
|
||||||
This boundary condition provides a coupled temperature condition between
|
This boundary condition provides a coupled temperature condition between
|
||||||
multiple mesh regions. The regions are generally referred to as the:
|
multiple mesh regions. The regions are generally referred to as the:
|
||||||
- primary region, and
|
|
||||||
- baffle region
|
\li primary region,
|
||||||
|
\li and baffle region.
|
||||||
|
|
||||||
The primary region creates the baffle region and evolves its energy
|
The primary region creates the baffle region and evolves its energy
|
||||||
equation either:
|
equation either:
|
||||||
|
|
||||||
- 1-D, normal to each patch face
|
- 1-D, normal to each patch face
|
||||||
- 2-D, normal and tangential components
|
- 2-D, normal and tangential components
|
||||||
|
|
||||||
The thermodynamic properties of the baffle material are specified via
|
The thermodynamic properties of the baffle material are specified via
|
||||||
dictionary entries on the master patch
|
dictionary entries on the master patch.
|
||||||
|
|
||||||
\heading Patch usage
|
\heading Patch usage
|
||||||
Example of the boundary condition specification:
|
Example of the boundary condition specification:
|
||||||
@ -116,7 +118,7 @@ Description
|
|||||||
}
|
}
|
||||||
\endverbatim
|
\endverbatim
|
||||||
|
|
||||||
/- Slave patch on primary region
|
\li Slave patch on primary region
|
||||||
\verbatim
|
\verbatim
|
||||||
myPatch_slave
|
myPatch_slave
|
||||||
{
|
{
|
||||||
@ -127,7 +129,7 @@ Description
|
|||||||
\endverbatim
|
\endverbatim
|
||||||
|
|
||||||
|
|
||||||
/- Patches on baffle region
|
\li Patches on baffle region
|
||||||
\verbatim
|
\verbatim
|
||||||
bottom
|
bottom
|
||||||
{
|
{
|
||||||
@ -148,7 +150,7 @@ Description
|
|||||||
|
|
||||||
|
|
||||||
SeeAlso
|
SeeAlso
|
||||||
Foam::turbulentTemperatureCoupledBaffleMixedFvPatchScalarField
|
Foam::compressible::turbulentTemperatureCoupledBaffleMixedFvPatchScalarField
|
||||||
Foam::regionModels::thermalBaffleModels::thermalBaffleModel
|
Foam::regionModels::thermalBaffleModels::thermalBaffleModel
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
|
|||||||
@ -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-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -35,30 +35,25 @@ Description
|
|||||||
|
|
||||||
The essential entry "limit" controls the gradient of alpha1 on the wall:
|
The essential entry "limit" controls the gradient of alpha1 on the wall:
|
||||||
|
|
||||||
limit none; // Calculate the gradient from the contact-angle without
|
\li \c none - Calculate the gradient from the contact-angle without limiter
|
||||||
// limiter
|
\li \c gradient - Limit the wall-gradient such that alpha1 remains bounded
|
||||||
|
on the wall
|
||||||
limit gradient; // Limit the wall-gradient such that alpha1 remains
|
\li \c alpha - Bound the calculated alpha1 on the wall
|
||||||
// bounded on the wall
|
\li \c zeroGradient - Set the gradient of alpha1 to 0 on the wall, i.e.
|
||||||
|
reproduce previous behaviour, the pressure BCs can be left as before.
|
||||||
limit alpha; // Bound the calculated alpha1 on the wall
|
|
||||||
|
|
||||||
limit zeroGradient; // Set the gradient of alpha1 to 0 on the wall
|
|
||||||
// i.e. reproduce previous behaviour
|
|
||||||
|
|
||||||
Note that if any of the first three options are used the boundary condition
|
Note that if any of the first three options are used the boundary condition
|
||||||
on p_rgh must set to guarantee that the flux is corrected to be zero at the
|
on \c p_rgh must set to guarantee that the flux is corrected to be zero at
|
||||||
wall e.g.
|
the wall e.g.:
|
||||||
|
|
||||||
\verbatim
|
\verbatim
|
||||||
myPatch
|
myPatch
|
||||||
{
|
{
|
||||||
type alphaContactAngle;
|
type alphaContactAngle;
|
||||||
|
limit none;
|
||||||
}
|
}
|
||||||
\endverbatim
|
\endverbatim
|
||||||
|
|
||||||
If "limit zeroGradient;" is used the pressure BCs can be left as before.
|
|
||||||
|
|
||||||
SourceFiles
|
SourceFiles
|
||||||
alphaContactAngleFvPatchScalarField.C
|
alphaContactAngleFvPatchScalarField.C
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user