How squareg works ?
Afficher commentaires plus anciens
I want to create a model by geometryFromEdges(model,@squareg) but i need other sizes of square. @squareg creates 1x1, but i want 0.6x0.6.
Could anybody help me understand what i need to change in squareg. I look code by using
type squareg
I know that any square is created in PDE TOOLbox and exported in workspace and i can use
geometryFromEdges(model,g)
but then i created mesh by
generateMesh(model,'Hmax',0.05,'GeometricOrder','Linear');
and that mesh is less, and even if i decrease Hmax, i get more unstable solutions of PDE in comparison if i used geometryFromEdges(model,@squareg) and then created mesh.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Geometry and Mesh 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!