Erik Kostson
Ansys Employee

 

 

Hello

 

There is an error in the line:

*enddo solve is wrong and should be:

 

*enddo
solve

Another things is that the pol. direction is opposite in the 2.15 example while you have the same:

The polarization which is given by these lines and in combination with the material properties given (which are relative the element system):

local,11                        ! Coord. system for lower layer: polar axis +Y 
local,12,,,,,180                ! Coord. system for upper layer: polar axis -Y

type,1 $ esys,11
amesh,1                         ! Generate mesh within the lower layer
type,1 $ esys,12             
amesh,3                         ! Generate mesh within the upper layer

 

Erik