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

Take the surface average on the outlet and inlet boundaries

Dear All, I am trying to create a loop in MATLAB to control my COMSOL simulation. I am not good at using the COMSOL operators. Can any one tell me how to take the average of my variables at the...

View Article


COMSOL Mutiphysics and External MATLAB function

Dear All, I am using COMSOL Multiphysics(version 5.2) for solving the models(time dependent) which calls external MATLAB functions. The objective of external MATLAB functions is to resolve ODE and give...

View Article


Problems syncing geometry using livelink for autocad

I am trying to build a simple 3D model in Autocad (for simplicity's sake, assume a cube). However, objects can not be parametrized in 3D, so I am confused as to how I am supposed to access dimensions...

View Article

Automatically import parameters and export simulation data

Hi! I'd like to do the following. I would like my Comsol model to automatically import simulation parameters (e.g. geometrical dimensions, charge density on a surface, etc.), run an auxiliary sweep and...

View Article

Possibility to import a 2D CAD file to COMSOL?

Hello, I am running the last version of COMSOL (4.3b). I tried to import a 2D CAD file to COMSOL but failed to do so! Generally, is it possible to import a 2D CAD file to COMSOL or only 3D files? If...

View Article


Parallel computing MatLab Comsol

Hi, I am using Comsol 4.3 with Livelink for Matlab. I run an optimization code in Matlab where i call Comsol to perform frequency response simulations. Now i would like to start two parallel frequency...

View Article

Singularity error

Hi, when I use Matlab to run the COMSOL simulation, I am getting the error : Repeated error test failures. May have reached a singularity. But when I directly use COMSOL to run the simulation, it works...

View Article

Hi

I modeled a geometry in matlab, can any one tell me how to import that geometry to comsol

View Article


using stored solution in a matlab loop

Dear all I am simulating a multiphysics problem which combines electric current with heat transfer, for multiple pulses . I am trying to use a stored solution as an initial value for the proceeding...

View Article


Calling a Matlab function from within Comsol

I would like to call a Matlab function from within Comsol, and run across the error: Failed to load library. - Error: dlopen(/Applications/COMSOL41/lib/maci64/flmatlab.dylib, 5): Library not loaded:...

View Article

COMSOL cannot load MATLAB (on Ubuntu 12.04 and Debian 7.7)

Dear all, I recently experienced a serious problem when trying to use MATLAB functions in COMSOL on Linux computers, where COMSOL needs to call a MATLAB command line. I use COMSOL 4.4 and MATLAB...

View Article

MATLAB parfor and Comsol server

Hi, I want to speed up my computations using the parfor loop in MATLAB (from Parallel Computing Toolbox). I run this on a Linux machine. My code so far: system('killall -9 comsollauncher java'); % kill...

View Article

MATLAB Parallel Toolbox parfor: using mphstart() more than once

Hi, my problem is that a MATLAB instance refuses to use mphstart() more than once in its lifetime. I need to reconnect because I want to use the MATLAB Parallel Computing Toolbox with parfor to run...

View Article


Domain number Assignment

Dear All, I wrote a code for my comsol multiphysics problem using comsol livelink matlab. The code is working and producing desired geometry but there is problem regarding domain number as comsol...

View Article

How to extract many coordinates in geometry?

Hi, I'm trying to extract the coordinates of several points and more importantly, I need to assign their coordinates as a variable. Let's simplify it. There is a random function (has a value between 0...

View Article


Comsol with matlab error on HPC cluster

Dear All, I run my comsol models with matlab on HPC cluster which have CentOS Linux installed on it. I use the following command for starting Comsol server on HPC comsol mphserver & This command...

View Article

Data from a cut line with Livelink Matlab

Hello, I'm studing an optical waveguide in Comsol. I have defined a cut line 2D to observe the electric field z-component along the width of the waveguide. Then I have used the livelink matlab command:...

View Article


Cyclic symmetry with LiveLink MATLAB

Dear, all Hi, I'm trying to extract the result from structural frequency response with MATLAB. The model I used is a quarter of PMSM stator, and I applied the cyclic symmetry condition in the solid...

View Article

Increase stiffness by adding more stiffer material in optimization

Please, find the matlab code below. I have a 2D model. The base material (mat1) has the young modulus (E1) of 1 and poisson ratio of 0.3. The compliance is 52.79. In order to reduce the compliance...

View Article

Import a matrix from mpheval operator.

Hi, I'd like to ask a question! I got the matrix (V=mpheval(model,'V')) using the Livelink. and I modified value of some points in V matrix. But when I import to COMSOL, It didn't be reflected. If you...

View Article
Browsing all 2194 articles
Browse latest View live


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