Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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.
Set geometry/boundaries using a variable?
Posted 12 août 2013, 14:57 UTC−4 Geometry Version 4.3b 0 Replies
Please login with a confirmed email address before reporting spam
I am trying to solve the device physics equations for a 1D (eventually 2-3D) solar cell with the PDE solver. However, a solar cell of fixed total thickness and two physical layers typically has four electronic layers, the thicknesses of which depend on the applied voltage.
I thought I could make the voltage a parameter and determine the geometry by setting the electronic layer thicknesses as variables dependent on the voltage. Geometry seemingly is unable to be defined based on a variable (probably for good reason due to meshing changing).
How can I set the geometry of my system based on a variable rather than a parameter? Is there any way to do this natively in COMSOL or do I need to export the model to MATLAB and write a shell around it?
Thank you for any suggestions!
Cris
Hello Cristofer Flowers
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.