Skip to content

amrvis3d for rho_electrons #6233

@chiehjen

Description

@chiehjen

I tried to visualize a 3D simulation using amrvis (the default tool). It works fine for positive charge, but when I select "rho_electron", it shows nothing (except for the box), like below:

Image

For positive charge, i.e., aluminium in this case, it works fine:

Image

The thing is if I define the charge of e- to positive, i.e., instead of

ele.charge = -q_e
, use
ele.charge = q_e

then amrvis3d works again for rho_electron (at least the shape is correct, but the charge is opposite), as below:

Image

So it appears that the problem is amrvis3d cannot plot materials with negative charge. For 2D cases, amrvis2d has no problem in showing negative charge materials.

Does anyone encounter problem in 3D visualization of electron density? Please tell me if there's any solution to that.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions