|
CppNoddy
0.92
|
A specification of a class for an 
#include <DenseVector.h>#include <DenseMatrix.h>#include <BandedMatrix.h>#include <Equation_3matrix.h>#include <Residual_with_coords.h>#include <TwoD_Node_Mesh.h>#include <Uncopyable.h>#include <Timer.h>Go to the source code of this file.
Classes | |
| class | CppNoddy::PDE_double_IBVP< _Type > |
| A templated object for real/complex vector system of unsteady equations. More... | |
Namespaces | |
| namespace | CppNoddy |
| A collection of OO numerical routines aimed at simple (typical) applied problems in continuum mechanics. | |
A specification of a class for an 
![\[ M_2( {\underline f}(y,x,t), y, x, t )\cdot {\underline f}_x (y,x,t) + M_1( {\underline f}(y,x,t), y,x, t )\cdot {\underline f}_t (y,x,t) + M_0( {\underline f}(y,x,t), y,x, t )\cdot {\underline f}_y (y,x,t) = {\underline R}( {\underline f}(y,x,t), y,x, t )\,, \]](form_21.png)
subject to 








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



![\[ {\underline f}^{old} = {\underline O}_{j} \]](form_35.png)
A Crank-Nicolson method is employed with the linearised problem at the mid-t-point 

![\[ \frac{2}{x_{j+1} - x_{j}}\, M_2 \cdot {\underline g } + \frac{2}{\Delta t}\, M_1 \cdot {\underline g } + M_0 \cdot {\underline g}_y - J \cdot {\underline g} \]](form_38.png)
![\[ + J_{2} \cdot \frac{ ( \underline F_{j+1} + \underline O_{j+1} - \underline F_j - \underline O_j) }{ 2(x_{j+1} - x_j) } \cdot {\underline g} \]](form_39.png)
![\[ + J_{1} \cdot \frac{(\underline F_{j+1} + \underline F_j - \underline O_j - \underline O_{j+1})}{2\Delta t} \cdot {\underline g} \]](form_40.png)
![\[ + J_{0} \cdot \frac{( \underline F_{j+1} + \underline F_j + \underline O_j + \underline O_{j+1})_y}{4} \cdot {\underline g} \]](form_41.png)
![\[ = 4 {\underline R} - M_0 \cdot \biggl ({\underline F_j}_y + {\underline O_j}_y + {\underline F_{j+1}}_y + {\underline O_{j+1}}_y \biggr ) - \frac{2}{x_{j+1}-x_j} M_1 \cdot \biggl ( {\underline F}_{j+1} + {\underline O}_{j+1} - {\underline F}_{j} - {\underline O}_{j} \biggr ) - \frac{2}{\Delta t} M_2 \cdot \biggl ( {\underline F}_{j+1} + {\underline F}_{j} - {\underline O}_{j+1} - {\underline O}_{j} \biggr ) \]](form_42.png)
Where 




Definition in file PDE_double_IBVP.h.
1.9.5
© 2012
R.E. Hewitt