Quantcast
Channel: Latest Discussions - COMSOL Forums
Browsing all 2194 articles
Browse latest View live
↧

Error to initialize a physics interface created with Physics Builder in...

Hi all, I am trying to compile with LiveLink for Matlab (Matlab version MATLAB_R2012a) a Comsol model (Comsol version COMSOL 4.3.0.151) that uses a physics interface which I created with the Physics...

View Article


Add air box to a complex geometry via LiveLink for SolidWorks

Hi folks, According to LiveLink for SolidWorks Users Guide, the geometry sequence can only contain the LiveLink for SolidWorks, however, one needs to add an additional air box for some physics...

View Article


Blocks vector defined in MATLAB 2014a

Hi all, I want to use MATLAB to drive Comsol Multiphysics to generate Blocks, the program generates the Blocks through circulation. for i = 1:nelx for j = 1:nely if x(i,j) == 0...

View Article

How do I get the nodes associated with a boundary.

Hi, I have a model (Solid Mechanics). I have one component in that model. 1. I have defined some constraints on some boundaries. 2. I have defined a boundary load as well. 3. I have a mesh...

View Article

URGENT -Running COMSOL with MATLAB help needed

Hello, This is in reference to a post : May 3, 2011 8:51am EDT in response to captainmariah Re: Work on COMSOL through MATLAB? 2. You can start a Comsol server manually (from the Comsol Start menu...

View Article


Accessing individual variables (source term, convection coeffs...) for...

Hi, I am using COMSOL Coefficient of PDE form. I want to implement Gauss Quadrature for Discrete ordinates method (discretization in angular space). The way I am doing it is: Each PDE equation...

View Article

Define or change domain number/name

Hello, I´m using Livelink with Matalb to do a simple study. In my code I generate 3 diferent geometrys with a while and when I try to define materials it gives an error because the domain number are...

View Article

The DAE is structurally inconsistent error - Comsol with Matlab

Hello guys, I am a beginer in using comsol and matlab. I redid someone's work who are trying to image an iron ball with Magnetic Induction Tomography (MIT) using COMSOL and MATLAB. I made a circular...

View Article


Laser heating process with flexible intensity distribution

Hello COMSOL Community, I want to simulate a Laser Process (heating of a metal sheet) using an arbitrary intensity distribution. The models in the database or the ones discussed in the forum do either...

View Article


How to use "mphinterp" to extract information from a 2-D axisymmetric...

Hello all, I have a question on mphinterp function in MATLAB livelink for COMSOL. I want to extract the electric field intensity (ewfd.normE) in a specified domain (surface) of a 2-D axisymmetric...

View Article

comsol connection with matlab

Hi i have geometric as attached , i measure the max. electrical field from prob . i save the geometric as m. matlab file . the problem is how can i have the result of max electrical field from matlab...

View Article

comsolbatch javafile(.java): error in reading a txt file

I met a error when i try to use comsolbatch with javafile(.class), and i really don't know how to solve it. At first i made a .java code file just by a comsol model which can be ran succeefully in...

View Article

How should I create an arbitrary 3D geometry object with contour coordinates

Since there is no more function like ' loft ' in 3.5a, how can I create a 3D geometry object with only the contour coordinates with only 4.2 functions? Can I convert a set of parallel polygons to a 3D...

View Article


Copying Geometry Features from 2D to extrude in 3D within Matlab Livelink

Portions of my model are 2D axisymetric and other portions are 3D. I've created 2 model nodes to handle these two geometries, we'll call them 'geom2' for 2D and 'geom3' for 3D. My 3D features are just...

View Article

live connection comsol with matlab

Hi i have comsol 5.2 version , in my computer i have matlab 2014a and 2015b . i dont know in default the comsol has connection with matlab 2014a but i want to change the connection to 2015b but i don't...

View Article


Export 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 Article

Livelink for Pro-Engineer error: ... PRO_COMM_MSG_EXE ...

Hi All, I have installed live link for Pro-Engineer 4.0. On the Comsol model builder right click and Livelink for Pro-Engineer. As i click on synchronize, an error report was appear: Failed to connect...

View Article


Livelink Matlab. Running processed data back to comsol

Hello Comsol community, Is there an straight forward way to send modified meshed data back to comsol after processing it with Matlab? Let me explain. I am reading a certain variable from a domain, from...

View Article

how to change the Batch sweep output result file name

The batch sweep function in COMSOL 5.1 automatically stores the results for each parameter conbination in an new mph file. The fine name is typically composed of all the paramter names and values such...

View Article

Equation 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 Article
Browsing all 2194 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>