The rigid body fragment needs to be placed in the unit cell at the position of a known fragment. The easiests way of determining the orientation of the known fragment it to fit the rigid body to the know fragment. In this way the orientation parameters of:
Rotate_about_axies(@ 0, @ 0, @ 0)
translate ta @ 0 tb @ 0 tc @ 0
can be determined. The topic
http://topas.dur.ac.uk/topaswiki/doku.php?id=rigid_body_-_matching_to_a_known_fragment covers this. In the current case the INP file looks like:
only_penalties
continue_after_convergence
yobs_eqn aac = 1; min 10 max 20 del 0.01 ' This is a dummy file
str
space_group p1
a 6.034159`
b 32.168894`
c 3.634243`
' Known fragment
site wC1 x 0.17802 y 0.10846 z 0.77994 occ C 1 beq 1
site wC2 x 0.30391 y 0.07022 z 0.77689 occ C 1 beq 1
site wC3 x 0.54480 y 0.07265 z 0.97198 occ C 1 beq 1
site wC4 x 0.61984 y 0.11229 z 0.11063 occ C 1 beq 1
site wC5 x 0.47704 y 0.14988 z 0.13595 occ C 1 beq 1
site wN1 x 0.24827 y 0.14219 z 0.94766 occ N 1 beq 1
view_structure
site C1 x 0 y 0 z 0 occ C 1 beq 1
site C2 x 0 y 0 z 0 occ C 1 beq 1
site C3 x 0 y 0 z 0 occ C 1 beq 1
site C4 x 0 y 0 z 0 occ C 1 beq 1
site C5 x 0 y 0 z 0 occ C 1 beq 1
site N1 x 0 y 0 z 0 occ N 1 beq 1
rigid
z_matrix C1
z_matrix C2 C1 1.446
z_matrix C3 C2 1.619 C1 115.291
z_matrix C4 C3 1.444 C2 118.492 C1 356.3
z_matrix C5 C4 1.488 C3 123.899 C2 9.4
z_matrix N1 C1 1.315 C5 28.235 C4 179.3
Rotate_about_axies(@ 0, @ 0, @ 0)
translate ta @ 0 tb @ 0 tc @ 0
Distance_Restrain(C1 wC1, 0,0,0,1)
Distance_Restrain(C2 wC2, 0,0,0,1)
Distance_Restrain(C3 wC3, 0,0,0,1)
Distance_Restrain(C4 wC4, 0,0,0,1)
Distance_Restrain(C5 wC5, 0,0,0,1)
Distance_Restrain(N1 wN1, 0,0,0,1)
cheers
alan