NMPDE
悟2020
数学与应用数学博士
展开
-
FEniCS: First course
Fundamental problemsHere we show the basic form of the Python code which solves PDE by FEniCS.Poisson"""FEniCS tutorial demo program: Poisson equation with Dirichlet conditions.Test problem is chosen to give an exact solution at all nodes of the mes原创 2021-01-22 14:26:03 · 293 阅读 · 0 评论 -
FreeFEM++: Solve a parabolic equation
FreeFEM++: Solve a parabolic functionWe seek the temperature distribution in a plate of rectangular cross section Ω=(−1,1)×(−1,1)\Omega=(-1,1) \times(-1,1)Ω=(−1,1)×(−1,1);We must solve the temperature equation in Ω\OmegaΩ in a time interval (0, T)原创 2020-12-10 22:35:45 · 534 阅读 · 1 评论 -
FreeFEM++ :Solve Poisson equation
FreeFEM++ :Solve Poisson equation & calculate L^2 errorIDE we use :NotePad++−Δu=f-\Delta u=f−Δu=fΩ=[−1,1]×[−1,1]\Omega=[-1,1]\times[-1,1] Ω=[−1,1]×[−1,1]//calc the convergence order of P1// Parametersverbosity = 0; //to remove all default原创 2020-12-10 17:10:40 · 574 阅读 · 0 评论