Error to initialize a physics interface created with Physics Builder in...
Hi all, I am trying to compile with LiveLink for Matlab (Matlab version MATLAB_R2012a) a Comsol model (Comsol version COMSOL 4.3.0.151) that uses a physics interface which I created with the Physics...
View ArticleAdd air box to a complex geometry via LiveLink for SolidWorks
Hi folks, According to LiveLink for SolidWorks Users Guide, the geometry sequence can only contain the LiveLink for SolidWorks, however, one needs to add an additional air box for some physics...
View ArticleBlocks vector defined in MATLAB 2014a
Hi all, I want to use MATLAB to drive Comsol Multiphysics to generate Blocks, the program generates the Blocks through circulation. for i = 1:nelx for j = 1:nely if x(i,j) == 0...
View ArticleHow do I get the nodes associated with a boundary.
Hi, I have a model (Solid Mechanics). I have one component in that model. 1. I have defined some constraints on some boundaries. 2. I have defined a boundary load as well. 3. I have a mesh...
View ArticleURGENT -Running COMSOL with MATLAB help needed
Hello, This is in reference to a post : May 3, 2011 8:51am EDT in response to captainmariah Re: Work on COMSOL through MATLAB? 2. You can start a Comsol server manually (from the Comsol Start menu...
View ArticleAccessing individual variables (source term, convection coeffs...) for...
Hi, I am using COMSOL Coefficient of PDE form. I want to implement Gauss Quadrature for Discrete ordinates method (discretization in angular space). The way I am doing it is: Each PDE equation...
View ArticleDefine or change domain number/name
Hello, I´m using Livelink with Matalb to do a simple study. In my code I generate 3 diferent geometrys with a while and when I try to define materials it gives an error because the domain number are...
View ArticleThe DAE is structurally inconsistent error - Comsol with Matlab
Hello guys, I am a beginer in using comsol and matlab. I redid someone's work who are trying to image an iron ball with Magnetic Induction Tomography (MIT) using COMSOL and MATLAB. I made a circular...
View ArticleLaser heating process with flexible intensity distribution
Hello COMSOL Community, I want to simulate a Laser Process (heating of a metal sheet) using an arbitrary intensity distribution. The models in the database or the ones discussed in the forum do either...
View ArticleHow to use "mphinterp" to extract information from a 2-D axisymmetric...
Hello all, I have a question on mphinterp function in MATLAB livelink for COMSOL. I want to extract the electric field intensity (ewfd.normE) in a specified domain (surface) of a 2-D axisymmetric...
View Articlecomsol connection with matlab
Hi i have geometric as attached , i measure the max. electrical field from prob . i save the geometric as m. matlab file . the problem is how can i have the result of max electrical field from matlab...
View Articlecomsolbatch javafile(.java): error in reading a txt file
I met a error when i try to use comsolbatch with javafile(.class), and i really don't know how to solve it. At first i made a .java code file just by a comsol model which can be ran succeefully in...
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 ArticleCopying Geometry Features from 2D to extrude in 3D within Matlab Livelink
Portions of my model are 2D axisymetric and other portions are 3D. I've created 2 model nodes to handle these two geometries, we'll call them 'geom2' for 2D and 'geom3' for 3D. My 3D features are just...
View Articlelive connection comsol with matlab
Hi i have comsol 5.2 version , in my computer i have matlab 2014a and 2015b . i dont know in default the comsol has connection with matlab 2014a but i want to change the connection to 2015b but i don't...
View ArticleExport data of the boundaries from COMSOL to Matlab
Hello everyone I am trying to get data of my model in COMSOL to Matlab using the command mph(model, 'variable_name'). My model is in 1D, and I can export the data that is inside the interval, but I...
View ArticleLivelink for Pro-Engineer error: ... PRO_COMM_MSG_EXE ...
Hi All, I have installed live link for Pro-Engineer 4.0. On the Comsol model builder right click and Livelink for Pro-Engineer. As i click on synchronize, an error report was appear: Failed to connect...
View ArticleLivelink Matlab. Running processed data back to comsol
Hello Comsol community, Is there an straight forward way to send modified meshed data back to comsol after processing it with Matlab? Let me explain. I am reading a certain variable from a domain, from...
View Articlehow to change the Batch sweep output result file name
The batch sweep function in COMSOL 5.1 automatically stores the results for each parameter conbination in an new mph file. The fine name is typically composed of all the paramter names and values such...
View ArticleEquation in matrix form for use for MATLAB Livelink
Dear all, This seems to be a pretty simple question but I am struggling to find any help on the topic! I have recently started using COMSOL with the livelink to write a Model Order Reduction in MATLAB....
View Article