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 ArticleUser defined functions from Matlab for COMSOL simulation
Hi, I am trying to model turbulent flow as well as time-dependent species equation in a certain domain, where the species concentrations at some of the boundaries vary with time (NOT known in...
View ArticleDefining and perform matrix/array calculations in COMSOL
Dear all, Does anyone know if it is possible to define matrices/arrays as input parameters and perform simple evaluations such as obtaining the Trace of the matrix, conjugate transpose or matrix...
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 ArticleLINK SOLIDWORKS WITH COMSOLMULTIPHYSICS
HI I HAVE A QUESTION FOR YOU JUST I NEED TO KNOW IF I MUST CHOOSE THE MATERIALS IN SOLIDWORS BEFORE EXPORT THE FILE TO COMSOL OR NOT. I AM A BEGINNER USER IN THIS TWO SIMULATORS THANKS ILYES
View ArticleHow to loop simulations in Comsol 4.2a with Matlab
Hi Xu Gong I have the same problem that you mentioned. Did you solve this problem?
View ArticleEditing imported geometry
Hi, I am working on the structural mechanics module. Can we edit the dimensions of the model/geometry(for example, change the thickness) in COMSOL which was imported from a modelling software? If yes...
View ArticleIntegration with 2 simulations
Dear all, I want to integrate some equation on a simulation volume in Matlab using mphint2. The equation contains variables from datasets of 2 distinct models (the geometries of both are the same). I...
View ArticleCOMSOL livelink and MATLAB 2012b
Dear COMSOL users, I've been trying to use COMSOL liveliness with MATLAB on Yosemite (Mac Os), but I wasn't able to launch the program again first time running. I've tried the followings: 1) To connect...
View ArticleCOMSOL cannot load MATLAB (on Ubuntu 12.04 and Debian 7.7)
Dear all, I recently experienced a serious problem when trying to use MATLAB functions in COMSOL on Linux computers, where COMSOL needs to call a MATLAB command line. I use COMSOL 4.4 and MATLAB...
View Articlehow to remove a domain (using matlab livelink)
Dear All, I need to delete a domain, but the function "delete entities" selects boundaries. How to write Matlab function that used to select domains? Regards.
View ArticleMATLAB functions with strings and MATLAB functions calling COMSOL server
Dear all, while using the COMSOL -MATLAB LiveLink, and in particular Matlab functions within COMSOL, I experienced some problems. I hope someone in this forum, has some experience about it and could...
View Articlenew beginner
Hello I am new to COMSOl and I'd like to perform a certain task .. I'd like to simulate the electric field distribution( in 2D and 3D) for a point- plane electrode configuration applied on a block of...
View ArticleSaving 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 ArticleVariable modifications between solution iterations
I'm developing a transient model using the Livelink interface. The model first calculates an initial solution for the first time window, then I would like to modify the state variable values due to...
View ArticleParameter Estimation in Transport of diluted species
Hello I would like to know if exists the Parameter Estimation for the Transport of Diluted Species and how use it. I have been trying to add experimental data but I can not.
View ArticleInsert graphics in Excel add in
Hi Struggling to insert the graph I want in the excel sheet using excel add in. The only graphic I can extract as a picture is the one defined as plot group 1 in the comsol model. I have a plot group 2...
View ArticleExport data of the boundaries from COMSOL to Matlab
Hello everyone I am trying to get data of my model in COMSOL to Matlab using the command mph(model, 'variable_name'). My model is in 1D, and I can export the data that is inside the interval, but I...
View ArticleAnimation in comsol
Hello everyone I have several gif's from my electrostatic study for different terminal voltages. I want to run all these gif's as animation at some specified frame per second, so that it shows the...
View ArticleDrift Diffusion and Heavy species transport coupling
Hello I am modelling an AC-DBD plasma actuator (model is attached). I have modeled my time-dependent ac circuit and have proceeded to include the drift diffusion model and heavy species transport...
View Article