Orthotropic Conductivity on Face

2 visualizaciones (últimos 30 días)
Paul Safier
Paul Safier el 2 de Mayo de 2025
Comentada: Paul Safier el 3 de Mayo de 2025
Hi. My domain is as shown in the images attached.
I am trying to place orthotropic conductivity on face 3 and uniform conductivity on faces 1&2. The code/solution fails with the following syntax:
kappa = 1;
orthoK = [0.75*kappa,0 ; 0, 0.85*kappa];
model.MaterialProperties([1 2]) = materialProperties(ThermalConductivity=kappa, ...
MassDensity=1,SpecificHeat=1);
model.MaterialProperties(3) = materialProperties(ThermalConductivity=orthoK, ...
MassDensity=1,SpecificHeat=1);
The code also fails with this test:
orthoK = [kappa,0 ; 0, kappa];
but would run fine with this (not what I need though):
orthoK = [kappa];
It also fails with this syntax that I have seen in the documentation online:
ortho = [0.75*kappa 0.85*kappa];
Can anyone tell me the proper syntax?
Thanks!

Respuesta aceptada

Torsten
Torsten el 2 de Mayo de 2025
Editada: Torsten el 2 de Mayo de 2025
I found
orthoK = [0.75*kappa; 0.85*kappa];
in the documentation - thus a column instead of a row vector.
  7 comentarios
Paul Safier
Paul Safier el 3 de Mayo de 2025
I'm using:
model = femodel(AnalysisType="thermalSteady",Geometry=gm);
Paul Safier
Paul Safier el 3 de Mayo de 2025
I made a small test problem and was able to get results using this format that I gleaned from the full pdf documentation.
orthoK = [0.75*kappa ; 0 ; 0 ; 0.8*kappa];
However, my problem has a nonlinear boundary condition and is more involved so there is something peculiar about my problem that does not permit a proper solution (at the nonlinear BC) when using an orthotropic conductivity. For the small test problem, I also tried a nonlinear BC and it worked as well, so the issue is specific to my problem. Oh well, more troubleshooting to be had. Thanks for the help, @Torsten.

Iniciar sesión para comentar.

Más respuestas (0)

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by