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.
_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dolfin
More help : https://help.launchpad.net/ListHelp