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

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


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


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

In COMSOL 5.1, If the batch job is generated from a parametric sweep, a unique name that depends on the parameter names and values is automatically created. in my case, there are too many parameters to...

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


Use Matlab to realise iterations in one time step

Dear all, I would like to use Matlab to realise iterations in one time step. For example, the Youngs modulus E has a linear relationship with stress S, E=a*S. Before the first iteration, the E=E0, then...

View Article

Form union with SolidWorks assembly (mix of surface and solids)

Hi all, I am attempting to use SolidWorks geometry within COMSOL. I have a small speaker diaphragm modelled as a surface along with other components modelled as solids which (before I form a union) all...

View Article


Interpolation & Excel

Hello everyone, I'm trying to define a material property that is a function of two physical quantities. I'm doing that using an interpolation function with the data imported from an Excel spreadsheet....

View Article

simulating an imported mesh (from matlab)

Hi, I'm trying to simulate a prescribed displacement (one end is fixed and the other one displaced) of a mesh created in matlab (the geometry is from a microCT image). The problem is comsol dons't...

View Article


Comsol 5.0 FEM linear system right hand

Hello, I am trying to extract the FEM matrix equation from a RF problem (stationary solver) using matlab commands, i tried the mphmatrix to get stiffness mass or damping matrices, but i can find the...

View Article

InputMatrix feature in comsol Java API

Hi all, Can anyone give a help regarding the use of InputMatrix feature. I am trying to have access to the stiffness matrix through Matlab to update the solution, but it looks that the documentation of...

View Article

Implementation of constitutive relations from MATLAB

Hey all I have a material model that links the material stresses to the material strains coded in a MATLAB function that I would like to link to a COMSOL model. As I see it there are two ways - but I...

View Article
Browsing all 428 articles
Browse latest View live


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