-
-
May 30, 2022 at 1:38 am
-
May 30, 2022 at 3:59 pm
Guilin Sun
Ansys Employee不知道啊,没有进一步的信息无法回答。
检查一下监视器里有数据没有?这种分析组的监视器需要同时记录电场和磁场.
我这边测试例子没有问题:
https://support.lumerical.com/hc/en-us/articles/360034395194-Changing-the-far-field-refractive-index-analysis-object
请先测试例子看看能否成功。 -
May 31, 2022 at 5:29 am
-
June 1, 2022 at 12:08 am
Guilin Sun
Ansys Employee我测试发现单波长是工作的,但是对于多波长,即使网上的例子,也不工作。
数据是有的,很可能是Dataset有问题,我把它改为矢量Dataset,是工作的,当然坐标不对,你知道就可以了:
clear;closeall;
ux=getdata("far_field_change_index","ux");
uy=getdata("far_field_change_index","uy");
f=getdata("far_field_change_index","f");
E2far1=getdata("far_field_change_index","E2far1");
E2far2=getdata("far_field_change_index","E2far2");
ux2=getdata("far_field_change_index","ux2");
uy2=getdata("far_field_change_index","uy2");
E2far2=interp(E2far2,ux2,uy2,f,ux,uy,f);
E2 = matrixdataset("E2");
E2.addparameter("ux",ux);
E2.addparameter("uy",uy);
E2.addparameter("lambda",c/f(1),"f",f(1));
E2.addattribute("E2far1",E2far1(:,:,1));
E2.addattribute("E2far2",E2far2(:,:,1));
visualize(E2);
visualize(E2far1);
visualize(E2far2);
E=getresult("far_field_change_index::field","E");
E1= matrixdataset("E");
E1.addparameter("ux",E.x);
E1.addparameter("uy",E.y);
E1.addparameter("uz",E.z);
E1.addparameter("lambda",c/f,"f",f);
E1.addattribute("Ex1",E.Ex);
visualize(E1);
uz=0;
E2far10=matrix(201,201,1,30);
for(n=1:201){
for(m=1:201){
E2far10(n,m,1,:)=E2far1(n,m,:);
}}
x=ux;
y=uy;
z=uz;
Efar2=rectilineardataset("Efar2",x,y,z);
Efar2.addparameter("lambda",c/f,"f",f);
Efar2.addattribute("E2far",E2far10);
# Efar2.addattribute("E2far2",E2far20);
visualize(Efar2);
需要输出
-
June 1, 2022 at 1:02 am
Jin_Guangrong1123
Subscriber官网的案例的波长400-700nm,我测试是工作的,当改成单波长分析组就不工作了,这是分析组的设置哪里有问题?
-
- You must be logged in to reply to this topic.

Boost 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.
- 询问关于FDTD和matlab软件的互联问题 ——appopen
- Ansys Insight: FDTD 和 varFDTD 常见的发散原因以及处理
- Ansys Insight: FDTD 如何设置圆偏振光
- 如何仿真一维光子晶体能带?
- 老师,您好。FDTD中simulation bandidth和source中wavelength区别在哪里,仿真根据哪个进行?
- Ansys Insight: 透射率反射率大于1,或者透射率反射率之和大于1的原因与解决方案–综合贴
- Ansys Insight: 几个简单实用的脚本Script命令:用于结果分析
- Ansys Insight: FDTD 初学者: 平面波和全场散射场tfsf光源有什么区别
- 左旋圆偏振光透过超表面后,获得的右旋圆偏振光能量比入射的左旋圆偏振光能量还要大?
- Ansys Insight: script中的数据类型和数据格式 Dataset
-
3648
-
2512
-
1741
-
1226
-
578
© 2023 Copyright ANSYS, Inc. All rights reserved.