diff --git a/src/modules/mesh/inout/vtu/moduleMeshInputVTU.f90 b/src/modules/mesh/inout/vtu/moduleMeshInputVTU.f90 index c62dec1..f58564e 100644 --- a/src/modules/mesh/inout/vtu/moduleMeshInputVTU.f90 +++ b/src/modules/mesh/inout/vtu/moduleMeshInputVTU.f90 @@ -530,7 +530,7 @@ MODULE moduleMeshInputVTU !Read the species velocity line = findLine(fileID, 'Name="Velocity') ALLOCATE(velocityBlock(1:3*numNodes)) - CALL readDataBlock(fileID, numNodes, velocityBlock) + CALL readDataBlock(fileID, 3*numNodes, velocityBlock) ALLOCATE(velocity(1:numNodes, 1:3)) DO n = 1, numNodes velocity(n, 1) = velocityBlock(3*(n-1)+1)