Structural optimisation
Hi, I am using a livelink from Solidworks to Comsol in order to import 3D geometry and quickly define some geometry parameters. I've made a structural analysis with applying torque load to my model and...
View ArticleHow to select Boundaries by coordinates/boxes WHILE building the geometry in...
Hello, I am trying to automate my COMSOL model via the LiveLink interface and I am struggling at the geometry part, where I need to transform all my boundaries into "solid". I tried the following:...
View ArticleLivelink AutoCAD
Hi, i have Comsol 4.2 and Autocad 2010. I tried to connect them via livelink, but comsol shows me all the time: "Failed to connect to AutoCAD. Please make sure AutoCAD is running." I cannot find a way...
View ArticleChanging geometry etc. between study steps
Hi, I've got a rather exotic problem at hand. I want to use the Livelink to Matlab of COMSOL 4.3b to simulate an evolving system. I am using the Diluted Species Package. So I start with a configuration...
View ArticleLivelink AutoCAD
Hi, i have Comsol 4.2 and Autocad 2010. I tried to connect them via livelink, but comsol shows me all the time: "Failed to connect to AutoCAD. Please make sure AutoCAD is running." I cannot find a way...
View ArticleMismatch between calculated answer from Comsol and Matlab
Anyone know why the result generated from Comsol (4.2) different from the result calculated by using Matlab? I am doing 2D mode analysis for photonic crystal fibre, i draw and defined all parameters...
View Articleflload not working
Hi everyone, i'm new to comsol and I have a problem with COMSOL-with-MATLAB. I have the 4.2a release and matlab 2011b. I need to use a .mph file in matlab and my colleague suggested me to use the...
View ArticleHow to loop simulations in Comsol 4.2a with Matlab
Dear comsolers, here is an example on how to loop simulations. I'll let you decode it. 'Preprocessing' that I did before the loop: 1. Build a model in Comsol (attached). 2. Save As Model M-File...
View Articleopen .mat file in comsol
Hi all, I got couple of files which are in version of 3.5a, and the file extensions are .fl and .mat. I can open .fl through comsol, but I don't know how to open .mat in comsol, which can be opened...
View ArticleState Space Export
Hi , i have build a simple cantilever beam model using time depented model. after defining the points of forces and parameters, i want to export the model to matlb (State Space Matrices) so i could...
View Articlejava.lang.ClassCastException when using LiveLink from MATLAB
Hi there, I've been successfully using COMSOL and LiveLink for a few months now for generating and simulating electromagnetic models. However, yesterday I ran the same MATLAB code as I always do, but...
View Articledependent variables: sweep over "initial values" and "variables not solved for"?
Hello all- I have 2 Studies in my 2D model: Study 1 solves for various fields within my geometry. These fields are different for each wavelength (lam0). Study 2 takes the lam0-dependent fields from...
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 Articleboundary condition dependent on dependent variable
Hello everybody, In a coupled heat and mass transfer problem, I would like a pressure BC to get updated at each time step. Let's call this pressure pv. pv depends on the temperature and pressure...
View ArticleAccess depenant variable in Matlab code
Hi I am trying to develop a diffusion-reaction model using COMSOL - MATLAB interface. My model requires access to dependent variables during the execution so that they can be passed to an external...
View ArticleDerivative of a dependent variable
Hello, I am using the values of a dependent variable 'phi' and its derivative in Matlab. For some reason, the numbers of nodes are different between the original dependent variable and its derivative....
View ArticleSpecifying location of an import CAD in the simulation
Hello Everyone, I've been searching for a while, but I have been unable to find a way to specify where in the design space you would like an import CAD to be located. Any help would be greatly...
View Articlequestion on livelink with matlab
Hi all, In fact, I am coming up with a wired simulation result. The problem lies in that, if I change the value of "tumor_radius" in the m.file, the location of the left point source, which apparently...
View ArticleHelp me! Error"Internal error in boundary respecting."
Hi, all I want fix it, It is coordinate (-2,06378, 1,35209, 2,8034) Thank a lot Vinh Nguyen
View ArticleChanging parameter during time-dependent study with MATLAB (Does not work at...
Hello, I have a script running using MATLAB livelink. It is a time-dependent study and I would like to change the parameters defined at specific time during the study. I have managed to make this work...
View Article