-
-
March 29, 2022 at 1:09 pm
qiqi
Subscriber老师您好,关于脚本我有个问题,现在我写的脚本及错误提示如下
March 29, 2022 at 5:30 pmGuilin Sun
Ansys Employeej=s*k*r 这三个变量或者是常数,或者是矩阵相同的维数,否则将出错。 阅读你的文件,没有看到哪里定义了数值或者变量 a。 因此无法判断 s 是否正确;k 是常数;r 是3维矩阵。 “希望a是一个符号,且在后续进行积分才给a附上数组”,遗憾,不可以。Lumerical脚本主要是数值计算,不像C++那样可以随意设置变量。任何脚本计算都必须是数值,但是可以有DATASET将不同变量联合在一起:Ansys Insight: script中的数据类型和数据格式 Dataset, 或者STRUCT struct - Script command,后者主要可以集合不同类型的变量,比如数字和字符变量,但是均不能直接参与运算。Viewing 1 reply thread- You must be logged in to reply to this topic.
Ansys Innovation SpaceBoost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
Trending discussions- 询问关于FDTD和matlab软件的互联问题 ——appopen
- 关于中国用户访问Lumerical官网和帐号注册的补充说明
- Ansys Insight: 透射率反射率电场大于1,或者透射率反射率之和大于1的原因与解决方案–综合贴
- Ansys Insight: FDTD 和 varFDTD 常见的发散原因以及处理
- Ansys Insight: FDTD Solutions 的光源类型及其典型应用:初学者
- 左旋圆偏振光透过超表面后,获得的右旋圆偏振光能量比入射的左旋圆偏振光能量还要大?
- 有效折射率
- Ansys Insight: 关于FDTD 并行计算的有关问题
- 请问FDTD中如何改变光源的偏振态及如何获得能量的数值?
- Ansys Insight: 几个简单实用的脚本Script命令:用于结果分析
Top Contributors-
7610
-
4440
-
2953
-
1427
-
1322
Top Rated Tags© 2023 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-