OBMINIMIZE(1)
π obminimize β like, the geometry optimizer of your dreams
okay so bestie, welcome to obminimize, from the Open Babel User's Reference Manual β¨ this is the little icon that takes your molecule and goes "no babe, that bond angle is not it" and gently smooshes it into a lower-energy shape. we stan a glow-up.
β¨ SYNOPSIS β¨
obminimize [OPTIONS] filename
π¦ DESCRIPTION π¦
so the obminimize tool can be used to minimize the energy for molecules inside (multi-)molecule files (like, MOL2, etc.) β yes, multi-molecule files, she's not scared of a crowd π
it literally just takes your structure and finds the chillest, lowest-energy version of it. main character energy for your atoms, fr fr.
π OPTIONS π
okay so here's the tea. if no filename is given, obminimize will give you all the options including the available forcefields β so obminimize with no args is basically her saying "here's my whole personality, pick something" π«Ά
-ccriteria β set the convergence criteria (default is1e-6). like how picky she is about "close enough" β¨-cgβ use the conjugate gradients algorithm (this is the default, she's already on that grind)-sdβ use the steepest descent algorithm-newtonβ use theNewton2Numlinesearch (default isSimple)-ffforcefield β select the forcefield. yes you get to choose her whole vibe-oformat β select the output file format-hβ add hydrogen atoms π (the little guys deserve to be there)-nsteps β specify the maximum number of steps (default is2500). a hard limit, bestie, she will stop-cutβ use cut-off (default is don't use cut-off)-rvdwrvdw β specify the VDW cut-off distance (default is6.0)-relerele β specify the electrostatic cut-off distance (default is10.0)-pffreq β specify the frequency to update the non-bonded pairs (default is10)
πΈ EXAMPLES πΈ
view the possible options, including available forcefields β literally just her showing off:
obminimize
minimize the energy for the molecule(s) in file test.mol2 β the classic, no notes:
obminimize test.mol2
minimize the energy for the molecule(s) in file test.mol2 using the Ghemical forcefield β a whole different flavor:
obminimize -ff Ghemical test.mol2
minimize the energy for the molecule(s) in file test.mol2 by taking at most 300 geometry optimization steps β when you're in a hurry:
obminimize -n 300 test.mol2
minimize the energy for the molecule(s) in file test.mol2 using the steepest descent algorithm and convergence criteria 1e-5 β -sd girlies rise:
obminimize -sd -c 1e-5 test.mol2
π§ SEE ALSO π§
go give her friends some love too: obabel(1), obenergy(1), obrotamer(1) π«Ά
the web pages for Open Babel can be found at: <https://openbabel.org/>
the web pages for Open Babel Molecular Mechanics can be found at: <https://openbabel.org/docs/Forcefields/Overview.html>
π AUTHORS π
the minimize program was contributed by Tim Vandermeersch β ty king π
Open Babel is developed by a cast of many, including current maintainers Geoff Hutchison, Chris Morley, Michael Banck, and innumerable others who have contributed fixes and additions. for more contributors to Open Babel, see <https://openbabel.org/docs/Introduction/thanks.html> β it's giving community, it's giving collaborative slay π
π COPYRIGHT π
Copyright (C) 2007 by Tim Vandermeersch.
this program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2 of the License.
this program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. see the GNU General Public License for more details. (no cap, that part's important β no promises, bestie π)
ok real talk: that's the whole page. every flag, every default, every number β nothing skipped, nothing invented. she's thorough π
and that's the wrap, bestie β Open Babel 3.2, dated May 26, 2026, signing off πβ¨π
π¦ where this page comes from
- arch rolling: openbabel 3.2.1-1 Β· GPL-2.0-only
- opensuse-leap 16.0: openbabel 3.2.0-bp160.1.1 Β· GPL-2.0-only
- opensuse-leap 16.0: openbabel 3.2.0-bp160.1.1 Β· GPL-2.0-only
- opensuse-leap 16.0: openbabel 3.2.0-bp160.1.1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms