|
CppNoddy
0.92
|
Implementation of a class for an 
#include <string>#include <cassert>#include <PDE_IBVP.h>#include <Equation_2matrix.h>#include <Residual_with_coords.h>#include <Exceptions.h>#include <BandedLinearSystem.h>#include <Timer.h>#include <Utility.h>Go to the source code of this file.
Namespaces | |
| namespace | CppNoddy |
| A collection of OO numerical routines aimed at simple (typical) applied problems in continuum mechanics. | |
Implementation of a class for an 
![\[ M_1( {\underline f}(y,t), y, t )\cdot {\underline f}_t (y,t)+ M_0( {\underline f}(y,t), y, t ) \cdot {\underline f}_y (y,t) = {\underline R}( {\underline f}(y,t), y, t )\,, \]](form_48.png)
subject to 





![\[ {\underline f}^{new} = {\underline F} + {\underline g} \]](form_50.png)
where 


![\[ {\underline f}^{old} = {\underline O} \]](form_52.png)
A Crank-Nicolson method is employed with the linearised problem at the mid-time point 
![\[ \frac{2}{\Delta t} M_1 \cdot {\underline g } + 2 M_0 \cdot {\underline g}_y - J \cdot {\underline g} + J_2 \cdot \frac{\underline F - \underline O}{\Delta t} \cdot {\underline g} + J_1 \cdot \frac{\underline F_y + \underline O_y}{2} \cdot {\underline g} = 2 {\underline R} - \frac{2}{\Delta t} M_2 \cdot ( {\underline F} - {\underline O} ) - M_1 \cdot ( {\underline F}_y + {\underline O}_y )\]](form_53.png)
Where 




Definition in file PDE_IBVP.cpp.
1.9.5
© 2012
R.E. Hewitt