mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
FIX: replaced temp internalField with DimensionedField::null (fixes #3082)
This commit is contained in:
committed by
Mark OLESEN
parent
0ae3da8560
commit
312c7a1c32
@ -50,13 +50,13 @@ namespace Foam
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
//volFields
|
||||
//- volFields
|
||||
typedef typename volScalarField::Boundary boundaryScalarField;
|
||||
typedef typename volVectorField::Boundary boundaryVectorField;
|
||||
typedef typename volTensorField::Boundary boundaryTensorField;
|
||||
|
||||
//pointFields - actually a plain list of fields with dimension equal to the
|
||||
// number of points per patch
|
||||
//- pointFields - actually a plain list of fields with dimension equal to the
|
||||
//- number of points per patch
|
||||
typedef List<Field<scalar>> pointBoundaryScalarField;
|
||||
typedef List<Field<vector>> pointBoundaryVectorField;
|
||||
typedef List<Field<tensor>> pointBoundaryTensorField;
|
||||
|
||||
@ -89,7 +89,7 @@ createZeroBoundaryPtr
|
||||
Boundary;
|
||||
|
||||
// Make sure that the patchFields to be generated will be of type
|
||||
// calculated, even if they are of constraint type
|
||||
// calculated, even if they are of constraint type.
|
||||
// Necessary to avoid unexpected behaviour when computing sensitivities
|
||||
// on symmetry patches (not a good practice either way)
|
||||
const fvBoundaryMesh& bm = mesh.boundary();
|
||||
@ -113,7 +113,7 @@ createZeroBoundaryPtr
|
||||
new Boundary
|
||||
(
|
||||
mesh.boundary(),
|
||||
mesh.V()*pTraits<Type>::zero, // Dummy internal field,
|
||||
DimensionedField<Type, volMesh>::null(),
|
||||
wordList(bm.size(), fvPatchFieldBase::calculatedType()),
|
||||
actualPatchTypes
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user