When i use...
When i use the matlab function feature node in comsol 5.1 desk, the comsol alwarys prompt “Failure loading MATLAB libraries. This model requires that MATLAB is available.”
View ArticleHow to extract the stiffness Matrix for a certain element?
Dear all, Hi. I need to extract the stiffness Matrix for a certain element or node before assembling. The "mphmatrix" command gives me the results for whole geometry (After assembly). I wonder if there...
View ArticleHow should I create an arbitrary 3D geometry object with contour coordinates
Since there is no more function like ' loft ' in 3.5a, how can I create a 3D geometry object with only the contour coordinates with only 4.2 functions? Can I convert a set of parallel polygons to a 3D...
View ArticleBloch boundary condition in 2D phononic crystal
Hi everyone, I am trying to model a 2D phononic crystal in COMSOL. It is essentially a square with a hole at its center. Does anyone know how to set the Bloch boundary condition for the elastic PDE?...
View ArticleHow to remove the history record in the m-file exported from COMSOL
Hello all, I hope this is not a silly question. With "Save as Model M-file", COMSOL can generate a m-file that can be used in MATLAB with LiveLink. But I realized that the generated m-file contains...
View ArticleLivelink for Matlab and COMSOL v4.2a Meshing and Solution not synchronized...
I have not found any discussion on this topic yet and I am having difficulty finding anyone in COMSOL support in North America that can help with this problem today. Basically, I simply want to take a...
View ArticleImplementation of constitutive relations from MATLAB
Hey all I have a material model that links the material stresses to the material strains coded in a MATLAB function that I would like to link to a COMSOL model. As I see it there are two ways - but I...
View ArticleAssembling different imported solidworks files into COMSOL
Hi, Wondering how we are able to assemble different imported parts in COMSOL in a fashionable manner? Thanks
View ArticleLive connection with matlab
Hi every one i am working with live connection comsol with matlab . when i want to make optimization by using optimization tool for 7 variable on my model . after some time of working it gives me this...
View Articlehow to save the comsol model detail in matlab and recall that model in other...
I know hoe to set previous comsol result as my current initial value in COMSOL. when I transfer to matlab file. I am wandering is there any way to save the comsol model as a structure or something else...
View ArticleQuestion about nodes arrangement in model solutions with "mpheval" function...
Dear colleagues, I need your adviсe! I work with Solid Mechanics and Pressure acoustic modules. I use LiveLink with Matlab to extract solution data from the Comsol model (v.5.2). I defined a parametric...
View ArticleErrors in COMSOL with Matlab
When I launch COMSOL with MATLAB I get the following errors. Have any of you had this problem or know what is wrong? 2016-02-12 00:34:55.590:INFO:oejs.Server:jetty-8.y.z-SNAPSHOT 2016-02-12...
View Articlewhich version is compatible with matlab R2011b?
please help me with this problem. I want to know which version is compatible with matlab R2011b. COMSOL Multiphysics 5.0 is employed, but it not OK.
View ArticleJava errors in Comsol 43 with matlab 2011b
When I use matlab2011b to run M-file generated by comsol43 in Linux system, the following massages appear:"Java exception occurred: java.lang.RuntimeException: Could not start the server. at...
View ArticleLive Link for Matlab Help!
Hello everyone , I have a problem with a live link for matlab probably due to my lack of experience with the software and would like your advice : I made a time-dependent model and I want to analyze...
View ArticleUsing data from Matlab
Dear all Comsol users, To make the question simple, a heat transfer model is set up in 2-D, and every step, I want to calculate the heat source term in Matlab (which will be a 2-D matrix), then send...
View ArticleHow to convert a fig file in matlab to comsol?
Recently, I build a 2D image through a matlab function file. Now I want to analysis it in comsol, but I failed to import it. I don't want to convert it to a dxf file. I have read a lot words about the...
View ArticleParameter optimization and access to Matlab's global variables
Hello everyone, I'm simulating a mold where there is heat flux on different circles (cf picture). I would like to have an homogenous temperature on the surface of the mold. That is to say, minimize the...
View ArticleSingularity 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 ArticleWhen i use...
When i use the matlab function feature node in comsol 5.1 desk, the comsol alwarys prompt “Failure loading MATLAB libraries. This model requires that MATLAB is available.”
View Article