HomerReid / scuff-em

A comprehensive and full-featured computational physics suite for boundary-element analysis of electromagnetic scattering, fluctuation-induced phenomena (Casimir forces and radiative heat transfer), nanophotonics, RF device engineering, electrostatics, and more. Includes a core library with C++ and python APIs as well as many command-line applications.
http://www.homerreid.com/scuff-em
GNU General Public License v2.0
125 stars 50 forks source link

[scuff-intergrate]error: Interp1D: grid must have 2 or more data points (aborting) #237

Open Ivywyr opened 2 years ago

Ivywyr commented 2 years ago

Hello, I'm calculating the radiative heat transfer between two Spheres using "scuff-em". After running "scuff-neq", I get the datafile "SiO2Spheres_501.SIFlux.DSI302". Then I'm trying to specify the temperatures and do the integrating using

scuff-integrate --datafile SiO2Spheres_501.SIFlux.DSI302 --Temperature 0 300 --Temperature 1 300 --Temperature 2 200 --sdColumn 12

but there is an error: Interp1D: grid must have 2 or more data points (aborting) And I have 256 frequency points in my omega file.

I also tried "scuff-integrate --datafile SiO2Spheres_501.SIFlux.DSI302 --FreqColumn 2 --dataColumn 4 --Temperature 0 300 --Temperature 1 300 --Temperature 2 275", but there is still an error.

Maybe is there any commands I used wrong ? TT Thanks in advance!