Error in generateMesh using PDE Toolbox

11 ビュー (過去 30 日間)
ANDREW
ANDREW 2025 年 4 月 11 日
編集済み: Kautuk Raj 2025 年 6 月 6 日
I've been trying to get to grips with the PDE Toolbox and I've been using the "DeflectionAnalysisOfBracketExample" example as a guide before I insert my own data and get specific. I'm really just trying to see if my own meshes will work. The mesh in question has the following properties, after I set boundary conditions:
AnalysisType: "structuralStatic"
Geometry: [1×1 fegeometry]
PlanarType: "planeStress"
MaterialProperties: [1×251 materialProperties]
Boundary Conditions
FaceBC: [1×1630 faceBC]
EdgeBC: [0×5245 edgeBC]
VertexBC: [0×4596 vertexBC]
ROMInterfaces: []
Loads
CellLoad: [0×251 cellLoad]
FaceLoad: [1×1630 faceLoad]
EdgeLoad: [0×5245 edgeLoad]
VertexLoad: [0×4596 vertexLoad]
Initial Conditions
CellIC: [0×251 cellIC]
FaceIC: [0×1630 faceIC]
EdgeIC: [0×5245 edgeIC]
VertexIC: [0×4596 vertexIC]
Other Parameters
DampingAlpha: 0
DampingBeta: 0
ReferenceTemperature: []
SolverOptions: [1×1 pde.PDESolverOptions]
Constants
VacuumPermittivity: []
VacuumPermeability: []
StefanBoltzmann: []
But when I go to use generateMesh for projecting the results, I get the following error message:
Error using fegeometry/generateMesh (line 223)
Unable to compute geometry-mesh associativity because the geometry is invalid or the mesh size is insufficient for capturing all
geometric details. Try adjusting Hmax and Hmin.
Error in femodel/generateMesh (line 355)
obj.Geometry_I = generateMesh(obj.Geometry,nvpairs{:});
What I have I done wrong? What am I missing? Is my mesh too big?
  1 件のコメント
Mike Croucher
Mike Croucher 2025 年 4 月 14 日
Hi Andrew
I'm not an expert in PDE toolbox at all but it might be easier for someone to debug if you could share the mesh. Would that be possible? Perhaps using a MATLAB Drive link?
You may also be interested in this brand new course on doing FEA in MATLAB Introduction to Finite Element Analysis with MATLAB | Self-Paced Online Courses - MATLAB & Simulink

サインインしてコメントする。

回答 (1 件)

Kautuk Raj
Kautuk Raj 2025 年 6 月 6 日
編集済み: Kautuk Raj 2025 年 6 月 6 日
Hello Andrew,
I invite you to the refer to the following MATLAB Answers post which provides a workaround for the same error, "Unable to compute geometry-mesh associativity because the geometry is invalid or the mesh size is insufficient for capturing all", being faced: https://www.mathworks.com/matlabcentral/answers/2149864-mesh-problems-for-large-aspect-ratio-object

カテゴリ

Help Center および File ExchangeGeometry and Mesh についてさらに検索

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by