What is the largest number of DOFs that MATLAB pdetool can solve without running into memory issues?
Afficher commentaires plus anciens
What limitations are there on the size of the problem that MATLAB can solve? Is there a way to parallelize the problem within the MATLAB environment (either with multiple processors or GPUs)?
Réponses (1)
Alan Weiss
le 18 Nov 2015
0 votes
In 2-D you can have a pretty large problem. Are you running into issues?
In 3-D the solution can run into memory issues. It is easy for 3-D meshes to have many more elements than 2-D meshes.
No, there is no built-in parallel support in PDE Toolbox.
Alan Weiss
MATLAB mathematical toolbox documentation
3 commentaires
Brian
le 18 Nov 2015
Alan Weiss
le 19 Nov 2015
I just tried running a simple PDE solution on a triangular mesh with over 100,000 elements and over 50,000 nodes. The mesh took a while to create (about a minute), but the problem solution took less than a second.
model = createpde;
geometryFromEdges(model,@lshapeg);
c = 1;
a = 0;
f = 1;
applyBoundaryCondition(model,'Edge',1:model.Geometry.NumEdges,'u',0);
tic
generateMesh(model,'Hmax',1e-2);
toc
tic
u = assempde(model,c,a,f);
toc
Alan Weiss
MATLAB mathematical toolbox documentation
Alan Weiss
le 19 Nov 2015
By the way, the newer mesher version works much faster:
tic
generateMesh(model,'Hmax',1e-2,'MesherVersion','R2013a');
toc
For me this was nearly ten times faster, just a few seconds to generate the mesh.
Alan Weiss
MATLAB mathematical toolbox documentation
Catégories
En savoir plus sur Structural Mechanics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!