Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Piezoelectric cantilever based energy harvester- body load notation query

Please login with a confirmed email address before reporting spam

Hello everyone,

I have desined a 3D multilayered cantilever piezoelectric structure. I have clearly defined the materials and assigned it to its respective domain.

I have to simulate it for vertical body acceleration.

In the existing piezoelectric energy model (this is in 2D) in application library, the body load is given as solid.rho*g_const*acc.

I have done the same for my 3D structure. But I am getting the error showing "undefined variable" "failed to evaluate variable".

Can anyone solve this query??



2 Replies Last Post 6 ott 2021, 09:43 GMT-4
Magnus Ringh COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 3 years ago 6 ott 2021, 07:44 GMT-4

Hi,

You get this error because the Solid Mechanics interface in the model is called Solid Mechanics 2, with the tag solid2. So, changing the expression to -solid2.rho*g_const*acc in the Settings window for the Body Load node makes the simulation run.

Best regards,

Magnus

Hi, You get this error because the Solid Mechanics interface in the model is called **Solid Mechanics 2**, with the tag `solid2`. So, changing the expression to `-solid2.rho*g_const*acc` in the Settings window for the **Body Load** node makes the simulation run. Best regards, Magnus

Please login with a confirmed email address before reporting spam

Posted: 3 years ago 6 ott 2021, 09:43 GMT-4

Hi Magnus,

Thank you very much for the reply.

But now, it showing error as "There are 1 void equations (empty rows in matrix) for the variable comp1.es.term1.Q0_ode. at coordinates: (0,0)" and "return solution is not converged"

I have connected the ground to the lower face of PZT and other terminal at the top face of PZT. And i have included the electric circuit as well.

Thanks.

Hi Magnus, Thank you very much for the reply. But now, it showing error as "There are 1 void equations (empty rows in matrix) for the variable comp1.es.term1.Q0_ode. at coordinates: (0,0)" and "return solution is not converged" I have connected the ground to the lower face of PZT and other terminal at the top face of PZT. And i have included the electric circuit as well. Thanks.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.