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.
Air Density from CFD simulation
Posted 01.03.2021, 00:13 GMT-5 Fluid & Heat, Computational Fluid Dynamics (CFD), Materials Version 5.5 0 Replies
Please login with a confirmed email address before reporting spam
Hi! I am working on a CFD simulation in Comsol 5.5 and I would like to extract the air density value that Comsol is actually using during the simulation. I chose "Air" from the basic material library of Comsol as the main material and I set it up as default. Does anyone know how to extract o compute the value I am looking for? I have tried but all I have been able to get is the variable name "rho" by using the GUI and by using the line of code "rho = Cmodel.component('comp1').material('mat1').propertyGroup('def').getString('density');" in the LiveLink for Matlab.
Greetings!
Hello Eddy Ibarra
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.