Tagging a single mesh point

Asked by Thomas Poulet

How can I tag a single mesh point in Finley (ideally from pycad) and obtain a mask defined at nodes locating this point?

I've added a "Point1" in the finley mesh file and a corresponding tag. When I create a Scalar(0., ContinuousFunction) on this mesh I can set a value for that tag, which is promising, but when I export this to VTK (or expand and print) I see only zeros and not the value I've set for that specific node. What is the right way to go?

Question information

Language:
English Edit question
Status:
Solved
For:
esys-escript Edit question
Assignee:
No assignee Edit question
Solved by:
Lutz Gross
Solved:
Last query:
Last reply:
Revision history for this message
Best Lutz Gross (l-gross) said :
#1

finley supports the tagging of nodes but -unfortunately- pycad does not (main reason is that gmsh does not support this).
Morever "Point1" is currently ignored by finley - the locations of nodal sources or forces would be defined in this section.

You can add a tag by editing the finley file and adding a tag in the third column of the node section of the file.

Revision history for this message
Thomas Poulet (thomas-poulet) said :
#2

Thanks Lutz, adding a tag in the third column of the node section does the trick indeed.