-
-
May 13, 2025 at 10:07 am
232221001
SubscriberHii,
Â
while I am putting the FDTD charge generation rate, the span of monitor is 1,1,1.0055, but while I am implementing this generation data to calculate photocurrent, the span changes with 0.1,0.2, 1.0055 micrometers in x,y,z direction. I have attached the SS for your reference. Could you tell me the reason behind this?
thank you. -
May 14, 2025 at 10:09 am
Dimitris Polyzos
Ansys EmployeeHello,Â
I am a bit ocnfused what is the sequence of your actions but my guess is that when you run the simulation the first photo should have the values of the second photo. Is that correct?
If my assumption is correct, the only thing that I can think of is to define the span in the "script tab" of the second photo depicted in the following image:
You should add something similar to the script below:
# add script
y_span = %y span%;
x_span = %x span%;
z_span = %z span%;
set('x',0);
set('y',0);
set('z',0);
select("::model::structure", structure)
set('y span',y_span);
set('x span',x_span);
set('z span',z_span);I hope I helped.
Dimitris
-
- You must be logged in to reply to this topic.
-
3139
-
1007
-
923
-
858
-
792
© 2025 Copyright ANSYS, Inc. All rights reserved.