Quantcast
Channel: Latest Discussions - COMSOL Forums
Browsing all 387 articles
Browse latest View live
↧

Auto Creation Of M-files

Hi, Whenever I save a COMSOL model a MATLAB M-file is automatically created in the same directory with the same name but with "_history" added to the end. Does anyone know how to stop this or is it...

View Article


How to extract the stiffness Matrix for a certain element?

Dear all, Hi. I need to extract the stiffness Matrix for a certain element or node before assembling. The "mphmatrix" command gives me the results for whole geometry (After assembly). I wonder if there...

View Article


How to read m.files in comsol 4.2

Hi, How to read m.files in comsol 4.2 that generated previously from comsol 4.2? Any idea, everyone?

View Article

How to export data in excel format?

Hey Ivar, I want to export my figure into excel format. and replot it in matlab. Is it possible ? Thank you very much!! Baofeng

View Article

Solving Self - Consistent Schrodinger and Poisson with MATLAB and COMSOL...

I'm a COMSOL 4.2a user. I need to solve 2D self-consistent Schrodinger and Poisson equation. Thus, I need to feed the potential values and the wavefunctions to the Schrodinger and Poisson equations as...

View Article


Update Interpolation function in each simulation step

Hello Everyone, I am trying to set up a time-dependent simulation in COMSOL v4.3a. It's a structural mechanics model and the material properties are defined by an interpolation function which is read...

View Article

java.lang.ClassCastException when using LiveLink from MATLAB

Hi there, I've been successfully using COMSOL and LiveLink for a few months now for generating and simulating electromagnetic models. However, yesterday I ran the same MATLAB code as I always do, but...

View Article

How export data using MATLAB Link?

Hi All I need information, how I can export data by vertex using MATLAB? Before solve my problem, first I obtain information about mesh: nElem = model.mesh('mesh1').getNumElem; nVertex =...

View Article


Updating COMSOL variables at each time step

Hi all, I am trying to solve a model which requires updating a variable (something like a boundary condition) based on the solution at each TIME STEP. I am planning to use MATLAB LiveLink on order to...

View Article


Simulation in Finned Tubes

How to do heat transfer and flow simulation in Finned Tubes I tried a lot ; but i could not able to give correct boundary conditions. Please help me to solve this problem.

View Article

Comsol "DATA" export

Recently I am working on a project modeling the soft tissue (blood veins) for evaluating the performance of targeted medicine. The model that I have developed is in Comsol and I am using Matlab...

View Article

Run Comsol with Matlab Remotely

Hi, I'm trying to run a comsol with matlab script remotely using linux. I can get the simulation to run while I'm connected via ssh, but when I close my session or lose connectivity, I get a broken...

View Article

problem with enabling graphics in matlab

Hi, I am trying to activate plot option from matlab but something is not working right. Here are the steps that I follow: - In a terminal window I run "comsolserver -graphics" - Open matlab and type...

View Article


inventor tube assembly to comsol

Hello everybody.I made a tube and pipe design in Autodesk inventor that contains 2 manifolds and several pipes(want to run a laminar flow simulation). When i transfer the file to comsol via livelink...

View Article

Exporting a geometry file (parasolid_binary) using MATLAB Livelink

Hello, I would like to export a geometry from COMSOL in parasolid_binary using MATLAB live link ? You can easily do this from COMSOL desktop, however, I could not do it using the Live link. Please,...

View Article


Extracting Global Stiffness and Load vecor Matrices with LiveLink for MATLAB

Hi Suresh I didn't get any feedback from support so I'm sending this question for you. Seems that you have experience with Livelink for MATLAB. I have a question regarding the stiffness Matrix...

View Article

outputs from mphgetu and mphmatrix

Hello, I'm looking at a time-dependent 1D 'Coefficient Form PDE' problem. I mesh the line with 4 element (5 nodes). So I have 5 degrees of freedom, the relevant system matrices are also 5x5. Also to...

View Article


Add air box to a complex geometry via LiveLink for SolidWorks

Hi folks, According to LiveLink for SolidWorks Users Guide, the geometry sequence can only contain the LiveLink for SolidWorks, however, one needs to add an additional air box for some physics...

View Article

Accessing two parametric sweeps via MATLAB

I am changing the geometry of my problem (7 times), and for every new geometry I am running frequency domain sweep and also changing the coil current (all combinations). From the solution within...

View Article

livelink pgtag for existing plots

Hi, I want to export my plots from comsol to matlab, to tweak and export them as eps. I am using comsol 4.4. The plots are already made in the comsol model, and I have loaded the model up in matlab....

View Article
Browsing all 387 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>