Refined Mesh with generateMesh() using PDE toolbox
Afficher commentaires plus anciens
I'm trying to create a refined mesh on specific edges on my geometry with generateMesh(). My original program has the following for creating a mesh using the PDE tool box.
generateMesh(tModel,... % create mesh from geometry
'GeometricOrder','linear',... % elements are 3-noded
'Hmin',Hmin,... % miminum edge length
'Hmax',Hmax,... % maximum edge length
'Hgrad',Hgrad); % mesh element growth rate
To create a refined mesh on specispecific edges I tried inputting the following in this documentation:
generateMesh(tModel,'Hedge',{[42:101],0.001});%'Hvertex',{[6 7],0.002});
But when I run this command in MATLAB, I get an error saying that "Hedge" isn't a recognized parameter (see below). I also tried using "Hvertex" instead, and I get the same error. I'm a little bit confused because this input is supported in the PDE toolbox documentation.
'Hedge' is not a recognized parameter. For a list
of valid name-value pair arguments, see the
documentation for this function.
Error in createThermalModelArkChamber (line 40)
m3 =
generateMesh(tModel,'Hedge',{[42:101],0.001});%'Hvertex',{[6
7],0.002});
Réponses (1)
zoelle wong
le 31 Oct 2021
1 vote
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!