Quantcast
Channel: Latest Discussions - COMSOL Forums
Browsing all 2194 articles
Browse latest View live
↧

Parallel 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 Article


using stored solution in a matlab loop

Dear all I am simulating a multiphysics problem which combines electric current with heat transfer, for multiple pulses . I am trying to use a stored solution as an initial value for the proceeding...

View Article


Comsol with Matlab livelink using several matlab-workers

Hi, I'm working on a project that involves several simulations of electrostatic distribution of potential in a given 3D-geometry. The model has been evolving during the last years and is running...

View Article

comsol Failed to LiveLink for PTC Creo Parametric

Hi All, I have installed LiveLink for PTC Creo Parametric. On the Comsol model builder right click and LiveLink for PTC Creo Parametric. As i click on synchronize, an error report was appear:...

View Article

Exporting matrices using Comsol Livelink to matlab

Hi, I am working with a wave propagation problem in weak form( as given in the attached file). I have implemented the weak form in COMSOL and I solved the problem. That is perfectly fine. I want to...

View Article


Restore model

Hi My computer shut down itself and I had not saved changes to my model. Could anybody guide me how can I restore my unsaved model? Appreciate the help Thank you Best regards

View Article

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 Article

Saving geometry from within Matlab

Hi There Does anyone know if it is possible to save just the finalized geometry (.mphbin) from within Matlab? Thanks!

View Article


mphplot(model, 'pg1') command does not work

Hi, I am very new user of COMSOL. I am using COMSOL 51. and COMSOL 5.1 with Matlab. I have a comsol model in comsol GUI. It has a 2D plot with a tag <pg1>. I want to see the graph in matlab. At...

View Article


Power Management on Real-Time Solution for Heat Transfer Model

Hi, I am building a bioheat transfer model. Generally speaking, I want to control the temperature change in human tissue by varying the power dissipation on microelectronics. I have already set the...

View Article

Displacing and rotating COMSOL model after importing

Hello Everyone, I have imported model to the COMSOL via Livelink for Creo Parametric, but the coordinates of the model in COMSOL have been chosen arbitrary. In the picture (refer to the attachment) you...

View Article

Syntax Error

Hello, I am working on a Piezoresistivity, Boundary currents module and a time dependent study. I intend to apply a dynamic pressure load on a circular sensor. I have imported the goemetry from Creo...

View Article

exporting mesh infos and simulating results using COMSOL with MATLAB functions

Dear all, I was thinking about using COMSOL for mesh generation and results validation for which I used functions in 'COMSOL with MATLAB'. They are 'mphmeshstats' and 'mpheval', to be more specific. I...

View Article


Problems Loading Pre-Stress/Perturbation Model into Matlab

I have created a model with 'Stationary' and 'Frequency-Domain, Perturbation' steps to create a 'pre-stressed' solid mechanics analysis. The model results seem reasonable, and I would like to load the...

View Article

Evaluate parameter value in MATLAB

Hi, If I have a parameter, e.g.:>> model.param.set('outer_z', '((volume*formfactor^2)/(2*pi))^(1/3)'); How can I in the easiest way evaluate the value of this parameter (like the 'Value'-column...

View Article


MATLAB parfor and Comsol server

Hi, I want to speed up my computations using the parfor loop in MATLAB (from Parallel Computing Toolbox). I run this on a Linux machine. My code so far: system('killall -9 comsollauncher java'); % kill...

View Article

Defining Newmann's boundary conditions in COMSOL

Dear experts, I am new in COMSOL, and having a lot of trouble getting used to the pre-defined form of the equations. In addition, since I can't find any good introductory tutorials (1D for example...)...

View Article


How to get the stiffness matrix without computing the whole solution?

Hey, I am a student major in geo-engineering and recently I am stuck with a Livelink for Matlab problem. As for a subsurface seepage flow problem, the default solver of Comsol seems very hard to...

View Article

Import from Solidworks to compact notation API

Hi, I'm new at Comsol. I would like to know if it is possible to import a solidwork sketch to compact notation of Comsol. I pretend to build a matlab program that changes some parameters of a piece...

View Article

Parallel computing MatLab Comsol [warning -Identifier: root is not serializable]

Dear All, I am running COMSOL servers in parallel using parallel computation toolbox (Matlab) to solve optimization problem. For each time when the model gets loaded using parfor i get the below...

View Article
Browsing all 2194 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>