Import autocad into comsol, arcs turn out to be weird
I tried to import the following design to comsol, but after importing, the model turns out to be weird. Not sure what happens during the importing. The attached files are the capture of autocad file...
View ArticleJAVA error while starting COMSOL 5.0 with MATLAB
I installed COMSOL. At the time of installation I did not had MATLAB in my machine hence the shortcut of opening COMSOL with MATLAB was not created. I got access to MATLAB later of this process. I have...
View ArticleUsing Livelink with Matlab to perform a MonteCarlo simulation
Hi, I'm trying to approach the modal analysis of a cable, considering one of the parameters involved as stochastic. In Matlab, a probability density function generates random values for the stochastic...
View ArticleHow to get Eigenfrequency values with Matlab LiveLink
Hello everyone, I've got my model working with Matlab LiveLink and one of my studies computes mechanical eigenfrequency of a MEMS structure. I'm trying to figure out how to get the value of the...
View ArticleMatlab Not connecting to Comsol Server
??? Error using ==> mphstart at 161 A connection to COMSOL could not be established. Please check that a COMSOL server is started prior to calling mphstart I am getting above error even when i call...
View ArticleComsol 4.3 working in command line Win7
I'm using Matlab 2012a and Comsol 4.3 under Win7 (x64) and I'm trying to automate the process of opening, exporting and importing an .mph file to comsol server. It is a more complex processing,...
View ArticleLoad a model .mph using Java
Hi, I want to knnow how to load a model .mph using Java code, My goal is to load a model named "mymodel.mph" build in Comsol 4.2, after that I use the Model object in order to resolve equations, I...
View ArticleEvaluation of line integral via Matlab
Hey! I have a question concerning the evaluation of results via Matlab: I added a line-integral to my model in the Comnsol-desktop which I can see in the exported m-file as:...
View ArticleProblem with Livelink for Matlab
Hi everyone, I have been working with Livelink for Matlab to perform Monte Carlo simulations of a vibrating string. I built the model in COMSOL and defined elastic supports for the cable using the...
View ArticleHow to continue matlab code if Comsol solver did not converge?
Hi, I am a student in engineer and I have to use comsol for my thesis. To optimize the results of the model I build, I use a genetic algorithm I made in matlab. I use Comsol 4.4 and matlab R2015a....
View ArticleEquation in matrix form for use for MATLAB Livelink
Dear all, This seems to be a pretty simple question but I am struggling to find any help on the topic! I have recently started using COMSOL with the livelink to write a Model Order Reduction in MATLAB....
View ArticleDoes COMSOL support user-defined element like Abaqus does?
Hi all, Anyone knows if COMSOL support user-defined element like Abaqus does? I am now using eXtended finite element method(XFEM), in which, the elements cut by the interface are enriched, so there are...
View Articleoutputs from mphgetu and mphmatrix
Hello, I'm looking at a time-dependent 1D 'Coefficient Form PDE' problem. I mesh the line with 4 element (5 nodes). So I have 5 degrees of freedom, the relevant system matrices are also 5x5. Also to...
View Articlempheval() along Boundaries
I am using the Magnetic Fields no Current module and am trying to extract the H field along a boundary between material A and material B using mpheval. What I am finding is that Comsol is returning an...
View ArticleUpdate variable at the end of each timestep
Hello everyone, I was wondering if there is a solution for updating variable at the end of each timestep without using LiveLink for MATLAB. For example, if I want to modify the parameter A, at the end...
View ArticleCOMSOL for an element developed in MATLAB
Hi everyone, What is the best way of using COMSOL as solver and for preprocessor (creating the model and meshing) for an element developed in MATLAB? Is it even possible to have a user-defined element...
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 ArticleLoop a coupled in-out time dependent closed system
Yeah, the subject is a bit cryptic. My system is more or less an external mixed vessel (CSTR) and a tubular reactor (PFR) feeded by the vessel and that discharge in the vessel. For this reason my...
View Article