How do i find the centre of mass in a circular shape on COMSOL?
Hi, I have a circle of radius 40mm extruded to a height of 4mm and divided into 8 equal parts or domains. 1. How do I retrieve the (centre of mass) for this shape on COMSOL? 2. How do i know the x, y...
View ArticleLivelink Matlab command
Hello All, Quick question: Is there anyway to detect a flag value to see when the a solution converges or diverges during a Matlab script execution? What I want to do is to run a series of mph files,...
View Articleparallel computing
Hi , every one because the simulation domain is huge, comsol give " out of memory" and I need to run simulation with parallel computing.( degree of freedom above 5million) is it possible to run cluster...
View ArticleError in mphplot
Dear all, I recently switched to COMSOL 5.1 on our Debian system, but when using it with MATLAB, I get a quite odd error. Basically everything seems to work well, but when I try to plot some result...
View ArticleHow do you read centre of mass variables from mass properties?
Hi. I have got a model with domains and i have just included the mass properties function in a bid to finding the center of mass variables. Quite unfortunately i'm new to COMSOL and have no idea where...
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 ArticleDetermining the total Mechanical Loss
I need to be able to extract from my model the total mechanical loss from all sources, including the internal friction, the thermoelastic loss, radiative cooling, etc, as a function of frequency. I am...
View Article[Q] a functional MATLAB file based on COMSOL parametric model
Hi I’m new to COMSOL and for now using COMSOL 4.2 with MATLAB 2010b, trying to build a CFD model of a PEM fuel cell in COMSOL and optimize it’s channel parameters using MATLAB. As you know, to use...
View ArticleInterpolation function in matlab
Hi! I am working on a problem, where a boundary condition needs to be described by an interpolation function. Suppose in the system, I need to set the boundary potential 'V0' to be f1(x), where f1(x)...
View ArticleGeometry construction
Hi! I'm trying to solve a geometry problem for my model using Matlab Livelink Comsol. There is a "loop" using "for" to create multiples lines (BezierPolygon), but the program returns just the last line...
View ArticleMatlab Link plot result with maximun parameter value
Hello, I am currently working with the LiveLink with Matlab module. I have a model with several studies and therefore several data sets. Each study use a parametric resolution, and sometimes with...
View Articlewithsol in PDE throws error
In the urgent need of solving the following weak form PDE for \lambda^k \sum_{k=1}^K \int (w \nabla . \nu^k) \lambda^k = b where w is the test function and \nu^k are the K vectors resulting from a...
View Articlelivelink to solidworks
Hello, Whenever I try to go to Geometry>Livelink for solidworks>synchronise it displays the message cannot connect as solidworks is not running, eventhough my solidworks is on and desired file is...
View Articlempheval command
Dear all, I have got some questions regarding the mpheval command, which are not very clear in the documentation. There is a model file, that I export to matlab, that contains 2 studies, with a...
View ArticleExporting Load functions applied in COMSOL to MATLAB
I want to export the edge load function data I applied in SOLID MECHANICS physics to MATLAB. I found the name as "solid.FperLengthy". When I try to extract data with help of...
View ArticleCan't integrate matlab with comsol 4.3b
Hi, I have just started using comsol, trying to integrate matlab from options>preference>live-link product but getting the following message "cannot run the program "matlab path": CreatProcess...
View Articleextract the eigenvalue from Mode analysis via Matlab code
Hi, I know in version 3.5, use "fem.sol.lambda" to extract the eigenvalues. But I suffered a problem in version 5.0. How to extract the effective mode index or eigenvalues in version 5.0 with Matlab...
View ArticleHelp in Downloading a Comsol model(tutorial model)
Could anyone help me in downloading the file " evaporative_cooling_geom_sequence.mph. " I am facing some issue regarding download. Please download and send to my email id: nssebin@gmail.com. ANY HELP...
View ArticleMagnetic Field of a Multi Layer solenoid
Hello Everyone, I have no experience in using COMSOl. My professor wants me to run an example project in this software and I have a few specific questions. The problem statement is: I have a multi...
View Articlestate space export
Hi, I'm trying to export a state space model for the microresistor beam example. Can anyone tell me how to export a state space model of the displacement as a function of temperature? A tutorial in 4.1...
View Article