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

How to find entities of expelicit selection in the Work plane of a 3D model...

Hi I have created a geometry in the work plane of a 3D geometry (which is obviously in 2D mode at this stage). and i have created explicit selection feature and set the selection object as well. when I...

View Article


Extract state space matrix

I run this command in Matlab but it has error M = mphstate(model,'sol1','out',{'MA' 'MB' 'C' 'D'},... 'input', {'Heat1','Heat2'}, 'output', {'mod1.ppb1','mod1.ppb2','mod1.ppb3'}); Error: Error using...

View Article


how to construct geometry using excel files

hi I have a geometry figure in excel file which contains the coordinates of my geometry how will I convert this to a geometry in COMSOL using excel livelink Rabia

View Article

How can the assembly in Solidworks be edited after being imported into Comsol...

Hi all, I imported an assembly from Solidworks to Comsol using Livelink. I have a few questions as follows: 1. Where can I see and change the x, y, z position of the imported model? I want to add...

View Article

Setting view / camera position for exported plots

I wrote a .m file that creates and solves my model and generates the result plots, and until now I have then opened the model in COMSOL and manually exported the plots that I need. Now am trying to...

View Article


how to optimize the result of comsol with matlab??

Hello everyone! I want to know how to optimize my problem. already i got the result from matlab using the m.file which is from Comsol. Afterthat, I don't know how to solve that... Because I didn't use...

View Article

could anyone send me this file? permanent_magnet.mphbin

i am looking for this file, comsol 4.3/ acdc module/ permanent_magnet.mphbin could anyone send me this? i have the 4.4 version which don't contain permanetn magnet tutorial thanks

View Article

"Java exception" problem during multiple iterations in Livelink for MATLAB

Hi everyone, this forum is great and it helped a lot to grow in COMSOL world. Anyway, now i am trying to calculate/simulate a phase growth process considering the mass transfer through the interfaces,...

View Article


Problem setting up multigrid

Dear all, I'm building a 3D CFD model of a airplane wing. I'm modeling turbulence with the SST approximation. The problem is that when I build a default mesh the results are not accurate enough to got...

View Article


getTableData(fullprecision)

Hi all, I'm using livelink and I've gone through the 'Livelink for Matlab users guide.' I have a table that I created using derived values and I want to collect the numbers in the table, 'tbl1'....

View Article

Import of "Equation Driven Curve"- variables/parameters from SolidWorks to...

Hi COMSOL community I have an equation representing a parabola, which i'm using in a sketch in SolidWorks with the use of "Equation Driven Curve" (Tools -> Sketch Entities -> Equation Driven...

View Article

saving comsol model from matlab livelink

Hi, Until 3.5a, there used to be nice flsave which would save fem structure as comsol's model file. Can somebody tell what is its counterpart in 4.x series? May be I missed something but looking into...

View Article

Saving plot from mphplot() to disk

Hi, I'm having a hard time trying to save a plot which comes from mphplot(). What I'm trying is: figure; mphplot(model,'pg3'); saveas(gcf,'result_plot.tiff'); But it just produces an error 'Warning:...

View Article


Problems with sweep mesh

Hi, I have been trying to sweep mesh a domain (3-D). It will be like a small straight tube of rectangular cross section and having turns at right angles (like a serpentine). I tried to mesh the source...

View Article

how to change material properties of a mesh element in a loop

Hi I am working with livelink to maltab and I have a geometry with three domains assigned with certain material properties. After solving my model for the first iteration, I take the results for each...

View Article


Error when call a Matlab function

Hi, I have created a matlab function, function[r]= vel(w1,w2), to the velocity of reaction in a reacting flow model. The function has two inputs, w1 and w2, the mass fractions of the reagents, which...

View Article

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


Set of Data

Hello, I'm modeling the heat profile of Sugar beet pile, I have data for more than 120 days. I insert the data for each day manually, and that is wasting of time. How can I input this data as excel...

View Article

MATLAB LiveLink

Hi! I am trying to model a smart material called Magnetorheological Elastomers. It can change it's stiffness when a magnetic field is present. To do this, I would like to use a MATLAB function that can...

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
Browsing all 2194 articles
Browse latest View live


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