dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #17151
[Question #96571]: Quasi-nonllinear Time-dependent Problem
New question #96571 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/96571
Hi
I'm attempting to solve the following problem (using the C++ interface):
du/dt - div grad u = f(u)
Due to the non-linearity associated with f(u), I am using the parameters at time t to calculate it thus avoiding the use of a nonlinear root-finding algorithm.
The problem I have is how to define f(u).
Say, f(u) is:
0.1/(1 + exp(u - 2) )
How do obtain the scalar value 'u' to pass as the argument to f(u) at every time step.
Thanks.
Ted
--
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.
Follow ups