Material properties for Electromagnetic model

I created a 2D geometry with the command
g = decsg(gdm,sf,ns');
and I have used the electromagnetic model.
model = femodel(AnalysisType="electrostatic", ...
Geometry=g);
pdegplot(model,EdgeLabels="on")
My geometry is composed of different materials with different properties.
I would like to state the material properties for each component.
Is it possible to define the properties for each face?

 채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 2025년 1월 5일

0 개 추천

Create the Geometry and Plot
pdegplot(model, 'FaceLabels', 'on')
Assign material properties
% Face 1
electrostaticProperties(model, 'Face', 1, 'RelativePermittivity', 2.7);
% Face 2
electrostaticProperties(model, 'Face', 2, 'RelativePermittivity', 3.0);
Hope it helps!

댓글 수: 1

Thank you, I solved the issue following your support.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

제품

릴리스

R2024b

질문:

2025년 1월 5일

편집:

2025년 1월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by