Now the Collections in vut format can be read during execution!
This commit is contained in:
parent
493f7b9785
commit
215eb8563f
1 changed files with 3 additions and 4 deletions
|
|
@ -230,17 +230,16 @@ MODULE moduleMeshOutputVTU
|
|||
OPEN (fileID + 1, file = generateFilePath(fileNameCollection))
|
||||
WRITE (fileID + 1, "(A)") '<VTKFile type="Collection">'
|
||||
WRITE (fileID + 1, "(2X, A)") '<Collection>'
|
||||
CLOSE(fileID + 1)
|
||||
|
||||
else
|
||||
OPEN (fileID + 1, file = generateFilePath(fileNameCollection), ACCESS='APPEND')
|
||||
! Append removing the last two lines that close the <tags>
|
||||
rewind(fileID)
|
||||
rewind(fileID)
|
||||
backspace(fileID + 1)
|
||||
backspace(fileID + 1)
|
||||
|
||||
END IF
|
||||
|
||||
!Write iteration file in collection
|
||||
OPEN (fileID + 1, file = generateFilePath(fileNameCollection), ACCESS='APPEND')
|
||||
WRITE(fileID + 1, "(4X, A, "//fmtReal//", A, A, A)") &
|
||||
'<DataSet timestep="', DBLE(timeStep)*tauMin*ti_ref,'" file="', fileNameStep,'"/>'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue