05.10.2013 Views

Polymers in Confined Geometry.pdf

Polymers in Confined Geometry.pdf

Polymers in Confined Geometry.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

50 CHAPTER 4. SIMULATION METHODS<br />

4.4.1 Initial part of the simulation<br />

Before actually start<strong>in</strong>g the ma<strong>in</strong> Monte-Carlo sampl<strong>in</strong>g loop first a set of th<strong>in</strong>gs<br />

have to be performed <strong>in</strong> the <strong>in</strong>itial phase of the program:<br />

• As mentioned before the acceptance rate has to be adjusted such that one is<br />

sampl<strong>in</strong>g the whole configuration space (mak<strong>in</strong>g the steps sufficiently large)<br />

but still hav<strong>in</strong>g the steps accepted frequently enough (mak<strong>in</strong>g sufficiently<br />

small steps for ∆e not becom<strong>in</strong>g too large). This has to be tuned for<br />

each simulation s<strong>in</strong>ce the rate depends on the parameters of the system.<br />

The variable to be tuned here is the maximal rotation angle δα. In our<br />

simulations this is done <strong>in</strong> the first 1000N 2 steps, where this angle is de- or<br />

<strong>in</strong>creased to have the acceptance rate as desired. A value of 25-50% seems<br />

to be an reasonable range. Fix<strong>in</strong>g the acceptance rate is the first important<br />

step <strong>in</strong> a simulation.<br />

• Indicated <strong>in</strong> step 4 sampl<strong>in</strong>g should be done <strong>in</strong> effective steps—not tak<strong>in</strong>g<br />

too many samples which do not <strong>in</strong>crease the accuracy of the f<strong>in</strong>al averages.<br />

We therefore have to know an estimate for the correlation time τR of the<br />

observables. Then samples can be taken <strong>in</strong> steps of this correlation time<br />

which assures, by eq. (4.19), to improve the averages. This value of τR is<br />

f<strong>in</strong>ally used to extract the error estimate by the same formula.<br />

Only one correlation time τR will be used as step size. We calculate it,<br />

as <strong>in</strong>dicated, for the end-to-end distance s<strong>in</strong>ce our ma<strong>in</strong> <strong>in</strong>terest is <strong>in</strong> this<br />

value or other ‘types’ of end-to-end distances (see section 4.6), which are<br />

assumed to show correlations of the same order. As shown <strong>in</strong> section 4.3.3<br />

(page 45) we need the values of 〈R〉, 〈R 2 〉 and 〈(δR) 2 〉 to obta<strong>in</strong> τR. This<br />

is the second task to be fulfilled <strong>in</strong> our simulation.<br />

S<strong>in</strong>ce we do not know the correlation time beforehand—which actually must<br />

be determ<strong>in</strong>ed self-consistently—the mentioned averages are sampled <strong>in</strong><br />

1000 <strong>in</strong>dependent (uncorrelated) runs by restart<strong>in</strong>g with different random<br />

<strong>in</strong>itial configurations. In each run 10N 2 MC-steps are performed, where<br />

samples are taken <strong>in</strong> steps of N (s<strong>in</strong>ce the correlation time somehow depends<br />

on N, the number of segments 7 ). We are <strong>in</strong>terested <strong>in</strong> the static equilibrium<br />

properties of the system, so attention must be paid to the <strong>in</strong>itial transient<br />

phase, where the polymer relaxes from the arbitrary <strong>in</strong>itial non-equilibrium<br />

configuration to the equilibrium behavior—which is measured by a different<br />

(non-equilibrium) correlation time. We observed this relaxation to be very<br />

fast. To be on the sure side 10N 2 MC-steps are performed after the <strong>in</strong>itial<br />

condition has been chosen, before the sampl<strong>in</strong>g is started.<br />

7 Actually the number of possible configurations scales exponentially ∼ A N , assum<strong>in</strong>g each<br />

segment to have A possible configurations.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!