mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: overset: move to oversetInterpolationSuppressed. Part of #1041.
This commit is contained in:
@ -13,23 +13,6 @@
|
|||||||
mesh
|
mesh
|
||||||
);
|
);
|
||||||
|
|
||||||
// Add overset specific interpolations
|
|
||||||
{
|
|
||||||
dictionary oversetDict;
|
|
||||||
oversetDict.add("T", true);
|
|
||||||
|
|
||||||
const_cast<dictionary&>
|
|
||||||
(
|
|
||||||
mesh.schemesDict()
|
|
||||||
).add
|
|
||||||
(
|
|
||||||
"oversetInterpolationRequired",
|
|
||||||
oversetDict,
|
|
||||||
true
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
Info<< "Reading transportProperties\n" << endl;
|
Info<< "Reading transportProperties\n" << endl;
|
||||||
|
|
||||||
IOdictionary transportProperties
|
IOdictionary transportProperties
|
||||||
|
|||||||
@ -121,21 +121,14 @@ mesh.setFluxRequired(Phi.name());
|
|||||||
|
|
||||||
#include "createMRF.H"
|
#include "createMRF.H"
|
||||||
|
|
||||||
// Add overset specific interpolations
|
// Add solver-specific interpolations
|
||||||
{
|
{
|
||||||
dictionary oversetDict;
|
wordHashSet& nonInt =
|
||||||
oversetDict.add("Phi", true);
|
const_cast<wordHashSet&>(Stencil::New(mesh).nonInterpolatedFields());
|
||||||
oversetDict.add("U", true);
|
|
||||||
|
nonInt.insert("cellMask");
|
||||||
|
nonInt.insert("interpolatedCells");
|
||||||
|
|
||||||
const_cast<dictionary&>
|
|
||||||
(
|
|
||||||
mesh.schemesDict()
|
|
||||||
).add
|
|
||||||
(
|
|
||||||
"oversetInterpolationRequired",
|
|
||||||
oversetDict,
|
|
||||||
true
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mask field for zeroing out contributions on hole cells
|
// Mask field for zeroing out contributions on hole cells
|
||||||
|
|||||||
@ -74,9 +74,13 @@ oversetInterpolation
|
|||||||
//searchBoxDivisions (100 100 1);
|
//searchBoxDivisions (100 100 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
oversetInterpolationRequired
|
|
||||||
|
// Any additional fields that should not be interpolated
|
||||||
|
oversetInterpolationSuppresed
|
||||||
{
|
{
|
||||||
// Any additional fields that require overset interpolation
|
// For backwards compatibility; should not really be suppressed
|
||||||
|
grad(T);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -53,5 +53,4 @@ oversetInterpolation
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
Reference in New Issue
Block a user