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.
Quick question using MATLAB livelink
Posted Apr 11, 2011, 7:56 a.m. EDT Interfacing Version 4.1 1 Reply
Please login with a confirmed email address before reporting spam
Hi,
I am using COMSOL 4.1 with MATLAB to model an inductor. I am interested in extracting the inductance matrix and capacitance matrix. I have successfully implemented the algorithm to do so.
However, I am having the following trouble:
The matlab-scripts I wrote contains a loop in order to calculate the capactiance-matrix or inductance-matrix, respectively. In every iteration terminal-conditions of the model are altered and the Comsol-model is invoked.
The problem, is that Comsol is keeping the data (or results) for every run.
For example, after the 5th run, Comsol saved 5 times the amount of data gathered by a single run. So, after a certain amount of runs the physical memory of the computer is exhausted.
How can I delete the results from a preceding simulation-run to prevent from gathering to much data?
Any help is greatly appreciated.
I am using COMSOL 4.1 with MATLAB to model an inductor. I am interested in extracting the inductance matrix and capacitance matrix. I have successfully implemented the algorithm to do so.
However, I am having the following trouble:
The matlab-scripts I wrote contains a loop in order to calculate the capactiance-matrix or inductance-matrix, respectively. In every iteration terminal-conditions of the model are altered and the Comsol-model is invoked.
The problem, is that Comsol is keeping the data (or results) for every run.
For example, after the 5th run, Comsol saved 5 times the amount of data gathered by a single run. So, after a certain amount of runs the physical memory of the computer is exhausted.
How can I delete the results from a preceding simulation-run to prevent from gathering to much data?
Any help is greatly appreciated.
1 Reply Last Post Apr 11, 2011, 7:59 a.m. EDT