load two models in the Matlab Livelink
Hello; I am new in Comsol and Matlab Livelink. my question is how can I load two models in Matlab Livelink? For example I try to run the following sample code, but it generates error which I am unable...
View ArticleHow to Generate Smooth Molecular Surface with COMSOL
Hello folks, I have COMSOL 4.3a and LiveLink for Matlab with me. And I have constructed a protein subunit of about 1000 atoms based on the coordinate data in the PDB file. I simulated each atom as a...
View ArticleProblem of using femtime() in COMSOL 3.5a
Hello all, I use femtime() in matlab to solve a dynamic FE problem as follow: fem.sol = femtime(fem,'Tlist',tspan); where tspan is an equally distributed time list. tspan = [t0,t1,t2,...tn]. Now, I am...
View ArticleExecute COMSOL Ribbon buttons with VBA
Does anyone know if there is a way to execute COMSOL ribbon buttons (for example, it 'clicks' the mesh button or it clicks plot group and selects the correct plot)? Basically, what I doing is creating...
View ArticleHow to duplicate solution in Matlab
Hi all, I am now using the COMSOL Livelink for Matlab. I create two solutions whose soltags are 'sol1' and 'sol2' respectively. I want to copy the solution from 'sol1' to 'sol2'. Here is what I am...
View Articlerecover matrix
hello everyone I made a resolution a PDE on COMSOL and I would like to to recover the resolution matrix using Matlab. is that possible? thank you for your help
View ArticleConvergence plots
Does anyone know if it is possible to show a convergence plot during a livelink with Matlab? I'm using version 4.4 and matlab R2013a. Thanks
View ArticleSolving memory intensive model
Solving 3D problem with a better mesh has become an issue for my model. I am always getting out of memory errors. I was wondering if It is possible to extract the matrices and solve it with , for...
View ArticleChanging view of matlab function mphplot
Dear all, I want to plot my COMSOL model in a Matlab figure using the mphplot function. However the orientation of the model in the plot is the standard orientation of the Model in COMSOL. Is there any...
View ArticleCreating Geometry in Autocad for COMSOL - 3dface - surface problem
I have a very complex geometry to be analyzed in COMSOL that can best be modeled by Autocad using 3Dfaces. After composing the model in faces I used the converttosurface command in Autocad, this is how...
View ArticleCAD import via Livelink for Inventor: object misalignment
Hi, I'm having a problem using the Livelink for Inventor in COMSOL 4.3.a. I have a CAD design which consists of several parts: - An outer structure - A number of flat electrodes inside this structure....
View Articledomain labels
Hi all, I would like to ask you, how can I get the label information about the domains in my 3D geometry. the mphgeom() function contains only Edgelabels, Facelabels but not domain labels. I need it,...
View ArticleMATLAB FUNCTION
i WAS WORKING ON COMSOL 4.3B and i needed to simulate a permanent magnet and i have induced currents to this magnet. The idea is that the induced currents are co-ordinate dependent so i needed to make...
View ArticleWhat can i do to import from inventor or solid work?
If one installed CAD import module, does it mean that one as installed inventor import module, even when it it checked during installation. If yes, why is it not initializing with my inventor 2010,...
View ArticleExporting Probe Data in Matlab
Hello, I'm new to COMSOL and I'm wondering how I go about exporting the probe data within matlab. I have created a time dependent, acoustic-structure interaction model with a few probes located in...
View ArticleException thrown with Livelink Model - Can anyone help?
I am getting the following exception with my LiveLink model with MATLAB but I can't figure out why. Help would be very much appreciated. ??? Java exception occurred: Exception:...
View ArticlePost-process two different solutions from a Parametric Sweep...
Hello, I am using COMSOL 4.1 and I am facing a conceptually simple problem with no luck. Basically I have a simple 2D Eigenvalue Problem which gives me 20 eigenvalues (and 20 eigenmodes) and a...
View Articleplot geometry including a specified dataset (cutline)
Hey everybody. I use Comsol 4.3a with the Matlab live link. I usually plot my geometry using mphgeom(model,'geom1'). However, now I choose a dataset for the data analysis, for example a 1D cutline. How...
View ArticleUsing Comsol with Live-link for matlab to get a jacobian matrix?
Hey there, I am currently working on a steady state resistivity/MMR problem, and Comsol has been great for a forward solver. I am wanting to do an inversion of data to get a model for the ground, and I...
View ArticleUse LiveLink for Excel with Excel Solver
How can I use the Solver in Excel to fit some parameters of a Comsol model like "Heat conduction in a finite slab" #250 in the Model gallery ? Pressing manually the Update & Compute buttons for...
View Article