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

Comsol+Matlab on Linux cluster: "No user name and password could be obtained"

A problem I had and its solution, for the record. (Just seeing as nobody reported these error messages yet.) Just tried running Comsol+Matlab on a cluster, using what seemed to work before: $ \comsol...

View Article


CAD Import Module Error...

Hi, I have created a CAD model and tried to import it into COMSOL, but I was encountered with this error: ''Feature: Import 1 CAD Import Module functionality is not installed. Note: CAD Import Module...

View Article


Variable boundary conditions

Hi all, I'm using the API to run my COMSOL model multiple times in a loop in MATLAB with different initial and boundary conditions. I was just wondering if it would be possible to set the initial...

View Article

1GB MPH file resulting from importing a 4KB Image via MPHIMAGE2GEOM... Why?!

We are trying to import the attached small image into COMSOL using the mphimage2geom command in Matlab Livelink (relevant piece of code is below for your reference). The resulting mph file is over 1GB...

View Article

Solidworks import via CAD Import Module

Hi Folks, It seems as though the CAD Import module cannot import Solidworks 2016 files, but LiveLink for SolidWorks can... is that a correct understanding? I am just about to have my SolidWorks...

View Article


problem about comsol can't plot an external Matlab function that Nested a...

Hi, everyone: I have a problem about using an external matlab function that it nested another matlab function but comsol can't plot it. this is my function:>> function out = rho_x(T)...

View Article

mphinterp - Read data from model fails: Error in meshextend: GC overhead...

Hello, I have encountered an error which I can not explain myself. I am calculating multiple models one after another with Matlab and read out data at specific coordinates. This is part of my...

View Article

MATLAB Function and Automating M-Script File with Comsol: mphinterp Command

I have used the command syntax: mphinterp(model,'p','coord',coord1a) to extract pressure values at the stated coordinates: coord1a=[x1;y1]. The study is in 2D; but I have been getting an empty matrix...

View Article


simulating an imported mesh (from matlab)

Hi, I'm trying to simulate a prescribed displacement (one end is fixed and the other one displaced) of a mesh created in matlab (the geometry is from a microCT image). The problem is comsol dons't...

View Article


COmsol - Matlab Variable linking.

Hi all, I am Looping simulations over matlab with different sets of values matlab calculates. I am looking for changing the variable values. I have found for Parameter as model.param.set() for changing...

View Article

I want to know whether my license is allowed to set up the comsol operated on...

I do not know whether my license is allowed to set up the comsol operated on a computer cluster

View Article

How to define for comsol to use only one cpu for the solution? Also using the...

When I run Comsol Sometimes I need it to work only with one CPU. Is there any option anywhere to do that or Comsol automatically decides on that? Also for some solutions, I noticed my CPU is at 87% and...

View Article

Same model, different solutions?

Hello, Community, I'm doing phase change simulation with phase change HT module. Currently I have a problem with COMSOL: The same model gives different results in different runs! I use Matlab Livelink...

View Article


Variable modifications between solution iterations

I'm developing a transient model using the Livelink interface. The model first calculates an initial solution for the first time window, then I would like to modify the state variable values due to...

View Article

Extraction at Arbitrary Points and NaN

I have gone through the matlab-comsol livelink manual, and I understand that the NaN output value occurs when the extraction point is outside of the computation domain; but in this case the point is...

View Article


Load vector is always zero vector in linear problems? Hmm...

Attached is a model with one 1D element and 2 Dirichlet-type BCs on both ends of it implemented similarly to Chien Liu's blog post here: www.comsol.com/blogs/implement...k-form-in-comsol-multiphysics/...

View Article

No Matlab Livelink response after loading model to Matlab

Hi there, I have a large Comsol 4.3a model with size almost 50 GB. I would like to run it through MatLab to export all solution data from parametric sweep simulation with almost 1,300 parameter...

View Article


How to continue matlab code if Comsol solver did not converge?

Hi, I am a student in engineer and I have to use comsol for my thesis. To optimize the results of the model I build, I use a genetic algorithm I made in matlab. I use Comsol 4.4 and matlab R2015a....

View Article

LiveLink geometry layout design

Hi, I am using Matlab LiveLink and am trying to create a layout for optical reflectors. My Problem is the following: I am looking at about 2000 reflectors and want them to form a union so I don't have...

View Article

Using deformation results as initial conditions for the next study

Hi all, I have a linear elastic model with a stationary study whereby I apply a boundary load and deform the model domain - this is simple and works fine. Next, I would like to use the deformed results...

View Article
Browsing all 387 articles
Browse latest View live


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