Closed wmkwmkwmk closed 7 years ago
My program looks like:
#!/bin/bash
echo beg
ARGS=""
ARGS="${ARGS} --geometry HB.scuffgeo"
ARGS="${ARGS} --TransFile translist"
ARGS="${ARGS} --zforce"
ARGS="${ARGS} --RelTol 2.0e-1"
#ARGS="${ARGS} --UseExistingData"
scuff-cas3D ${ARGS}
echo en
If I set the material to doped silicon:
# doped silicon
MATERIAL SILICON_DOPED
epsf = 1.02; # \epsilon_infinity
eps0 = 11; # \epsilon_0
wp = 6e15; # \plasmon frequency
gammap = 7.6e13;
wpp = 4.5e14; # \plasmon frequency
Eps(w) = epsf + (eps0-epsf)/(1-(w/wp)^2)- wpp^2/(w*(w+I*gammap));
ENDMATERIAL
Within one night it can finish. With ",byXi" show as:
# data file columns:
#1: transform tag
#2: imaginary angular frequency
#3: z-force Xi integrand
#4: z-force error due to numerical Brillouin-zone integration
-1.95 1.000000e-03 -5.43376255e+00 9.50815568e-01
-1.95 1.575516e+00 -1.95450074e+00 -8.96811203e-01
-1.95 3.150032e+00 -1.66344969e+00 -8.15282932e-01
-1.95 6.299063e+00 -1.16217806e+00 -6.15423850e-01
-1.95 9.448095e+00 -7.34646356e-01 -4.22752739e-01
-1.95 1.574616e+01 -2.33644423e-01 -1.61920568e-01
-1.95 2.204422e+01 -6.26046434e-02 -5.24349413e-02
-1.95 3.464035e+01 -3.44642712e-03 -3.64803540e-03
-1.95 4.723647e+01 -1.81806765e-04 -2.28871541e-04
-1.95 5.983260e+01 -1.01042879e-05 -1.41833457e-05
-1.95 7.242873e+01 -5.99244679e-07 -8.91860755e-07
However, if I use same prgram, just change material to PEC
REGION UpperSlab MATERIAL PEC
It becomes etremly slow.... After one day running.
".byXi" file is still empty.".byXikBlock" file only has one row
# data file columns:
#1: transform tag
#2: imaginary angular frequency
#3: bloch wavevector kx
#4: z-force Brillouin-zone integrand
-1.95 1.000000e-03 -1.570796e+01 -0.00000000e+00
Do you know what happened here? How can I improve it?
If you want to study Casimir forces between perfectly-conducting metallic plates (or infinite PEC half-spaces, which is physically equivalent) then just use this .scuffgeo
file:
LATTICE
VECTOR 2.0 0.0
VECTOR 0.0 2.0
ENDLATTICE
OBJECT UpperPlate
MESHFILE Square_L2_40.msh
DISPLACED 0 0 0.5
ENDOBJECT
OBJECT LowerPlate
MESHFILE Square_L2_40.msh
ENDOBJECT
Thanks a lot, it perfectly solved my problem!
Feel free to keep this issue alive by asking more questions, or else close the issue if satisfied.
Hi, I want to ask a simple question about geometry setting for scuff-cas3D.
For instance, if I want to change the silicon/Vacuum boundaries for the example "Casimir forces between infinite-area silicon slabs (2D periodicity)" to PEC/Vaccum, can I just change these two lines?
After that the program looks like:
I tried to do that. However the program become very slow. The "scuff-cas3D.log" stuck 6 hours at:
Am I doing wrong? Can you tell me what is happening here? Thanks!