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

error message when define interpolating function in matlab (other function...

Hello everybody, whenever I define an interpolation function in matlab with model.func.create('int1', 'Interpolation'); I get an error message (see below) - but if I write instead...

View Article


script for exporting deformed geom from livlink matlab ?

Hi all, In GUI, I could remesh the deformed configuration from the results dataset, and from there i could export to a new geometry (xx.mphbin). But how can i do the same from matlab livelink ? I...

View Article


How to incorporate varying temperature with respect to time??

As the ambient temperature varies with time, I wish to add that variation pattern of temperature in COMSOL 4.3a. Is it possible? If possible, how can I add 1. using equations 2. using excel sheet for...

View Article

partial derivative of external MATLAB function

Hi, I am modeling reactive transport in COMSOL and have external MATLAB function to solve the chemical reactions. MATLAB function is defined based on five COMSOL variables as follows; FUNCTION NAME:...

View Article

Adding temperature varying with time

I want to enter temperature for calculating heat flux (temperature varies with time). Is there any method of entering the values? How can I use functions like interpolation, Rectangular etc,,,

View Article


How to determine face numbers (using matlab livelink) associated with an object

Hello again, I am trying to 'automatically' set my boundary conditions for a model generated in matlab with livelink. I know which objects need to have which boundary conditions based on a draw order...

View Article

confusion between comsol 3.5a and 4.3a

hello everyone, It might be a noob question, but could anyone please tell me how this should work in comsol 4.3a. So in comsol 3.5a in order to save the normalized electric field i just did this:...

View Article

Error: Unknown property: funcname

Hi, I have defined a MATLAB function which is called by COMSOL. I get an error message such as: Undefined value found. - Detail: Undefined value found in the equation residual vector. There are 2128...

View Article


COMSOL 4.3 with MATLAB error

I have a problem with COMSOL 4.3 with matlab simulation. The error message is below. ??? Java exception occurred: Exception: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException...

View Article


MATLAB Livelink

Hi I am running a MATLAB script from COMSOL with MATLAB, and it eats up all memory in C drive. so it never returns any result before it crashes. Any idea why this happen? something wrong with the...

View Article

COMSOL 4.3 with MATLAB error 2

I have the code that have for loop. Before the first loop is finished, we met several error messages ??? Error using ==> mphinterp at 317 mphinterp (292): Java exception occurred: Exception:...

View Article

Integration of MATLAB functions with more than one variable

Hi, I want to realize an integration in COMSOL 4.3a using self-written MATLAB functions. If I use a test function with one input and one output argument everything works as expected (plotting function,...

View Article

Store solution and use as a boundary condition for the next run

Hi Does anybody knows how to apply the results obtained at the outlet of first run back to the inlet as an inlet bounrady condition? Actually the objective is to study a flow in a long clyinder by...

View Article


Problem with create new solution in comsol 4.1

Hi I have problem with crating a solution using script in Comsol 4.1. In help I read that Comsol enabled functionality to manipulate solutions (see help model.sol). I want to creates a solution object...

View Article

Error: Unknown property: funcname

Hi, I have defined a MATLAB function which is called by COMSOL. I get an error message such as: Undefined value found. - Detail: Undefined value found in the equation residual vector. There are 2128...

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

Defromed Mesh

Hi everyone. I designed a 2D rectangular object with a deformed mesh composed by a set of points interpolated between them in order to realize lines. How can I "move" such a structure in COMSOL 3.5a (I...

View Article


does a periodic boundary condition for u implement inflow u (boundary1) =...

Dear everyone, I have a question about the implementation of periodic boundary conditions for fluxes, so that the inflow through one boundary equals the outflow through the other. In comsol 3.5, this...

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

parametrize the position of a point in the geometry gives an error message

Dear Comsolfriends, I want to do a parameter study for the size of my geometry, but I get the following error when trying to set the position of a POINT using a parameter defined before in MATLAB...

View Article
Browsing all 2194 articles
Browse latest View live


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