the diffusion-convection-reaction equation " DISCONTINUOUS GALERKIN FINITE ELEMENTS " using DGFEM
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
azertazert azertazertazertazert
am 21 Okt. 2020
Beantwortet: Image Analyst
am 26 Dez. 2020
Hello. I'm tryin to solve a problem : using discontinuous Galerkin finite elements method (DGFEM) for solving steady-state diffusion-onvection-reaction equations. the main programme in some research paper begins with
clear all
clc
% Generate the mesh
% Nodes
Nodes = [ 0 , 0 ; 0.5 , 0 ; 1 , 0 ; 0 , 0.5 ; 0.5 , 0.5 ; 1 , 0.5 ; 0 , 1 ; 0.5 , 1 ; 1 , 1 ] ;
% El ement s
Elements = [ 4 , 1 , 5 ; 1 , 2 , 5 ; 5 , 2 , 6 ; 2 , 3 , 6 ; 7 , 4 , 8 ; 4 , 5 , 8 ; 8 , 5 , 9 ; 5 , 6 , 9 ] ;
% Dirichlet bdryedge s
Dirichlet = [ 1 , 2 ; 2 , 3 ; 1 , 4 ; 3 , 6 ; 4 , 7 ; 6 , 9 ; 7 , 8 ; 8 , 9 ] ;
% Neumann bdryedge s
Neumann = [ ];
% Initial mesh struct
mesh=getmesh(Nodes,Elements,Dirichlet,Neumann,4,5) ;
------------------------------------------------------
MATLAB shows us :
??? Undefined function or method 'getmesh' for input arguments of type 'double'.
---------------------------------------------------------------
The problem is, we have do not have the code of getmesh function.
0 Kommentare
Antworten (1)
Image Analyst
am 26 Dez. 2020
I'd contact the authors of that paper and ask them for their getmesh() function. They might give it or sell it to you, or maybe they'll tell you it's in some MATLAB toolbox that it's in, in which case you can buy that toolbox.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Numerical Integration and Differential Equations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!