Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - starmm11

Pages: [1]
Support Forum / Re: Python loading error
« on: November 23, 2017, 04:23:14 PM »
The first problem has been solved. Perhaps, I did not properly install Ovito from .zip archive.
After reinstalling it I could compile the code using "ovitos".

Support Forum / Python loading error
« on: November 23, 2017, 09:24:36 AM »
I tried to configure python interpreter on Windows.
1) I tried to compiled python script by using ovitos. I get the following error:

Error while loading OVITO submodule ovito.vis.gui: <class 'ImportError'>
Traceback (most recent call last):
  File "D:\Program Files\Ovito\plugins\python\ovito\", line 41, in <module>
  File "D:\Program Files\Ovito\lib\importlib\", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "D:\Program Files\Ovito\plugins\python\ovito\vis\gui\", line 6, in <module>
    import PyScriptGUI
ImportError: No module named 'PyScriptGUI'
ERROR: Failed to initialize Python interpreter.

2) I used Anaconda + PyCharm and added folder Ovito\plugins\python to PYTHONPATH variable.
However, when I compiled .py script with "import ovito" it outputs
Traceback (most recent call last):
  File "C:/Users/home/Documents/Python/OvitoAnalysis/", line 1, in <module>
    from import *
  File "D:\Program Files\Ovito\plugins\python\ovito\", line 19, in <module>
    from .plugins.PyScript import (version, version_string, gui_mode, headless_mode, DataSet, dataset, task_manager)
ImportError: DLL load failed: The specified procedure could not be found.

What have I missed or done wrong?

Support Forum / averaging stress
« on: November 22, 2017, 05:32:10 PM »

I want to plot the stress tensor along the body by averaging atomic values of virial stress tensor
on small groups of atoms. Doing this in Lammps is complex as the number of atom groups is restricted.
Also when I simulate the body of fixed size, the problem of the volume evaluation arises.

How I can use Ovito for doing such thing?


Support Forum / Re: creating and manipulating geometry
« on: November 22, 2017, 04:23:44 PM »
I suppose that what you proposed in p. 4 is the answer on my question.
Actually, it would be easier to operate atoms "on fly" by clicking buttons on the panel. I just write my ideas:
  click on two atoms and get the distance between them,
  click on three atoms and get the angle.
  click on the atom and move it closer to the other atom.
  mark the region of atoms and move it somewhere
  mark the region and fill it with molecules

Support Forum / creating and manipulating geometry
« on: November 20, 2017, 02:50:13 PM »
I am insteresting if Ovito is being developed to contain funtional for manipulating and creating atomic configurations.
It would be very useful even the possibilities to move group of atoms or to add some atoms in the system.

Support Forum / Re: charge atom indexation ends on 99999
« on: November 20, 2017, 10:24:03 AM »
I used Packmol code for generating that .pdb file.

Thanks for the solution of my problem that used only Ovito's functions, I had to write short script for it before.

Support Forum / Re: charge atom indexation ends on 99999
« on: November 17, 2017, 12:00:15 PM »
Here is my compressed .pdb file.

Support Forum / charge atom indexation ends on 99999
« on: November 16, 2017, 03:05:09 PM »

I want to report the bug. When converting .pdb file to lammps data file using ovito the atom indexation ends up on 99999 number.
The following atoms have the zero index.


Pages: [1]