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 件のコメント

SCIUSCIA
SCIUSCIA 2025 年 1 月 5 日

Thank you, I solved the issue following your support.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で 2-D and 3-D Plots についてさらに検索

製品

リリース

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by