From ab2b98a153216af10fa71f909a346bcc83533551 Mon Sep 17 00:00:00 2001 From: Christian Kolset Date: Thu, 18 Sep 2025 16:41:51 -0600 Subject: Added PDE tutorial --- tutorials/module_3/6_pde.md | 92 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) (limited to 'tutorials/module_3/6_pde.md') diff --git a/tutorials/module_3/6_pde.md b/tutorials/module_3/6_pde.md index 8b13789..332852e 100644 --- a/tutorials/module_3/6_pde.md +++ b/tutorials/module_3/6_pde.md @@ -1 +1,93 @@ +# Partial Differential Equation + +## Finite Difference +### Elliptic Equations +- Used for steady-state, boundary value problems + + +Description of how the Laplace equations works +$$ +\frac{\partial^2T}{\partial x^2}+\frac{\partial^2T}{\partial y^2}=0 +$$ + +Finite-different solutions +- Laplacian Difference equation +$$ +\frac{\partial^2T}{\partial x^2}= \frac{T_{i+1,j}-2T_{i,j}+T_{i-1,j}}{\Delta x^2} +$$ +and +$$ +\frac{\partial^2T}{\partial y^2}= \frac{T_{i+1,j}-2T_{i,j}+T_{i-1,j}}{\Delta y^2} +$$ + +Boundary Conditions + + +Control-Volume approach +Two Different perspsectives for developing approximate solutions of PDE: (a) finite-difference or node and (b) control-volume based +Computer Algorithms + +### Parabolic Equations +- Used for unstead-state, initial + boundary conditions problems +For parabolic PDE equations we also consider the change in time as well as space. + +Heat-conduction equation +Explanation of heat equation +$$ +k\frac{\partial^2T}{\partial x^2}=\frac{\partial T}{\partial t} +$$ + +Explicit methods + +Simple Implicit methods +Crank-Nicolson +ADI + + +### Hyperbolic Equations +MacCormack Method + + +## Finite-Element Method +General Approach +### One-dimensional analysis + +### Two-dimensional Analysis + + + + + + + + + + + + + + + + + +# Problem 1: Finite-Element Solution of a Series of Springs + +Problem 32.4 from Numerical Methods for Engineers 7th Edition Steven C. Chapra and Raymond P. Canale + +A series of interconnected strings are connected to a fixed wall where the other is subject to a constant force F. Using the step-by-step procedure from above, dertermine the displacement of the springs. + + + + + + +## Problem 2: Finite + +Solve the non-dimensional transient heat conduction equation in two dimensions, which represents the transient temperature distribution in an insulated plate -- cgit v1.2.3