24小时热门版块排行榜    

查看: 4157  |  回复: 7

119243775

银虫 (小有名气)

[求助] 固定键长优化问题 已有1人参与

以下是我的输入文件:
# opt freq b3lyp/6-311g(d)

8  opt freq

0 2
C                  3.37538290   -2.18669659    0.43613873
C                  2.60945190   -3.19091159   -0.38390827
C                  1.32866110   -3.45438941   -0.35546373
C                  0.26657710   -2.82744941    0.50884027
C                 -0.81602090   -2.09852441   -0.31121573
C                 -1.94417990   -1.52506441    0.55535427
.......
H                 -4.62124090   -1.04063741    1.18501127
H                 -3.72620190    0.46048159    1.36839827
H                 -4.76195790    1.34589159   -0.74300473
H                 -5.63931690   -0.16193241   -0.94249273
H                 -6.85430290    0.25558259    1.22843127
H                 -5.93372390    1.74330459    1.47119727
H                 -7.73965390    0.30775759   -1.09144673

2 3 1.3079 f
我要固定23键长优化,如上,怎么优化后23双键还是变长了,是我的输入文件写的有错误么??
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

marson

银虫 (正式写手)

【答案】应助回帖

感谢参与,应助指数 +1
1 2  
------------------------------------------------------------------------------------------------------         
H                  8          B1            6           A1              5          D1              0
C                  8          1.37799260    6           124.70865303    5           -4.12539422    0
---------------------------------------------------------------------------------------------------------------------
H                 23          1.00050631   17            16.68701160    8         -155.71635627    0

   B1             1.05124005 s 30 0.07
   B2             2.75995368
   A1           124.70865303
   A2           112.41559023
   D1          -174.16210499
   D2           171.86013008
思想有多远,我们就能走多远~
2楼2013-04-24 21:28:48
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

marson

银虫 (正式写手)

【答案】应助回帖

不知LZ能看懂不,你要固定2、3原子的键长的话,应该将2、3键长在内坐标那一块儿用字母B来代替,然后对应的角度及二面角用A、D来代替,然后在下面类似我上面的,B对应你想要固定的键长值,加 f;然后A、D输入相应的值~我上面的例子是scan的,fix键长类似的~
思想有多远,我们就能走多远~
3楼2013-04-24 21:33:09
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

119243775

银虫 (小有名气)

引用回帖:
3楼: Originally posted by marson at 2013-04-24 21:33:09
不知LZ能看懂不,你要固定2、3原子的键长的话,应该将2、3键长在内坐标那一块儿用字母B来代替,然后对应的角度及二面角用A、D来代替,然后在下面类似我上面的,B对应你想要固定的键长值,加 f;然后A、D输入相应的值 ...

我知道您说的,但这种坐标格式也能进行固定优化吧?难道不行?
4楼2013-04-24 21:43:57
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

xzz1007

金虫 (小有名气)

【答案】应助回帖

感谢参与,应助指数 +1
要在命令行加modredundant,例如 opt=(maxcycle=100, modredundant) nosymm ub3lyp/6-311++g(d,p)
阳光总在风雨后,再坚持坚持吧.....
5楼2013-04-25 09:15:00
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zhouwohua

银虫 (小有名气)

【答案】应助回帖

感谢参与,应助指数 +1
查高斯说明书关键字opt里面的modredundant。也就是冗余坐标修改。
f是冻结坐标,还有其他很多用途,复制英文说明书如下:

ModRedundant
Add, delete or modify redundant internal coordinate definitions (including scan and constraint information). This option requires a separate input section following the geometry specification. When used in conjunction with QST2 or QST3, a ModRedundant input section must follow each geometry specification. AddRedundant is synonymous with ModRedundant.

Lines in a ModRedundant input section use the following syntax:

[Type] N1 [N2 [N3 [N4]]] [[+=]value] [A | F] [[min] max]]
[Type] N1 [N2 [N3 [N4]]] [[+=]value] B [[min] max]]
[Type] N1 [N2 [N3 [N4]]] K|R [[min] max]]
[Type] N1 [N2 [N3 [N4]]] [[+=]value] D [[min] max]]
[Type] N1 [N2 [N3 [N4]]] [[+=]value] H diag-elem [[min] max]]
[Type] N1 [N2 [N3 [N4]]] [[+=]value] S nsteps stepsize [[min] max]]
N1, N2, N3 and N4 are atom numbers or wildcards (discussed below). Atom numbering begins at 1, and any dummy atoms are not counted. Value specifies a new value for the specified coordinate, and +=value increments the coordinate by value. If omitted, the current value is unchanged.

The atom numbers and coordinate value are followed by a one-character code letter indicating the coordinate modification to be performed; the action code is sometimes followed by additional required parameters as indicated above. If no action code is included, the default action is to add the specified coordinate. These are the available action codes:

A                  Activate the coordinate for optimization if it has been frozen.
F                  Freeze the coordinate in the optimization.
B                  Add the coordinate and build all related coordinates.
K                  Remove the coordinate and kill all related coordinates containing this coordinate.
R                  Remove the coordinate from the definition list (but not the related coordinates).
D                  Calculate numerical second derivatives for the row and column of the initial Hessian for this coordinate.
H                  Change the diagonal element for this coordinate in the initial Hessian to diag-elem.
S                  Perform a relaxed potential energy surface scan. Set the initial value of this coordinate to value (or its current value), and increment the coordinate by stepsize a total of nsteps times, performing an optimization from each resulting starting geometry.
An asterisk (*) in the place of an atom number indicates a wildcard. Min and max then define a range (or maximum value if min is not given) for coordinate specifications containing wildcards. The action specified by the action code is taken only if the value of the coordinate is in the range.

Here are some examples of wildcard use:

*                  All atoms specified by Cartesian coordinates
* *                  All defined bonds
3 *                  All defined bonds with atom 3
* * *                  All defined valence angles
* 4 *                  All defined valence angles around atom 4
* * * *                  All defined dihedral angles
* 3 4 *                  All defined dihedral angles around the bond connecting atoms 3 and 4
By default, the coordinate type is determined from the number of atoms specified: Cartesian coordinates for 1 atom, bond stretch for 2 atoms, valence angle for 3 atoms and dihedral angle for 4 atoms. Optionally, type can be used to designate these and additional coordinate types:

X                  Cartesian coordinates. In this case, value, min and max are interpreted as the X, Y and Z coordinates (respectively).
B                  Bond length
A                  Valence angle
D                  Dihedral angle
L                  Linear bend specified by three atoms (if N4 is -1) or by four atoms, where the fourth atom is used to determine the 2 orthogonal directions of the linear bend. In this case, value, min and max are each pairs of numbers, specifying the two orthogonal bending components.
O                  Out-of-plane bending coordinate for a center (N1) and three connected atoms.
See the examples later in this section for illustrations of the use of ModRedundant.

参考:http://www.gaussian.com/g_tech/g_ur/k_opt.htm
学无止境;天天学习;努力向上。
6楼2013-04-25 11:30:33
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zszjn

银虫 (正式写手)

引用回帖:
2楼: Originally posted by marson at 2013-04-24 21:28:48
1 2  
------------------------------------------------------------------------------------------------------         
H                  8          B1            6           A1              5     ...

你好  你这种形式的坐标如何得到的呢   期待你的答复
做回自己
7楼2015-08-01 21:07:26
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zszjn

银虫 (正式写手)

【答案】应助回帖

优化出来键长是固定了   但是两个原子间的键不见了
做回自己
8楼2015-08-03 11:31:32
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 119243775 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] 基金中了 +14 laoda193707 2026-08-06 14/700 2026-08-08 00:23 by 实验小白ha
[基金申请] 关于filecode +4 布布和一二 2026-08-07 7/350 2026-08-07 22:55 by zhanghaozhu
[基金申请] 娱乐 +6 Tide man 2026-08-03 6/300 2026-08-07 22:40 by 铁帽子农民
[基金申请] 化学口download_prp&fileCode的固定段好像这几天一直没变,有变的大神么? +3 Tide man 2026-08-07 4/200 2026-08-07 22:39 by Tide man
[基金申请] 关于代码变化问题,想知道的进来 +9 且听虎啸 2026-08-07 12/600 2026-08-07 21:53 by 理想三旬2025
[基金申请] 固定端突然变了,今天 +6 archvillain 2026-08-06 10/500 2026-08-07 16:03 by 医学老男孩
[基金申请] 听说今天filecode变了 +24 布布和一二 2026-08-06 47/2350 2026-08-07 16:02 by zhiyanjiang
[基金申请] filecode与中标关系的预测 +3 布布和一二 2026-08-07 3/150 2026-08-07 15:09 by gltch
[基金申请] filecode变化情况 +6 布布和一二 2026-08-07 22/1100 2026-08-07 14:45 by 且听虎啸
[基金申请] 大家散了吧,后缀研究没有意义,别浪费时间了,过好目前的每一天,不要焦虑 +5 Tide man 2026-08-06 7/350 2026-08-07 13:11 by 医学老男孩
[基金申请] 关于豆爷回答的JTJC与%2F数量 +4 yang182083 2026-08-06 6/300 2026-08-07 12:43 by 虫友是什么虫
[基金申请] filecode +14 等待解的谜 2026-08-06 19/950 2026-08-07 12:20 by wlwhappy
[基金申请] filecode +8 布布和一二 2026-08-06 11/550 2026-08-06 20:41 by tangpu318
[基金申请] 影响面上的因素 +8 布布和一二 2026-08-05 11/550 2026-08-06 10:41 by 宝贝虫子
[基金申请] 8月时间戳变的,举个手。玩一下,释放压力 +9 archvillain 2026-08-04 11/550 2026-08-05 20:06 by wlwhappy
[基金申请] 好消息?这个有何含义??? +8 Tide man 2026-08-05 10/500 2026-08-05 16:14 by xmuxiaoyu
[考博] 【2027博士申请】纳米药物递送方向 20+3 13586093586 2026-08-03 4/200 2026-08-05 09:59 by lfy8008
[基金申请] 有没有H口的?有收到消息的吗? +3 超级海虾 2026-08-04 3/150 2026-08-04 17:26 by 学教育滴
[基金申请] 面上提前没消息,有中的吗 +14 archvillain 2026-08-02 18/900 2026-08-04 14:42 by archvillain
[基金申请] 什么时候能放榜呀? +3 Jacob678 2026-08-03 3/150 2026-08-03 16:14 by gltch
信息提示
请填处理意见