|Subject:||Re: [ESPResSo-users] Coloring in VMD|
|Date:||Mon, 9 Jun 2014 14:59:33 +0430|
You can either use off-line visualization by using the commands "writevsf" and "writevcf" into a VTF file and then visualize it using "vmd <filename>.vtf":# these lines replace the "prepare_vmd_connection"set file [open "sim.vtf" "w"]writevsf ignore_charges $file# this replaces "imd positions"writevcf $file# and at the endclose $fileFor online visualization, you can use just what you did in your first mailing if you have no charged atoms:prepare_vmd_connection aaa 3000exec sleep 4imd positions...however, to be able to distinguish the atoms, do not use the Coloring Method "segname", but "type" instead.If you do have charged atoms, you either have to use the current development code, or you have to modify the code of "prepare_vmd_connection" in scripts/auxiliary.tcl".Olaf2014-05-25 11:58 GMT+02:00 Narges Nikoofard <address@hidden>:
Narges NikoofardThanks again,If the latter is possible, much less effort is needed.Dear Dr. Arnold,Many thanks for the answer.
I see in userguide that "ignore_charges" is used with "writevsf" command. Does it mean that I should write vtf files and then use VMD for visualizing them? Or, this is still possible to use "prepare_vmd_connection" for automatically setting up a VMD connection?
On Sat, May 24, 2014 at 1:07 PM, Axel Arnold <address@hidden> wrote:
Espresso 3.2.0 uses vtf rather than PDB for communication with VMD. Therefore, SegName is no longer used, but just Type or Name. Type just gives the type number from Espresso.
However, the vtf plugin in VMD has a bug, which cannot handle charges correctly and wipes the type and name information. So, if your systems are charged, you either need to switch to the latest development release, or use the workaround option "ignore_charges" to prepare_vmd_connection.
On 24.05.14 08:18, Narges Nikoofard wrote:
I have two types (0 and 1) of particles in my system. I use these lines to visualize my system in VMD:
prepare_vmd_connection aaa 3000
exec sleep 4
Unfortunately, the two types of particles are colored the same in VMD. I use version 3.2.0 of ESPResSo.
I have checked Graphics --> Representations --> Coloring Method: SegName
I would be grateful, if someone could kindly help me.
Many thanks in advance,
JP Dr. Axel Arnold
ICP, Universität Stuttgart
70569 Stuttgart, Germany
Tel: +49 711 685 67609
--Dr. rer. nat. Olaf LenzInstitut für Computerphysik, Allmandring 3, D-70569 StuttgartPhone: +49-711-685-63607
|[Prev in Thread]||Current Thread||[Next in Thread]|