Hello,
On 9/30/23 10:27, Himalaya singh wrote:
Hello, sfepy community
I am new to this tool, and I have been exploring it for some time. I got some issues related to Non-linear poisson's equation problem,How to solve the Non-linear PDEs problem in sfepy.
In the previous mail I asked about examples of nonlinear PDEs that I got, however the terms are not showing defined in the library (from sfepy.terms import Term), I attached the file below.
The terms should be there - are you sure you are using the latest release or git version?
However, when I run your example, there is another problem. The equations cannot be created because the functions get_conductivity() etc. are only defined declaratively, and are not passed to the terms.
I have noticed that the example
sfepy/examples/diffusion/poisson_nonlinear_material.py
is a bit misleading,
because the functions = ...
declaration has no effect there.
I am attaching a slightly modified notebook that works for me.
r.