This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

nonlinear time dependent pdes with lower bound

0 votes

I have searched some useful questions and answers about how to solver bounded finite element function u, like 0 < u < 1. However, the demo contact-vi-snes indicated in these answers is stationary problem, my situation is time-dependent reaction-diffusion problem and the concentrations of several species need vector function u >= 0 at anytime.

First I change the concentration variables like c to exp(c), but I found this replacement increase the complexity and non-linearity of pdes.

I don't know how to modify the demo file to fit my problem, can anyone help me? Thanks!

asked Aug 3, 2016 by sejabs FEniCS Novice (330 points)
...