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.


Topics - starmm11

Pages: [1]
1
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:

C:\Users\home\Documents\Python\OvitoAnalysis>ovitos analysis.py
Error while loading OVITO submodule ovito.vis.gui: <class 'ImportError'>
Traceback (most recent call last):
  File "D:\Program Files\Ovito\plugins\python\ovito\__init__.py", line 41, in <module>
    importlib.import_module(_name)
  File "D:\Program Files\Ovito\lib\importlib\__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "D:\Program Files\Ovito\plugins\python\ovito\vis\gui\__init__.py", 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/analysis.py", line 1, in <module>
    from ovito.io import *
  File "D:\Program Files\Ovito\plugins\python\ovito\__init__.py", 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?


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

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?

 

3
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.


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

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.

Thanks

Pages: [1]