FEM example in Python
FEM example in Python
M. M. Sussman sussmanm@math.pitt.edu Office Hours: 11:10AM-12:10PM, Thack 622
May 12 ? June 19, 2014
1 / 45
Topics
Introduction Code Verify and run
2 / 45
Purpose
Practice with Python Illustrate FEM in 1D in detail Coding strategies
3 / 45
Problem description
ODE u + 2u + u = f = (x + 2) Neumann boundary conditions Why? Because all 3 terms, real solution with exponentials
Exact u = (1 + x )e1-x + x (1 - e-x ) Done when get correct convergence rate to exact solution Other b.c., rhs are available
4 / 45
How to debug and test?
Never write code without a test plan! Test as you go Choose exact solutions and test terms one at a time Have a test function as part of the code. When code is "working"
Find problems similar to given, but with exact solutions Verify reasonable solution
5 / 45
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- fifth starting out with edition programming logic design
- fem example in python
- quadratic programming with python and cvxopt
- lecture 8 aes the advanced encryption standard lecture
- scikit learn machine learning in python
- installing gdal for python on windows
- basic python by examples ltam
- about the tutorial rxjs ggplot2 python data
- using python to solve partial differential equations
- chapter 1 data handling using pandas i pandas
Related searches
- clinical significance example in nursing
- significance of the study example in research
- collection example in java
- for example in different words
- for example in a sentence
- framing bias example in business
- percent equation example in math
- array example in java
- elastic clause example in history
- opportunity cost example in business
- using for example in writing
- counterclaim example in an essay