Forum Navigation
You need to log in to create posts and topics.

Display problems with models in ovito

After I installed version 3.0, the data file generated by lammps can be displayed normally when imported into ovito. But the dump file generated by lammps does not display the model properly. In the 2.4 version of ovito, my model can be displayed normally.What is going on?

Uploaded files:
  • You need to login to have access to uploads.

Hi Hongcai,

are your coordinates in your dump file maybe stored in reduced units? It looks like OVITO doesn't recognize that from your files.
Note that in the developer version 3.0, reduced coordinates in dump files are automatically detected from the extended header line that lists the column descriptors for the per-atom information. (This line typically follows the “ITEM: ATOMS” line in each snapshot.)
If this line is missing, OVITO will assume that your coordinates are given in reduced units only if they range in the interval [-0.2, 1.2].

Could it be that you somehow use an old dump-file format where the definition of the column names are missing? It would be helpful if you could post the first few lines of your dump file for us. Then we can give more specific advice.

-Constanze

感谢您的答复,我拍了转储命令行的照片,请看一看。

Thanks for your reply, I took a picture of the dump command line, please take a look.

Uploaded files:
  • You need to login to have access to uploads.

That looks correct to me, Hongcai. Could you please show me the dump file itself (just the first couple of lines should be enough)?

This is part of my interception in the dump file, please take a look.

ITEM: TIMESTEP
140000
ITEM: NUMBER OF ATOMS
52500
ITEM: BOX BOUNDS ff ff pp
-1.0000000000000000e+01 1.5000000000000000e+02
-1.0000000000000000e+01 2.3000000000000000e+02
0.0000000000000000e+00 1.5000000000000000e+02
ITEM: ATOMS id type x y z vx vy vz fx fy fz xs ys zs c_7 c_8 c_9 c_10 c_11 c_12[4] c_s[1] c_s[2] c_s[3] c_s[4] c_s[5] c_s[6]
1 1 -0.430864 20.0849 20.1214 0.557743 0.238652 -2.51938 -0.180203 0.582552 -0.0885477 0.0598071 0.125354 0.134142 -3.63198 0.0166576 0 5 22.3501 0.0924908 305652 1.09317e+06 769438 38919.4 -154494 -22135.5
2 1 1.49556 22.1645 20.1396 -0.248082 2.16358 1.59437 0.319584 0.321435 0.101809 0.0718472 0.134019 0.134264 -4.09261 0.0180698 0 5 0.172254 0.194181 615261 300865 -555143 -502091 -117420 -128016
3 2 1.56521 20.1785 22.1243 -2.60601 -2.8567 -1.84167 0.185943 -0.0761178 0.303084 0.0722826 0.125744 0.147495 -4.83625 0.025649 0 1 0.115458 0.257908 151914 -434593 -478211 -422191 -226595 161889
4 2 -0.556916 22.2357 22.0944 -2.8309 6.43352 0.999578 0.278894 -0.27937 0.278842 0.0590193 0.134315 0.147296 -4.12693 0.0704762 0 5 21.2372 0.328932 528717 798023 868273 40099.1 233778 205198
5 1 3.62441 20.0694 20.0222 -2.35979 1.95086 0.0145213 0.676772 0.946936 1.59378 0.0851525 0.125289 0.133482 -3.99711 0.0232542 0 1 0.68977 0.196737 -149142 -3389.3 -1.41977e+06 131536 -874315 404570

Thanks, the problem seems to be that you have the rare case that you store both the regular coordinates and reduced coordinates in your dump-files. Then OVITO doesn't automatically rescale the reduced coordinates. Thanks for letting us know about this.

Until this is fixed, you can do the following: In the GUI, please click on the filename in the DataSource panel and then go to the "LAMMPS dump reader" section. Click on "Edit column mapping" as shown in the first attached screenshot. Then, unselect either the regular or the reduced coordinates and approve your choice. Now everything should look as you expect.

 

Uploaded files:
  • You need to login to have access to uploads.

The issue has been resolved, thank you for your  patience.