calculate the capacitance with PDE toolbox

13 ビュー (過去 30 日間)
mohammad
mohammad 2014 年 3 月 7 日
回答済み: Lalson Vincent 2020 年 5 月 21 日
Hello ,
I want PDE toolbox or any command to help me calculate the capacitance per length in attached problems.
The file named "1" is a co-axial cable with square cross section and I need to calculate capacitance per length between inner square and the outer one.
The file named "2" shows two sphere and I need to calculate capacitance per length between them.
Thank you.

採用された回答

Bill Greene
Bill Greene 2014 年 3 月 8 日
One of the simplest ways to calculate capacitance using PDE Toolbox is from the energy: C = 2*U/V^2 where U is the electrostatic energy and V is the potential across the electrodes.
The electrostatic energy can be calculated with this simple function
function energy=calcEnergy(p,t,permittivity,u)
[dudx,dudy] = pdegrad(p,t,u);
area=pdetrg(p,t);
energy = permittivity*sum(area.*(dudx.*dudx + dudy.*dudy))/2;
end
Since you are solving in the pdetool GUI, you will need to export the mesh and the solution to the MATLAB workspace before you can call this function and calculate the capacitance.
Another suggestion you might want to consider is turning on Adaptive mode on the Solver/Parameters dialog box. This option will refine the mesh (e.g. around sharp corners) to obtain a more accurate solution.
Regards,
Bill

その他の回答 (2 件)

Alejandra
Alejandra 2014 年 7 月 8 日
Hello,
I am working on a similar problem, and I tried using this method, however, I get an answer that is way off. Is there any other way to calculate capacitance or energy? I am looking to calculate the capacitance between a plate and a probe.

Lalson Vincent
Lalson Vincent 2020 年 5 月 21 日
I am also working on this problem. But i want to calculate for a 3D geometry ? Any suggestions...

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by