Skip to content

Cas-Pol Potential by a PEC Plate Described with a Geometry File #223

@congzlwag

Description

@congzlwag

Hello the dedicated developers of scuff-em,

I am testing scuff-caspol in a simplistic situation where there is only a PECPlate and a Rb atom. Instead of invoking the --PECPlate option, however, I am inputing a geometry file to fully verify its calculation of Green's tensor from finite element geometry files. The mesh file UnitPlate_52.msh (with a redundant .txt allowing to upload) looks like
Screen Shot 2020-04-27 at 14 30 46
whose dimension is 0.01x0.01 and normal vector is along -z . Correspondingly the geometry file
Plane_52.scuffgeo is

LATTICE
VECTOR 0.01 0.00
VECTOR 0.00 0.01
ENDLATTICE

REGION PlateVol MATERIAL PEC

SURFACE Plane
MESHFILE UnitPlate_52.msh
REGIONS Exterior PlateVol
ENDOBJECT

where I took special care to the ordering of REGIONS according to doc on scuff-em geometry so that the z>0 region will be in vacuum and I can evaluate the potential along that half axis, see EPFile.

It turns out to have no meaningful outcome because every output value in .byXi or .byXikBloch is nan. My command was scuff-caspol --geometry Plane_52.scuffgeo --EPFile EPFile --Atom Rb --BZIMethod TC --BZIOrder 9 --BZSymmetryFactor 8. Although the sampling in the BZ is really coarse, I was expecting it to at least offer some less accurate results rather than nan. I am practically running the patched version #222. The log file is scuff-caspol_52.log.

I preliminarily identify the issue to be with the Green’s tensor calculation from the geometry file, because when I replace it with the analytical form of the Green’s tensor by invoking the option –PECPlate the results are correct.
Any suggestion or help will be highly appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions