Skip to content

Commit

Permalink
Update the information in the XDMF section
Browse files Browse the repository at this point in the history
  • Loading branch information
XinShen-CHN authored Jul 6, 2024
1 parent 362cf71 commit 85c37e2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
Binary file added docs/source/images/paraview_guide_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/images/paraview_guide_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 15 additions & 1 deletion docs/source/userguide/export_post_processing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,21 @@ The following example shows how to export the solution of a 1D problem:
...

Running this should produce a file called ``mobile_conc.xdmf`` in the current directory.
The file can then be opened in Paraview or any other software that can read XDMF files.
The file can then be opened in Paraview or any other software that can read XDMF files. Here are some tips for using Paraview:
- Make sure to have the h5 file in the same directory as the XDMF file
- Open the XDMF file then select the reader Xdmf3 Reader S

.. thumbnail:: ../images/paraview_guide_1.png
:width: 400
:align: center

- Edit the colour map and rescale the colourbar to present the proper view of results

.. thumbnail:: ../images/paraview_guide_2.png
:width: 400
:align: center

- Find out more information on `Paraview tutorials <https://www.paraview.org/tutorials/>`_

For transient simulations, by default, :class:`festim.XDMFExport` will export the solution at each timestep.
It is possible to change this behaviour to limit the number of times the file is written to.
Expand Down

0 comments on commit 85c37e2

Please sign in to comment.