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.
Integrate extra dimension
Posted 06.03.2017, 07:12 GMT-5 Results & Visualization Version 5.2 8 Replies
Please login with a confirmed email address before reporting spam
I am modelling an LED using comsol and currently facing a problem of integrating an extra dimension variable over the base geometry which is a 2D square. The extra dimension variable is obtained from the Optical Transitions in the Semiconductor Physics. The variable's name is the emitted power per unit volume and energy (1/(m^3*s)) (semi.ot1.dP_dE) from which I would like to calculate the LED emitted power over a boundary of the based geometry.
Currently, I can only obtain the "semi.ot1.dP_dE" for a specific point on the boundary using the following command:
"comp1.atxd2(5e-6, 10e-6, semi.ot1.dP_dE)"
where 5e-6 and 10e-6 are the x and y coordinate.
Anyone can help how to intergrate "semi.ot1.dP_dE" over a boundary?
Many thanks!
Please login with a confirmed email address before reporting spam
Anyone can help how to intergrate "semi.ot1.dP_dE" over a boundary?
Without seeing your model I don't know for sure, but I would create a Results > Derived Values > Surface Integration and use the expression comp1.atxd2(x, y, semi.ot1.dP_dE). If this doesn't work I suggest that you send the model to COMSOL support.
Please login with a confirmed email address before reporting spam
Thank you for your prompt reply. I have tried your suggestion but it was not working. Sorry that the model is too big to attach here and I will try to contact COMSOL support.
Cheers!
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
So, you should be able to perform a surface integral on the base geometry under Derived Values (as suggested by Gunnar) using the expression:
semi.ot1.xdintopall(semi.ot1.dP_dE)
This way, the expression semi.ot1.dP_dE is integrated over both the base geometry and the extra dimension.
Dan
Please login with a confirmed email address before reporting spam
This way, the expression semi.ot1.dP_dE is integrated over both the base geometry and the extra dimension.
Dan
Hi, Dan,
Thank you very much for your help! The problem is solved.
Best regards
Yuanlong
Please login with a confirmed email address before reporting spam
Thank you very much for your help! The problem is solved.
Best regards
Yuanlong
Please login with a confirmed email address before reporting spam
The topic in this discussion is attractive for me. I have a very similar question recently:
I have built a 1D MQW LED model.
And I use the following expressions to generate the spectrum plot:
y-axis: comp1.atxd1(0.107e-6, semi.ot1.dP_dE)
x_axis: hbar_const*comp1.atxd1(0.107e-6, semi.ot1.omega)/e_const
So, I got the spectrum generated by the point: 0.107e-6; and the result matches my expectation.
But now I want to see the spectrum of the whole 1D model instead of just one point. Can you help me with the expressions?
Thanks a lot!
Please login with a confirmed email address before reporting spam
* Go to Results>Parameters and add a new parameter, call it ds with value 0.107e-6
* In your plot, change the expressions to:
y-axis: comp1.atxd1(ds, semi.ot1.dP_dE)
x_axis: hbar_const*comp1.atxd1(ds, semi.ot1.omega)/e_const
Then do Export>Animation>Player and set the Subject to the plot group above.
* Set the Sequence type to Result parameter and for the Parameter choose ds.
* Set the Start and Stop values to be the limits of the geometry. In the COMSOL Application Library example, this is 0.15e-6 to 0.155e-6.
* Click the Play button. This will animate the spectrum as you sweep through the geometry.
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.
Suggested Content
- FORUM Plot Temperature wrt Extra Dimension in Thin Layer of Heat Transfer module
- BLOG How to Implement the Fourier Transformation in COMSOL Multiphysics
- BLOG How to Model the Interface Trapping Effects of a MOSCAP
- FORUM modeling with extra dimension
- FORUM Adding an extra dimension to 1-D battery model
