script for exporting deformed geom from livlink matlab ?
Hi all, In GUI, I could remesh the deformed configuration from the results dataset, and from there i could export to a new geometry (xx.mphbin). But how can i do the same from matlab livelink ? I...
View ArticleAdding noise with matlab and exporting data to comsol
Hi, I'm using comsol to the optimization of a paramater (D) from some data provided by me, then I add noise to the data with matlab and at the end I estimate the parameter D again to compare. That...
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 ArticleCOMSOL with MATLAB, Domain number assignment incorrect
Hi all, I am working on a permanent magnet or Halbach array simulation. I created a 3D model in COMSOL and saved it as MATLAB file. The magnets are rectangular blocks and now I wanted to include...
View ArticleSolver building a mesh after making one manually
Hi. I have a task of calculating the HT in a minichannel fluid domainmodel that involves a length of a few hunderd's of mm but the cross section of 1mm x 1mm wih the solid geometry thickness around it...
View ArticleLiveLink doesn't work
Hi, I'm a comsol beginner and wanted to try Livelink with Creo but in Comsol i always get the Error that comsol can't connect to creo and i should start creo. The problem is creo is already started....
View ArticleParallel computing for COMSOL with MATLAB
I definited a function by COMSOL .m file , whose varibles are geometrical parameters of model. Then, geometrical parameters are optimized by a genetic algorithm written by matlab. There are big...
View ArticleParallel computing MatLab Comsol
Hi, I am using Comsol 4.3 with Livelink for Matlab. I run an optimization code in Matlab where i call Comsol to perform frequency response simulations. Now i would like to start two parallel frequency...
View ArticleParallel Computing with MATLAB Livelink and COMSOL
Hi everyone, I am currently trying to use Matlab's Global Optimization tool (specifically using genetic algorithms) with my function. Every time my function evaluates, it loads a model file, modifies...
View ArticleVariable Geometry
Hi COMSOLants, I created a 2D geometry with "Autodesk Inventor Professional 2015" and imported it into "COMSOL Multiphysics 5.1" just by exporting the sketch of Inventor. The obvious disadvantage of...
View ArticleProblem running COMSOL 4.0a with MATLAB
Hi all, having studied the manual, I can't get the LiveLink for MATLAB functioning. I use Windows and MATLAB R2010a. At my university the preferred way is to first start a COMSOL server and then start...
View ArticleCan't open COMSOL 5.2 with R2016a Matlab on MacOS Sierra
Hello, I have installed COMSOL 5.2 with Matlab. My matlab is R2016a version, and I use macOS Sierra. The COMSOL itself runs withot the problem but when I tried to run COMSOL with matlab, I saw this...
View ArticleParameter Sweep on Geometry
Hi everyone, I created a geometry whose dimensions are related to a few parameters which I have been defining under "Global Definitions > Parameters". Now I would like to change some of these...
View ArticleInverse Heat Conduction to find thermal conductivity
Hello everybody. I'm a Comsol user (basic level) and I want to obtain numerically the thermal conductivity of a material, knowing boundary heat flux and temperature values in several points. I've read...
View ArticleExtracting a table from a Comsol using Matlab livelink
Hello, I am having troubles in accessing a table that is created in comsol model using matlab livelink. When I use this command a = 120; b = 100; d = 100; model = waterDropsInOil(a,b,d); tabl =...
View ArticleTime dependent alternating temperature/thermal insulation boundary conditions
Hi all, I am trying to setup alternating boundary conditions for a certain boundary based on the hours of each day. My model will run for about 2 months, and I would like to set the boundary condition...
View ArticleMATLAB LiveLink
Hey there, I am using LiveLink MATLAB but when running my model, the notice "Undefined function or variable 'mphopen'" is emerged on the command window. However, I have set up the file...
View ArticleSome one can HELP? A COMSOL3.3 model cannot to be used in COMSOL5.2 ?~~
Hello everyone, I 'm using COMSOL5.2 to simulate a project. Now I meet a problem. My mentor is using a old version: COMSOL3.3. I want to use his model in my COMSOL5.2, but it says they are not...
View ArticleCreating Geometry with Loop in COMSOL with MATLAB
Dear COMSOL Team, I am interested in creating a geometry in COMSOL 5.2 which consists of many spheres with their radii varying in unique manner iterated in a loop (example, r(i+1) =r(i)+1). I am trying...
View ArticleErrors when computing the interpolation function
Greetings, COMSOL user. I have experiencing problems when computing a COMSOL + MATLAB code. The error that occurs (with or without MATLAB) is linked to Interpolation function #1 (int1). The error...
View Article