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.

Importing data in 3 dimensions to COMSOL

Nicholas Goldring Certified Consultant

Please login with a confirmed email address before reporting spam

Hello everyone, I have a question about importing data into COMSOL which I would then like to impose on my model. I have an excel spreadsheet that contains Width(x) and Length(y) and then x*y amount of data points for Power Density(z). I'm not quite sure how I can important this amount of data in to COMSOL. Do I need to come up with a function for the power density z and then apply this separately to my model? Any help or hints in the right direction are greatly appreciated; thanks in advance. I should include that I have been trying to use the interpolation function without much success.

Nick


1 Reply Last Post 2016年3月29日 GMT-4 02:18
Gunnar Andersson COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 2016年3月29日 GMT-4 02:18
The data in your Excel sheet has a structure fairly close to the grid format that interpolation functions can read. I suggest that you consult documentation and do the necessary restructuring of it in Excel.
The data in your Excel sheet has a structure fairly close to the grid format that interpolation functions can read. I suggest that you consult documentation and do the necessary restructuring of it in Excel.

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.