I am trying to create a mesh of a nanorod in water. I am intending for the nanorod to be a cylinder with two hemispherical endcaps inside a larger cylinder of water inside a larger cylinder of PML. However, when I run my script, I get an error. I have determined that the problem is when I try to add the endcaps of the nanorod to its main cylindrical body. Specifically, I get the error
File “”, line 2
SyntaxError: (unicode error) ‘unicodeescape’ codec can’t decode bytes in position 1-2: malformed \N character escape
at which point, Netgen will hang permanently. I would really appreciate it if you could help me figure out why I am getting this error.