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
126 stars 50 forks source link

Problems of 'PAbs' in scuff-neq #81

Closed ZhihaoJia16 closed 8 years ago

ZhihaoJia16 commented 8 years ago

Hi, I compute the fluxes of power transfer between two SiO2 spheres. http://homerreid.github.io/scuff-em-documentation/examples/SiO2Spheres/SiO2Spheres/

In this example, I run:

#!/bin/bash
for N in 501 
do
  ARGS=""
  ARGS="${ARGS} --geometry SiO2Spheres_${N}.scuffgeo"
  ARGS="${ARGS} --OmegaFile OmegaFile"
  ARGS="${ARGS} --Power --ZForce"
  ARGS="${ARGS} --DSIRadius 5"
  ARGS="${ARGS} --DSIPoints 302"
  scuff-neq ${ARGS}
done

get

#1 transform tag
#2 omega 
#3 (sourceObject,destObject) 
#4 PAbs flux spectral density
#5 PRad flux spectral density
DEFAULT 1.00E-01 11 4.19E-06   -0.00000000e+00
DEFAULT 1.00E-01 12 -8.51E-08  -0.00000000e+00
DEFAULT 1.00E-01 21 4.26E-08   -0.00000000e+00
DEFAULT 1.00E-01 22 4.19E-06   -0.00000000e+00
...
DEFAULT 2.00E-01 11 1.44E-04   -0.00000000e+00
DEFAULT 2.00E-01 12 1.12E-07   -0.00000000e+00
DEFAULT 2.00E-01 21 -6.32E-07  -0.00000000e+00
DEFAULT 2.00E-01 22 1.44E-04   -0.00000000e+00
...

Thank you in advance.