Polymer Builder#

In AMS2027, the updated Polymer Builder can grow a single chain, multiple chains in a periodic box, or an infinite periodic chain. Open it from Builders → Polymer… in AMSinput.

  1. In Monomers, search for a monomer by name or enter a SMILES string in Add SMILES and click Add. Use [*] to define link points in SMILES, or select atoms in the molecule editor and click Replace under Set link point. For complete reactants, you can select the detected reactive sites to use as link points. Set the role and chemistry of each link point as needed. Use Cap to choose what attaches to unused link points. For a reactive site with a predefined cap, Original group uses the cap shown in parentheses, such as Original group (OH) for a carboxylic acid or Original group (H) for propylene.

  2. In Polymer, choose the Polymer type you want to build. Use Copolymer for homopolymers and for copolymers with alternating sequences, statistical sequences, or sequences based on reactivity ratios. Use Tacticity to control stereochemistry, Blocks for block or gradient copolymers, and Branched for stars or combs. Use Links or Matrix to specify allowed connections and their weights directly. Set Monomer repeats for a finite chain or comb backbone. Blocks and stars use their own length settings.

  3. To change the output or growth settings, open Build Options. The default output is Single chain.

    • Single chain builds one finite molecule.

    • Chains in box grows chains together in a periodic cubic cell. Set the number of chains, density in g/cm³, and dispersity. Set dispersity to 1 for equal chain lengths. Compress lets you grow chains at a lower density and then compress them to the target density.

    • Periodic chain creates an infinite chain along x for regular polymers. Leave Monomers per cell blank to use the smallest repeat, or enter a multiple of the repeat length. For example, an alternating copolymer requires an even number of monomers per cell.

    For finite chains or chains in a box, Crosslink joins unused link points of the chosen types within a distance cutoff.

    Use Orient link to choose how to orient new bonds. Under Optimize, choose UFF or GFN-FF to relax the finished polymer, or None to skip this step.

  4. From Polymer or Build Options, click Generate to replace the current structure with the polymer. At the bottom of Build Options, click Save Script… to save the setup as a Python script. After generation, Save Script… uses the starting monomers and the current settings while the polymer stays in the viewer. While the generated structure is unchanged, click Generate again to rebuild from the same monomers with the current settings. Click Use or press Return to keep the polymer and close the builder. Use Edit → Undo to recover the structure before generation.