mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Multiple commits - lumped due to git index file corruption
- Re-located mapped point patches - Updated mapped patch write - deprecated directMapped in favour of mapped - updated resulting dependancies - apps/libs/tuts
This commit is contained in:
@ -26,7 +26,7 @@ License
|
||||
#include "nearWallFields.H"
|
||||
#include "wordReList.H"
|
||||
//#include "volFields.H"
|
||||
//#include "selfContainedDirectMappedFixedValueFvPatchFields.H"
|
||||
//#include "selfContainedMappedFixedValueFvPatchFields.H"
|
||||
//#include "interpolationCellPoint.H"
|
||||
|
||||
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
|
||||
@ -102,7 +102,7 @@ void Foam::nearWallFields::read(const dictionary& dict)
|
||||
reverseFieldMap_.clear();
|
||||
|
||||
|
||||
// Generate fields with selfContainedDirectMapped bc.
|
||||
// Generate fields with selfContainedMapped bc.
|
||||
|
||||
// Convert field to map
|
||||
fieldMap_.resize(2*fieldSet_.size());
|
||||
|
||||
@ -24,7 +24,7 @@ License
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
#include "nearWallFields.H"
|
||||
#include "selfContainedDirectMappedFixedValueFvPatchFields.H"
|
||||
#include "selfContainedMappedFixedValueFvPatchFields.H"
|
||||
#include "interpolationCellPoint.H"
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -65,7 +65,7 @@ void Foam::nearWallFields::createFields
|
||||
sflds.set(sz, new vfType(io, fld));
|
||||
vfType& sampleFld = sflds[sz];
|
||||
|
||||
// Reset the bcs to be directMapped
|
||||
// Reset the bcs to be mapped
|
||||
forAllConstIter(labelHashSet, patchSet_, iter)
|
||||
{
|
||||
label patchI = iter.key();
|
||||
@ -73,14 +73,13 @@ void Foam::nearWallFields::createFields
|
||||
sampleFld.boundaryField().set
|
||||
(
|
||||
patchI,
|
||||
new selfContainedDirectMappedFixedValueFvPatchField
|
||||
<Type>
|
||||
new selfContainedMappedFixedValueFvPatchField<Type>
|
||||
(
|
||||
sampleFld.mesh().boundary()[patchI],
|
||||
sampleFld.dimensionedInternalField(),
|
||||
|
||||
sampleFld.mesh().name(),
|
||||
directMappedPatchBase::NEARESTCELL,
|
||||
mappedPatchBase::NEARESTCELL,
|
||||
word::null, // samplePatch
|
||||
-distance_,
|
||||
|
||||
@ -115,7 +114,7 @@ void Foam::nearWallFields::sampleFields
|
||||
|
||||
// Take over internal and boundary values
|
||||
sflds[i] == fld;
|
||||
// Evaluate to update the directMapped
|
||||
// Evaluate to update the mapped
|
||||
sflds[i].correctBoundaryConditions();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user