Spatially variable boundary conditions

Hello,

I’m wondering if it is possible to prescribe a spatially variable Neumann boundary condition through an analytical expression (e.g., f(x) = x^2) instead of through a SimpleDB external file? It looks like it should be possible from looking at Eq. 163, but I can’t figure out how to implement a spatially variable f_o(x) as opposed to a constant value when defining the boundary conditions in the .cfg.

I’m using Pylith Version 4.2.0.

Thanks so much for your help!

You can use the AnalyticDB — SpatialData 3.1.3 documentation.

Let us know if you need more explanation than what is in the SpatialData documentation..

Awesome, I got it to work. Thanks so much!