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 Articlescript 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 ArticleHow 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 Articlepartial 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 ArticleAdding 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 ArticleHow 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 Articleconfusion 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 ArticleCOMSOL 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 ArticleMATLAB 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 ArticleCOMSOL 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 ArticleIntegration 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 ArticleCOMSOL 4.3 with MATLAB error
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 ArticleProblem with Convergence
I was running my HT+NITF model for simulation for 2 days. But, still I was not able to obtain the convergence. The progress of my simulation after 2 days of running is as follows (in the picture...
View ArticleSegregated Solver, Segregated group
What is the meaning of "Segregated Solver" and "Segregated Group"? While computing for the results, I am getting a line like follows... "Segregated Solver 17% Step 3" . And the value beside Step in...
View ArticleLink Matlab to Comsol in MAC - path problem
Dear all, in the bin/comsol.ini file I defined MLROOT=/Applications/MATLAB_R2011b.app The problem is that when clicking the app COMSOL with Matlab a problem appears. checking the setlog I says...
View ArticlePipe Flow Module
Can anybody let me know how to use pipe flow module in COMSOL 4.3a starting from basics with an example??
View ArticleProblems Converting .mph to .m
Hi all, I am working within the fluid-structure interaction module in COMSOL. I would like to vary one of my geometric parameters to optimize a design, and as you all know, COMSOL with MATLAB is the...
View ArticleHow to output results in MATLAB livelink with COMSOL?
A Finite element analysis was done in COMSOL and it was saved as .m file, so that i could run it in a livelink with matlab. The program executed and i got nothing as output i.e. there were no errors...
View ArticleRunning the simulation for the required time span in more than one times (loops)
Dear sir, My requirement is "Running the simulation for the required time span in more than one times (loops)". I actually do not know the initial values of temperatures of the room that I am going to...
View Articlemeshing with Livelink
Dear sir, I have a major problem concerning the livelink. I will explain to you: I have a 2D plasma model of width 0.42m and height 0.144 m, I mesh the model with element size of order 10^-4m but at...
View Article