Hello everyone, I’m kind of new to fenics.
I´m trying to calculate the deformations of a solid when a force is applied, however I need this force to be different for every node on the boundary to be deformed. Is there a way to define the function f to have a different value for every node?
The forces I must apply look like this.
[[-2.702286116082797e-07, 2.38704010967029e-08],
[-1.5016339088079627e-07, 1.4424024902422665e-07],
[-1.7847667186907969e-06, 1.0988299194180779e-06],
[4.484789160742953e-08, -1.888436087663511e-05],
[-2.604204881798994e-05, -5.9228418740760066e-05],
[1.5268030506832267e-06, -7.803037228975471e-05],
[-2.407123700310234e-06, -7.708842114925285e-05],
[3.034962642204462e-05, -6.165614595515307e-05],
[6.4549847930940455e-06, -1.2834797489998583e-05],
[1.0827009339211713e-06, 5.467043043179808e-06],
[8.337026794717074e-07, -1.8921281666307611e-07],
[1.8334420157521985e-07, 2.990004153563378e-08]]