Problem in fvMesh.C when using topological changes. OpenFoam 2-2-x
Hi All,
I have the following problem when I run cases with topological changes on the mesh (I have implemented a layering strategy which uses the layerAdditionRemoval class). OpenFoam Version: 2.2.0 File: fvMesh.C Method: mapFields(const mapPolyMesh& meshMap) When mapping the old cells volume ,(just mapping to new cell labels), (fvMesh.C:562) Code:
if (V0Ptr_) Code:
MapDimensionedFields<scalar, fvMeshMapper, volMesh>(mapper); Code:
V0[i] = savedV0[cellMap[i]]; I have seen that in the previous OpenFOAM version 2.0-x, the MapDimensionedFields was not use in fvMesh.C. But, after OpenFoam version 2.1-x the MapDimensionedFields were added. The cases run without problems when i comment either the line (fvMesh.C:550) or the group after (fvMesh.C:562). Is the "mapping", that is done from (fvMesh.C:562), no more necessary when the MapDimensionedFields is used before? Thanks, Horacio. |
All times are GMT -4. The time now is 08:54. |