give specific values for every mesh point of a boundary as boundary condition
hey everybody, is it possibly to give different values for all points of the mesh on the boundary, respectively? for example, just a vector containing as many values as i have boundary mesh points, or...
View Articlecomputing accurate fluxes with periodic boundary conditions?
Hi everybody, does anyone know if I can compute the fluxes accurately, as described in the user guide on page 308 ff. and file 0973 from the knowdledge database etc, when using periodic boundary...
View Articleerror message when define interpolating function in matlab (other function...
Hello everybody, whenever I define an interpolation function in matlab with model.func.create('int1', 'Interpolation'); I get an error message (see below) - but if I write instead...
View ArticleStore solution and use as a boundary condition for the next run
Hi Does anybody knows how to apply the results obtained at the outlet of first run back to the inlet as an inlet bounrady condition? Actually the objective is to study a flow in a long clyinder by...
View ArticleExtracting sweep and solution properties with matlab livelink
Hello, I have created a parametric sweep in Comsol, sweeping e.g. frequency or a geometry parameter or many of those and for each setting solving the emw 2D mode. Now I am postprocessing with Matlab...
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 Articlemislabeling of periodic boundary conditions with changing geometry
Hi Problem: I have a unit cell of a periodic lattice structure. The unit cell has Floquet periodic boundary conditions [PBC], and I am doing a parametric sweep of the geometry features of the basis...
View ArticleParallel computing MatLab Comsol
Hi, I am using Comsol 4.3 with Livelink for Matlab. I run an optimization code in Matlab where i call Comsol to perform frequency response simulations. Now i would like to start two parallel frequency...
View ArticleMatlab function not working under linux
Hi all, I have trouble using Matlab function within Comsol (standalone), under linux. Half of the times I get the error message Could not Start Matlab () Library cscomsol.so The other half times comsol...
View ArticleDefromed Mesh
Hi everyone. I designed a 2D rectangular object with a deformed mesh composed by a set of points interpolated between them in order to realize lines. How can I "move" such a structure in COMSOL 3.5a (I...
View ArticlePlotting specific eigensolutions
Hi Vincent, You reply about extracting the eigenfrequency solutions was very helpful for me. Thank you. I was wondering if you might be able to help me with a similar problem: Comsol gives me two...
View ArticleDetect error with Matlab and go on calculation
Hi, I am running a parametric sweep of my model with Matlab. Sometimes the model doesn't converge, Comsol stops the parametric sweep and send an error message like "Last time step is not converged" ....
View ArticleError using colormap Too many input arguments.
Hey everybody, Does anyone of you know the following error when working with the Matlab live link: mphplot(model,'pg1','rangenum',1); Error using colormap Too many input arguments. Error in...
View ArticleWear Model - Solving a contact problem with irregular geometry
Dear COMSOL, I wonder if you could help me in solving this contact model in COMSOL 4.3. I am implementing wear by solving a quasistatic contact model using the Structural Mechanics module, extracting...
View ArticleHow to know all the variables existing in MPH file via Matlab
Hi, I have a basic problem which may be simple for most users. I just want to do some further postprocessing for MPH results via Matlab. But, I don't know how to know all the variables existing in MPH...
View Articledoes a periodic boundary condition for u implement inflow u (boundary1) =...
Dear everyone, I have a question about the implementation of periodic boundary conditions for fluxes, so that the inflow through one boundary equals the outflow through the other. In comsol 3.5, this...
View ArticleVariable exchange between Matlab and Comsol
Hello everyone, I am running Comsol using the LiveLink with Matlab and am trying to do the following: I have a value, dt, which is 0 everywhere in the beginning. (I can either use dt=0, make an...
View Articleparametrize the position of a point in the geometry gives an error message
Dear Comsolfriends, I want to do a parameter study for the size of my geometry, but I get the following error when trying to set the position of a POINT using a parameter defined before in MATLAB...
View Articlegive specific values for every mesh point of a boundary as boundary condition
hey everybody, is it possibly to give different values for all points of the mesh on the boundary, respectively? for example, just a vector containing as many values as i have boundary mesh points, or...
View Articlecomputing accurate fluxes with periodic boundary conditions?
Hi everybody, does anyone know if I can compute the fluxes accurately, as described in the user guide on page 308 ff. and file 0973 from the knowdledge database etc, when using periodic boundary...
View Article