Hi All,
I need help in plotting my MD simulation with the following characteristics:
* NVT dynamics run with PBC in 3D
* Contains an infinite surface and adsorbent molecules
* Trajectory in .xtd format
* Used Forcite for calculation
Any help will be greatly appreciated. Thank you.
Amardesh

Dear Amardesh,
Here is a similar post:
How to calculate radius of gyration (Rg) vs time ?
In your case you can just define distance measures on all the molecules you want to include and then run something like the following example:
my $doc = $Documents{"Polynylon6.xtd"};
my $Rend_mean = 0; my $count = 0;
for (my $i=1; $i<=$doc->Trajectory->NumFrames; $i++)
{
$doc->Trajectory->CurrentFrame = $i;
foreach my $obj (@{$doc->Distances})
{
$Rend_mean += $obj->Distance;
$count++;
}
}
$Rend_mean /= $count;
printf "Rend_mean = %f\n", $Rend_mean;
Best,
/Jason
Hi Jason,
Thanks a lot for your kind answer. It helps me a lot. I am sorry to post this reply for you.
Cheers,
A.N