Skip to content

Commit a0071c3

Browse files
authored
Exports: Migrate from vtk to vtu (#641)
1 parent 1faf86a commit a0071c3

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

flow-over-heated-plate-nearest-projection/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ From the preCICE point of view, the simulation here is in 3D, as opposed to the
7575
## Post-processing
7676

7777
Have a look at the [flow-over heated-plate](https://precice.org/tutorials-flow-over-heated-plate.html) tutorial for the general aspects of post-processing.
78-
Since we now defined mesh connectivity on our interface, we can export the coupling interface with the tag `<export:vtk directory="precice-exports" />` in our `precice-config.xml`.
78+
Since we now defined mesh connectivity on our interface, we can export the coupling interface with the tag `<export:vtu directory="precice-exports" />` in our `precice-config.xml`.
7979
Visualizing these files (e.g. using ParaView) will show a triangular mesh, even though you use hexahedral meshes. This has nothing to do with your mesh and is just caused by the way the connectivity is defined in preCICE. As described above, the function `setMeshTriangles` is used to define the connectivity. Hence, every interface cell/face is represented by two triangles. The following image should give you an impression of a possible triangulated coupling mesh, which consists purely of hexahedral cells:
8080

8181
![triangulated](https://user-images.githubusercontent.com/33414590/55974257-96b07d80-5c87-11e9-9965-972b922c483d.png)

flow-over-heated-plate-nearest-projection/precice-config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<provide-mesh name="Solid-Mesh-Centers" />
4848
<read-data name="Temperature" mesh="Solid-Mesh-Centers" />
4949
<write-data name="Heat-Flux" mesh="Solid-Mesh-Nodes" />
50-
<!-- <export:vtk directory="precice-exports" /> -->
50+
<!-- <export:vtu directory="precice-exports" /> -->
5151
<mapping:nearest-projection
5252
direction="read"
5353
from="Fluid-Mesh-Nodes"

flow-over-heated-plate/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ First generate the output for each run by adding export to the participant `Soli
8686

8787
```xml
8888
<participant name="Solid">
89-
<export:vtk directory="precice-exports" />
89+
<export:vtu directory="precice-exports" />
9090
<receive-mesh name="Fluid-Mesh" from="Fluid" />
9191
<provide-mesh name="Solid-Mesh" />
9292
...

flow-over-heated-plate/precice-config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</participant>
3636

3737
<participant name="Solid">
38-
<export:vtk directory="precice-exports" />
38+
<export:vtu directory="precice-exports" />
3939
<receive-mesh name="Fluid-Mesh" from="Fluid" />
4040
<provide-mesh name="Solid-Mesh" />
4141
<mapping:nearest-neighbor

quickstart/precice-config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<read-data name="Force" mesh="Solid-Mesh" />
4141
<write-data name="Displacement" mesh="Solid-Mesh" />
4242
<watch-point mesh="Solid-Mesh" name="Flap-Tip" coordinate="0.25;0.0" />
43-
<export:vtk directory="precice-exports" />
43+
<export:vtu directory="precice-exports" />
4444
</participant>
4545

4646
<m2n:sockets acceptor="Fluid" connector="Solid" exchange-directory=".." />

0 commit comments

Comments
 (0)