OpenFOAM: API Guide
v2006
The open source CFD toolbox
createOversetFields.H
Go to the documentation of this file.
1
//- Overset specific
2
3
// Add solver-specific interpolations
4
{
5
wordHashSet
& nonInt =
6
const_cast<
wordHashSet
&
>
(
Stencil::New
(
mesh
).nonInterpolatedFields());
7
8
nonInt.
insert
(
"HbyA"
);
9
nonInt.insert(
"grad(p)"
);
10
nonInt.insert(
"surfaceIntegrate(phi)"
);
11
nonInt.insert(
"surfaceIntegrate(phiHbyA)"
);
12
nonInt.insert(
"cellMask"
);
13
nonInt.insert(
"cellDisplacement"
);
14
nonInt.insert(
"interpolatedCells"
);
15
nonInt.insert(
"cellInterpolationWeight"
);
16
}
17
18
// Mask field for zeroing out contributions on hole cells
19
#include "
createCellMask.H
"
20
21
#include "
createInterpolatedCells.H
"
22
23
bool
adjustFringe
24
(
25
simple
.dict().getOrDefault(
"oversetAdjustPhi"
,
false
)
26
);
27
bool
massFluxInterpolation
28
(
29
simple
.dict().getOrDefault(
"massFluxInterpolation"
,
false
)
30
);
simple
const dictionary & simple
Definition:
readFluidMultiRegionSIMPLEControls.H:1
massFluxInterpolation
bool massFluxInterpolation(simple.dict().getOrDefault("massFluxInterpolation", false))
mesh
dynamicFvMesh & mesh
Definition:
createDynamicFvMesh.H:6
Foam::New
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
Definition:
DimensionedFieldReuseFunctions.H:105
createInterpolatedCells.H
Creates mask for interpolated cells.
adjustFringe
bool adjustFringe(simple.dict().getOrDefault("oversetAdjustPhi", false))
Foam::HashSet::insert
bool insert(const Key &key)
Insert a new entry, not overwriting existing entries.
Definition:
HashSet.H:181
createCellMask.H
Creates mask for blocked out cells.
Foam::wordHashSet
HashSet< word > wordHashSet
A HashSet with word keys.
Definition:
HashSet.H:407
applications
solvers
incompressible
simpleFoam
overSimpleFoam
createOversetFields.H
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.