cmphy:与COMSOL Multiphysics API的Python接口

上传者: 42133680 | 上传时间: 2022-09-14 16:41:14 | 文件大小: 28KB | 文件类型: ZIP
墨菲 cmphy是仿真软件的API的Python接口。 启动新的COMSOL Multiphysics会话很简单: >>> ses = Session() >>> ses.port 2036 >>> mu = ses.mu # Get a handle to the ModelUtil object. >>> model = mu.create(tag="Model1") >>> mu.tags() ('Model1',) 上面的命令启动了一个新的COMSOL服务器(侦听端口2036),将Python客户端连接到正在运行的服务器,并创建了一个空模型。 安装 克隆公共存储库以获得源的本地副本: $ git clone git://github.com/fellobos/cmphy.git 有了cmphy后,您可以将cmphy嵌入自己的Python包中,或轻松地将其安装到站点包中:

文件下载

资源详情

[{"title":"( 23 个子文件 28KB ) cmphy:与COMSOL Multiphysics API的Python接口","children":[{"title":"cmphy-master","children":[{"title":"setup.py <span style='color:#111;'> 449B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 37B </span>","children":null,"spread":false},{"title":"cmphy","children":[{"title":"_comsolcom.py <span style='color:#111;'> 6.16KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 806B </span>","children":null,"spread":false},{"title":"session.py <span style='color:#111;'> 13.31KB </span>","children":null,"spread":false},{"title":"error.py <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"config.py <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"Makefile <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'> 288B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 944B </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"test_session.py <span style='color:#111;'> 3.76KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"models","children":[{"title":"session-1.mph <span style='color:#111;'> 16.53KB </span>","children":null,"spread":false},{"title":"session-2.mph <span style='color:#111;'> 17.08KB </span>","children":null,"spread":false}],"spread":true},{"title":"test_comsolcom.py <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false}],"spread":true},{"title":"environment.yml <span style='color:#111;'> 77B </span>","children":null,"spread":false},{"title":"docs","children":[{"title":"api","children":[{"title":"core.rst <span style='color:#111;'> 391B </span>","children":null,"spread":false}],"spread":true},{"title":"Makefile <span style='color:#111;'> 7.23KB </span>","children":null,"spread":false},{"title":"index.rst <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"conf.py <span style='color:#111;'> 9.32KB </span>","children":null,"spread":false},{"title":"make.bat <span style='color:#111;'> 7.07KB </span>","children":null,"spread":false},{"title":"usage","children":[{"title":"install.rst <span style='color:#111;'> 640B </span>","children":null,"spread":false},{"title":"interface.rst <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明