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

what is wrong with the ALE

(all are in the .doc attachment. Thanks) Hi,everyone, I ‘m building a simple model based on the “heat transfer” module and the “ALE” module. The geometry is a simple rectangle. In the heat transfer...

View Article


Simulation of leakage flux from transformer

Hello. I've tried to simulate a quantity of leakage flux from transformer by using COMSOL 4.3a. To do this, I made a simple transformer model with LiveLink for AutoCAD.(I want to attach mph file, but...

View Article


Is the Comsol Model Class a Handle Class in Matlab? Can/should I pass it as...

Hey there, I'm new to Comsol and I'm developing my first Matlab application using LiveLink. As I understand the object oriented concept in Matlab, there are two types of classes. Value Classes and...

View Article

Communication between Comsol and Matlab

Hello Forum, I encounter a problem when I try to use a Matlab function within Comsol. I can plot the function in Comsol. But when I try to run the study, I receive the error attached: "Failure loading...

View Article

While Loops and Converge Criteria for pseudo steady state model

Hello, I am attempting to create a series of simulations whose aim it is to examine the influence of my model's physics on the models geometry. What I have is a vascular geometry , which has a certain...

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

comsol with matlab

Hi, I encountered a problem while using comsol. when I open the icon comsol with matlab, I got "??? Undefined variable "com" or class "com.comsol.model.util.ModelUtil.connect"." Any ideas on what is...

View Article

set path of the external matlab function

Hello all, I am trying to run a Matlab script of my model which in turn uses an external Matlab function. When I run the model from matlab, comsol opens a new Matlab process and tries to call the...

View Article


Solidworks model meshing issue

I created geometry of a saddle coil pair in Solidworks and then I imported it to COMSOL using the geometry import option. When I build meshes, it gives error of meshing around edges and corners. COMSOL...

View Article


Heat Transfer

Actually, I need to give boundary condition to one of the part of my system. At that part, I will use cryocooler of capacity 1 W at 4.2 K, how can I give this boundary condition to particular part. My...

View Article

Assign number of processors to a Comsol server

Hi, the option -np sets the maximum number of processors that Comsol is allowed to use. When Comsol is started in server mode this option seems to be ignored. For example Comsol server is started...

View Article

[SOLVED] "Solution not initialized" when using Livelink for Matlab

(Documenting for others' possible benefit.) This error happened: ============================================================ Error using com.comsol.model.impl.SolverSequenceImpl/getPVals Java...

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


comsol default solver parameters

Hello all, I am generating a matlab-script based comsol model and want to be able to run it from within Matlab. I am simulating a time-dependent study of a vibration problem. From my understanding of...

View Article

List expressions and predefined quantities in Maltab or Java

Hello everyone, I'm looking for a way to find the "expressions and predefined quantities" a model offers within matlab or java. Via COMSOL-GUI, this is simply possible by clicking one of the two...

View Article


Problem "To extract COMSOL data "

Hi I try to follow all the steps that is mentioned in the LIVELINK FOR MATLAB USER GUIDE"Start to load the model busbar from the COMSOL model library, enter the command: model = mphload('busbar'); To...

View Article

Livelink for Matlab

Hi, I would like to create a simple model using API in Matlab. When I type the command "shell.feature.create('fc1', 'FixedConstraint') ", errors "Unkonwn feature ID#FixedConstraint" exsit. I have...

View Article


Evaluate parameter value in MATLAB

Hi, If I have a parameter, e.g.:>> model.param.set('outer_z', '((volume*formfactor^2)/(2*pi))^(1/3)'); How can I in the easiest way evaluate the value of this parameter (like the 'Value'-column...

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

COMSOL 4.2a with MATLAB (COMSOL 3.5a compatibility) error

Hi, I'm trying to use COMSOL 4.2a with MATLAB (COMSOL 3.5a compatibility) and I obtained the following error: Undefined variable "com" or class "com.femlab.jni.FlNativeUtil.ensureLibIsLoaded". Error in...

View Article
Browsing all 2194 articles
Browse latest View live


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