24小时热门版块排行榜    

CyRhmU.jpeg
查看: 1832  |  回复: 1
【悬赏金币】回答本帖问题,作者邵亚川将赠送您 5 个金币

邵亚川

新虫 (初入文坛)

[求助] materials studio中forcire模块中添加外电场

添加外电场运行动力学,但是报错!
Could not calculate the forces.
An Electric field is applied to a structure that is not charge neutral.
The net charge is 1e and the tolerance is set to 0.1e in Forcite.Dynamics (function/property "Run" at -e line 16.

脚本原文:

my $doc = $Documents{"C.xsd"};

Modules -> Forcite -> ChangeSettings([
                                     ElectricFieldStrength => 5,
                                     ElectricFieldX => 0,
                                     ElectricFieldY => 0,
                                     ElectricFieldZ => -1,
                                     CounterExternalForce => "NO"]);

my $results = Modules->Forcite->Dynamics->Run($doc, Settings(
        ChargeAssignment => "Use current",
        Ensemble0D => "NVT",
        TrajectoryFrequency => 500));
my $outTrajectory = $results->Trajectory;
(下半部分为复制脚本。PS:但是问题就处在第一行!)
求大佬解惑!
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

Jerry Wang

木虫 (正式写手)

2楼2021-10-20 20:01:05
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 邵亚川 的主题更新
不应助 确定回帖应助 (注意:应助才可能被奖励,但不允许灌水,必须填写15个字符以上)
信息提示
请填处理意见