The 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 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 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 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
In COMSOL 5.1, If the batch job is generated from a parametric sweep, a unique name that depends on the parameter names and values is automatically created. in my case, there are too many parameters to...
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 ArticleUse Matlab to realise iterations in one time step
Dear all, I would like to use Matlab to realise iterations in one time step. For example, the Youngs modulus E has a linear relationship with stress S, E=a*S. Before the first iteration, the E=E0, then...
View ArticleForm union with SolidWorks assembly (mix of surface and solids)
Hi all, I am attempting to use SolidWorks geometry within COMSOL. I have a small speaker diaphragm modelled as a surface along with other components modelled as solids which (before I form a union) all...
View ArticleInterpolation & Excel
Hello everyone, I'm trying to define a material property that is a function of two physical quantities. I'm doing that using an interpolation function with the data imported from an Excel spreadsheet....
View Articlesimulating an imported mesh (from matlab)
Hi, I'm trying to simulate a prescribed displacement (one end is fixed and the other one displaced) of a mesh created in matlab (the geometry is from a microCT image). The problem is comsol dons't...
View ArticleComsol 5.0 FEM linear system right hand
Hello, I am trying to extract the FEM matrix equation from a RF problem (stationary solver) using matlab commands, i tried the mphmatrix to get stiffness mass or damping matrices, but i can find the...
View ArticleInputMatrix feature in comsol Java API
Hi all, Can anyone give a help regarding the use of InputMatrix feature. I am trying to have access to the stiffness matrix through Matlab to update the solution, but it looks that the documentation of...
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 Article