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.

Syntax error and units

Please login with a confirmed email address before reporting spam

Expression showing Syntax Error and the unit not taken in the Unit section during the simulation of 1D solar cell using version 6.0

4pi/(h_constc_const)* integrate(kref(lm)F(lm)exp(- 4pikref(lm)*x/lm),lm,250[nm], 1300[nm])


1 Reply Last Post 2023年2月9日 GMT-5 10:01
Magnus Ringh COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 2 years ago 2023年2月9日 GMT-5 10:01

A correct expression is the following:

4*pi/(h_const*c_const)*integrate(kref(lm)*F(lm)*exp(-4*pi*kref(lm)*x/lm),lm,250[nm],1300[nm])

You seem to miss multiplication signs.

Best regards,

Magnus

A correct expression is the following: `4*pi/(h_const*c_const)*integrate(kref(lm)*F(lm)*exp(-4*pi*kref(lm)*x/lm),lm,250[nm],1300[nm])` You seem to miss multiplication signs. Best regards, Magnus

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.