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

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!


0 Replies Last Post 01.03.2021, 00:13 GMT-5
COMSOL Moderator

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.

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.