cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Definite 4D integral evaluation (Fuchs-Sondheimer Resistivity model for Nanowires)

bmulyanto
6-Contributor

Definite 4D integral evaluation (Fuchs-Sondheimer Resistivity model for Nanowires)

Hello, 

 

I really appreciate it if someone can help me to double check the following equation by running my sheet in their Mathcad. I attached my sheet.

This time, I use different formula from my previous post here.

 

In the mean time, I am writing matlab code to double check as well.

 

I run my sheet, it took so much time with my pc and at the end it show error.

image.png

 

The formula to compute:

image.png

1 ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:bmulyanto)

And YES, there are ways to speed it up.

This is the time to calculate 6 points on my pc:

LM_20190115_Speed14.png

If you notice that the integrand function to dTheta is symmetric around pi/2, we can omit half of the integration:

LM_20190115_Speed15.png

Down from 203 to 92 seconds.

 

Success!
Luc

View solution in original post

8 REPLIES 8

Hi,

 

You need to be very patient for a result

Capture2.JPG

 

Hi

 

Capture.JPG

@terryhendicott
hi...thank you.
could you run it once again from w: 20-70 nm?
The motivation is to see the w around lambda and thickness h.

I tried in my pc from w: 25 - 50 nm. it still takes long time.
is there tips to speed up the calculation? 

I use ORIGIN=0,  TOL=10^-3, CTOL=10^-3

@LucMeekes
Hi..yes, the integral notation confused me.
But after reading the very original paper, which use such a notation, nested integration is my conclusion.
In your sheet, your third term uses +, it should be -.
You might got that from the paper, which shows double minus sign.
Thank again for your help.

 

Hi,

 

Capture2.JPG

Capture.JPG

 

Capture3.JPG

Cheers Terry

LucMeekes
23-Emerald III
(To:bmulyanto)

The third term is negative, due to the -6 that it starts with. If used the expression continuation (continues the expression from the previous line). In Mathcad that is only possible with an addition, so I just add a negative expression...

Luc

LucMeekes
23-Emerald III
(To:bmulyanto)

And YES, there are ways to speed it up.

This is the time to calculate 6 points on my pc:

LM_20190115_Speed14.png

If you notice that the integrand function to dTheta is symmetric around pi/2, we can omit half of the integration:

LM_20190115_Speed15.png

Down from 203 to 92 seconds.

 

Success!
Luc

deleted

LucMeekes
23-Emerald III
(To:bmulyanto)

Assuming that weird integral notation actually is intended to mean the nested integrals below:...

LM_20190114_Resistivity.png

Success!

Luc

P.S. It also means that the expression in your other thread was actually meant to be a nested integral, rather than a product of integration results. That other expression easily runs into overflows when trying to (numerically) integrate. No symbolic solution was found.

Top Tags