Shortcut: UPPER_WALLS

Module bias
Description Usage
Defines a wall for the value of one or more collective variables, used in 15 tutorialsused in 141 eggs

Output components

This action calculates the values in the following table. These values can be referenced elsewhere in the input by using this Action's label followed by a dot and the name of the value required from the list below.

Name Type Description
bias scalar the instantaneous value of the bias potential
force2 scalar the instantaneous value of the squared force due to this bias potential

Input

The arguments that serve as the input for this action are specified using one or more of the keywords in the following table.

Keyword Type Description
ARG scalar/vector the arguments on which the bias is acting

Further details and examples

Defines a wall for the value of one or more collective variables, which limits the region of the phase space accessible during the simulation.

If the inputs to the arguments are scalars the restraining potential starts acting on the system when the value of the CV is greater than a certain limit (AT) minus an offset (OFFSET). The expression for the bias due to the wall is given by:

In this expression (KAPPA) is an energy constant in internal unit of the code, (EPS) a rescaling factor and (EXP) the exponent determining the power law. By default: EXP = 2, EPS = 1.0, OFFSET = 0.

The following input tells plumed to add both a lower and an upper walls on the distance between atoms 3 and 5 and the distance between atoms 2 and 4. The lower and upper limits are defined at different values. The strength of the walls is the same for the four cases. It also tells plumed to print the energy of the walls.

Click on the labels of the actions for more information on what each action computes
tested on2.11
d1: DISTANCECalculate the distance/s between pairs of atoms. More details ATOMSthe pair of atom that we are calculating the distance between=3,5
d2: DISTANCECalculate the distance/s between pairs of atoms. More details ATOMSthe pair of atom that we are calculating the distance between=2,4
uwall: UPPER_WALLSDefines a wall for the value of one or more collective variables, More details ARGthe arguments on which the bias is acting=d1,d2 ATthe positions of the wall=1.0,1.5 KAPPAthe force constant for the wall=150.0,150.0 EXP the powers for the walls=2,2 EPS the values for s_i in the expression for a wall=1,1 OFFSET the offset for the start of the wall=0,0
lwall: LOWER_WALLSDefines a wall for the value of one or more collective variables, More details ARGthe arguments on which the bias is acting=d1,d2 ATthe positions of the wall=0.0,1.0 KAPPAthe force constant for the wall=150.0,150.0 EXP the powers for the walls=2,2 EPS the values for s_i in the expression for a wall=1,1 OFFSET the offset for the start of the wall=0,0
PRINTPrint quantities to a file. More details ARGthe labels of the values that you would like to print to the file=uwall.bias,lwall.bias

Alternatively, if the input to this action is a vector as in the example shown below:

Click on the labels of the actions for more information on what each action computes
tested on2.11
d1: DISTANCECalculate the distance/s between pairs of atoms. More details ATOMS1the pair of atom that we are calculating the distance between=1,2 ATOMS2the pair of atom that we are calculating the distance between=3,4 ATOMS3the pair of atom that we are calculating the distance between=5,6
uwall: UPPER_WALLSDefines a wall for the value of one or more collective variables, This action is a shortcut. More details ARGthe arguments on which the bias is acting=d1 ATthe positions of the wall=1.0 KAPPAthe force constant for the wall=150.0 EXP the powers for the walls=2 EPS the values for s_i in the expression for a wall=1 OFFSET the offset for the start of the wall=0
PRINTPrint quantities to a file. More details ARGthe labels of the values that you would like to print to the file=uwall.bias

The bias that acts is given by the following expression:

The sum over here is runs over the two arguments, while the sum over runs over the three components of the input vectors. Notice, that regardless of whether the input is a scalar, vector or matrix the number of , , , and values must be equal to the number of arguments to the action.

Syntax

The following table describes the keywords and options that can be used with this action

Keyword Type Default Description
ARG input none the arguments on which the bias is acting
AT compulsory none the positions of the wall
KAPPA compulsory none the force constant for the wall
OFFSET compulsory 0.0 the offset for the start of the wall
EXP compulsory 2.0 the powers for the walls
EPS compulsory 1.0 the values for s_i in the expression for a wall