-
-
March 13, 2023 at 5:33 pm
Miller Testing
SubscriberI was trying to add roughness (LER) to a contact hole:
# add silicon substrate addrect; set("name","substrate"); set("x",0); set("y",0); set("z",0); set("x span",10e-6); set("y span",10e-6); set("z span",1e-6); set("material","Si (Silicon) - Palik"); # add contact hole addcircle; set("name","hole"); set("x",-2e-6); set("y",-2e-6); set("z",0.5e-6); set("radius",0.05e-6); set("material","Air"); # replicate contact holes along x direction selectall; replicatexy(11,1,0.2e-6,0); # delete unwanted holes selectpartial('hole'); delete; # replicate contact holes along y direction selectall; replicatexy(1,11,0,0.2e-6); # delete unwanted holes selectpartial('hole'); delete;
# add roughness to all holes
selectall;
addroughness(
"x",
0,
"y",
0,
"z",
0,
"r",
5e-9,
20e-9,
"seed",
randomint(100000)
);
However I get this error:
- replicatexy is not a valid function or variable name
- line 15: matrices can not exceed 8 dimensions
Can someone help me to solve with this problem?
Thank you.
-
March 16, 2023 at 1:48 pm
Ashish Khemka
Ansys EmployeeHi,
Please see if the following link helps:
Tips for adding surface roughness to structures – Ansys Optics
Regards,
Ashish Khemka
-
March 17, 2023 at 8:35 am
Miller Testing
SubscriberThank you very much, Ashish Khemka.
I can add the roughness based on the link that you shared to me.
But I want to add a beam structure and i want to implement the roughness on the surface area of the block by using script.If its not troubled you. Can you help and show me how to do that?
Thank you very much.
Best regards,
Miller
-
-
- 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.
- 软件打不开
- Ganhemt Project mistake can you help me
- how to export results from SPEOS to Mechanical
- Negative Reflection Problem
- Simple Optical simulation
- How to calculate the cross-polarization efficiency and phase in FDTD
- Ansys SPEOS- Diffusion Coefficient of a fluorescence
- Inverse design of polymer y-branch – modify the example provided
- Purcell Factor on Dielctric Mirror
- Light reflection on a XMP map
-
3862
-
2639
-
1859
-
1254
-
604
© 2023 Copyright ANSYS, Inc. All rights reserved.