Azzera filtri
Azzera filtri

the diffusion-​convection​-reaction equation " DISCONTINUOUS GALERKIN FINITE ELEMENTS " using DGFEM

2 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Image Analyst
Image Analyst il 26 Dic 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.

Categorie

Scopri di più su Mathematics in Help Center e File Exchange

Prodotti


Release

R2011b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by