Grid function at certain point

More
6 years 2 months ago #1181 by noname
Hello everyone,

I am a newbee and solved Navier Stokes using NG solve. To test the quality of the velocity solution (defined by GridFunction, gfu = GridFunction(fes), and the velocity is defined by gfu.components[0] ) I would like to check the value of it at a certain point.

How do I extract the solution value of velocity at a certain point?

Thanks in advance.
More
6 years 2 months ago #1182 by joachim
see the docu on CoefficientFunctions:
ngsolve.org/docu/latest/i-tutorials/unit...ficientfunction.html
a GridFunction is a CoefficientFunction as well (by inheritance)
Joachim
The following user(s) said Thank You: noname
Time to create page: 0.099 seconds