Export point value

Hi everyone, I have a few questions when I want to export some values at some specific points using class PointValue. https://festim.readthedocs.io/en/latest/userguide/export_post_processing.html

  1. Is the coordinate in class PointValue corresponding to the coordinate of the geometry in Salome?
  2. Can I export any point I want within the domain in the model?
  3. There are no arguments such as folder and filename in the class PointValue, so I was wondering that where can I find the exported file of point values?

Xin, PointValue behaves as a DerivedQuantity class so you use it this way:

my_derived_quantities = F.DerivedQuantities(
    [
        ...,  # other derived quantities
        F.PointValue(field="solute", x=0.5),
    ],
    filename="my_filename.csv",
)

the geometry in SALOME and the geometry of the FESTIM model should be the same right?

But yes it should be the coordinate in that mesh. The coordinate would be for instance (0.5, 0.5) in 2D and, (0.5, 0.5, 0.5) in 3D.

Yes

Hi Remi, thank you so much!

1 Like