Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

ConsistentForceField

Guides

  • ConsistentForceField

Tech Notes

  • Extending Coverage of the CFF

Symbols

  • CFFAngle
  • CFFAtomCoordinates
  • CFFDihedral
  • CFFDistance
  • CFFEnergyComponents
  • CFFEnergy
  • CFFEnergyReport
  • CFFGradient
  • CFFHessian
  • CFFNormalModes
  • CFFOptimizeGeometry
  • CFFParameterize
  • CFFThermodynamicFunctions
  • CFFThreeFoldTorsion
  • CFFTorsion
  • CFFTwist
  • CFFTwoFoldTorsion
  • NormalModeTable
  • $AllowSymbolicCFFEnergy
  • $CFFAuxiliaryPatternsParameters
  • $CFFPublishedPatternsParameters
  • $ConsistentForceFieldVersion
RobertNachbar`ConsistentForceField`
CFFOptimizeGeometry
​
CFFOptimizeGeometry
[mol]
returns a new
Molecule
with optimized
AtomCoordinates
by minimizing the CFF energy or gradient of mol. The optimization uses
FindMinimum
or
FindRoot
depending on the method chosen.
​
Details and Options

Examples  
(5)
Basic Examples  
(1)
Generate the molecule butane in its default conformation:
In[1]:=
mol=Molecule["CCCC"];​​MoleculePlot3D[mol,ImageSizeTiny]
Out[1]=
Optimize the geometry to minimize the energy:
In[2]:=
molOpt=
CFFOptimizeGeometry
[mol];​​MoleculePlot3D[molOpt,ImageSizeTiny]
Out[2]=
Compute the energy before and after:
In[3]:=
CFFEnergy
/@{mol,molOpt}
Out[3]=

3.85945
kcal
th
/mol
,
2.64685
kcal
th
/mol

Compute the gradient norm of the energy before and after:
In[4]:=
Norm@*
CFFGradient
/@{mol,molOpt}
Out[4]=

35.8797
kcal
th
/(Åmol)
,
1.75107×
-7
10
kcal
th
/(Åmol)

Options  
(3)

Applications  
(1)

SeeAlso
CFFEnergy
 
▪
CFFGradient
 
▪
CFFHessian
RelatedGuides
▪
ConsistentForceField
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com