Use 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 ArticleImporting electric potential distribution for piezoelectric simulation
Hi, I'm doing a simple piezoelectric simulation of a semiconductor device. However, rather than solve for the electric potential in COMSOL, I have used another software to compute the electric...
View ArticleExporting COMSOL data into MATLAB
Hi there, I am new to COMSOL and currently running a very basic simulation adding strain to a 2D custom geometry. I am just wondering how i would go about exporting the post processed stress map (the...
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 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 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 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 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 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 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 Article