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

Livelink for Pro-Engineer error: ... PRO_COMM_MSG_EXE ...

Hi All, I have installed live link for Pro-Engineer 4.0. On the Comsol model builder right click and Livelink for Pro-Engineer. As i click on synchronize, an error report was appear: Failed to connect...

View Article


COMSOL with MATLAB crashing with trapezoidal integration

HI everyone My LiveLink for Matlab for COMSOL 4.2a, with Matlab R2011b works fine. I have a script in Matlab that works perfectly fine in Matlab alone and Matlab with COMSOL. This script doesn't...

View Article


flload not working

Hi everyone, i'm new to comsol and I have a problem with COMSOL-with-MATLAB. I have the 4.2a release and matlab 2011b. I need to use a .mph file in matlab and my colleague suggested me to use the...

View Article

How to loop simulations in Comsol 4.2a with Matlab

Dear comsolers, here is an example on how to loop simulations. I'll let you decode it. 'Preprocessing' that I did before the loop: 1. Build a model in Comsol (attached). 2. Save As Model M-File...

View Article

Variable exchange between Matlab and Comsol

Hello everyone, I am running Comsol using the LiveLink with Matlab and am trying to do the following: I have a value, dt, which is 0 everywhere in the beginning. (I can either use dt=0, make an...

View Article


open .mat file in comsol

Hi all, I got couple of files which are in version of 3.5a, and the file extensions are .fl and .mat. I can open .fl through comsol, but I don't know how to open .mat in comsol, which can be opened...

View Article

State Space Export

Hi , i have build a simple cantilever beam model using time depented model. after defining the points of forces and parameters, i want to export the model to matlb (State Space Matrices) so i could...

View Article

Bug in matlab livelink, 2D cut line 'genpoints'

Hi just want to give a heads up to anyone experiencing problems with retrieving data from a 2D cut-line in matlab. My objective: To get average air gap magnetic field over one pole span, by using 2D...

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


Eigenvalue calculation of a dipole antenna

Hello, I built a simple dipole antenna to study the feature of the Livelink for MATLAB. The dipole is built as a 2D axisymmetric structure. Both eigenvalue solver and eigenfrequency solver are adopted...

View Article

Geometry import - Assembly Identity Pair Problem

Hi, after importing a cylindric CATIAV5 Part with to bodies it is not possible to build proper Identity Edge Pairs at the edge of the circular top. (two cylindric objects are stacked together). When I...

View Article

Accessing database

Hello, Is it possible to access the database of a study and modify the value of a dependent variable? I am running v4.3b with Matlab. In my Comsol model, I have two studies; general form PDE and...

View Article

dependent variables: sweep over "initial values" and "variables not solved for"?

Hello all- I have 2 Studies in my 2D model: Study 1 solves for various fields within my geometry. These fields are different for each wavelength (lam0). Study 2 takes the lam0-dependent fields from...

View Article


Parallel Computing with MATLAB Livelink and COMSOL

Hi everyone, I am currently trying to use Matlab's Global Optimization tool (specifically using genetic algorithms) with my function. Every time my function evaluates, it loads a model file, modifies...

View Article

boundary condition dependent on dependent variable

Hello everybody, In a coupled heat and mass transfer problem, I would like a pressure BC to get updated at each time step. Let's call this pressure pv. pv depends on the temperature and pressure...

View Article


Access depenant variable in Matlab code

Hi I am trying to develop a diffusion-reaction model using COMSOL - MATLAB interface. My model requires access to dependent variables during the execution so that they can be passed to an external...

View Article

Derivative of a dependent variable

Hello, I am using the values of a dependent variable 'phi' and its derivative in Matlab. For some reason, the numbers of nodes are different between the original dependent variable and its derivative....

View Article


Specifying location of an import CAD in the simulation

Hello Everyone, I've been searching for a while, but I have been unable to find a way to specify where in the design space you would like an import CAD to be located. Any help would be greatly...

View Article

question on livelink with matlab

Hi all, In fact, I am coming up with a wired simulation result. The problem lies in that, if I change the value of "tumor_radius" in the m.file, the location of the left point source, which apparently...

View Article

Changing parameter during time-dependent study with MATLAB (Does not work at...

Hello, I have a script running using MATLAB livelink. It is a time-dependent study and I would like to change the parameters defined at specific time during the study. I have managed to make this work...

View Article
Browsing all 2194 articles
Browse latest View live


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