On 07/18/2017 12:52 PM, Maxi Miller wrote:
That would result in (including my starting equations):

<https://lh3.googleusercontent.com/-j1YR1Gju6b8/WW5YkX74UMI/AAAAAAAACPw/_oAfa2Oc7TkfDCfDU-ne5yWOoPQY99PzACLcBGAs/s1600/time_derivative_II.png>

But how do I then get the value for A after each iteration?

That is a question for the time stepping scheme you use. If you use something like step-21, you first solve the first equation for A, then put the result into the second equation. If you use a semi-implicit scheme for the coupled problem, you take the previous time step's value of A for the right hand side. If you take a fully coupled scheme, you'd get a nonlinear system that you have to solve for both A and B at the same time.

This is really no different than the case where A,B were only dependent on the time. Think about how you would write an ODE solver in that case.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to