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

Load vector is always zero vector in linear problems? Hmm...

Attached is a model with one 1D element and 2 Dirichlet-type BCs on both ends of it implemented similarly to Chien Liu's blog post here: www.comsol.com/blogs/implement...k-form-in-comsol-multiphysics/...

View Article


No Matlab Livelink response after loading model to Matlab

Hi there, I have a large Comsol 4.3a model with size almost 50 GB. I would like to run it through MatLab to export all solution data from parametric sweep simulation with almost 1,300 parameter...

View Article


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

LiveLink geometry layout design

Hi, I am using Matlab LiveLink and am trying to create a layout for optical reflectors. My Problem is the following: I am looking at about 2000 reflectors and want them to form a union so I don't have...

View Article

Using deformation results as initial conditions for the next study

Hi all, I have a linear elastic model with a stationary study whereby I apply a boundary load and deform the model domain - this is simple and works fine. Next, I would like to use the deformed results...

View Article


beg for a quick way to add material to each domain

Hello everyone, I am using AC/DC module. The geometry has a lot of domains, which is shown in the attached file. Now, I want to add different materials with different relative permittivity to each...

View Article

best suited PC for comsol 5.2

As a scholar, I rigorously work in comsol. I'm currently using core i7 based hp pavilion (5 yrs old), with 16GB RAM where I regularly faces some issues like hanging, unable to open files larger in size...

View Article

Running Comsol Desktop Model with Matlab Script: Updating Parameters

I am using a matlab script to update fluid parameters (viscosity and density) initially defined in comsol desktop. Based on some coupled physics, the density and viscosity of the fluid will change,...

View Article


Automating Comsol with Matlab: While Loop and Time Dependent Solver

I am running a comsol model with matlab; and I have a while loop in which the pressure values extracted from comsol at a time tmax corresponding to the iteration parameter, k of the while loop, is used...

View Article


Change the username and password in the client server

Hello, I am working with the Livelink Comsol with Matlab. For some reason, I would like to change the username and password for the client server. Do anyone know how to do it? Thanks! Shujun

View Article

How to assign a parameter to each grid cell by COMSOL with MATLAB?

For example, in Darcy model, in order to realize heterogeneity for model, different permeability parameters which may satisfy a kind of distribution function should be assigned to each grid cell. How...

View Article

accessing MATLAB global variables when running models in MATLAB

I have defined an external function in matlab that I use in my Comsol/Matlab livelink model to set a volume heat source, let's call this function my_heat(x,y,z), where x,y,z are comsol spatial...

View Article

How to determine face numbers (using matlab livelink) associated with an object

Hello again, I am trying to 'automatically' set my boundary conditions for a model generated in matlab with livelink. I know which objects need to have which boundary conditions based on a draw order...

View Article


Export Mesh of selected domain via MATLAB

Dear all, I'm currently working on a simulation approach which requires to export the COMSOL-mesh to a Abaqus Inputfile (.inp). Fortunately I already have some code lines that allows me to do so, since...

View Article

Feasibility of iteration with parametric sweep

We need to run the simulation iteratively in Comsol, which means we need the result of the first simulation as an input of the second simulation. Since the number of iteration is quite high, we have...

View Article


Convergence plots

Does anyone know if it is possible to show a convergence plot during a livelink with Matlab? I'm using version 4.4 and matlab R2013a. Thanks

View Article

Number of degrees of freedom per domain

Hello, I'm using the Matlab LiveLink. The code below is used to obtain the total degrees of freedom of the model: info = mphxmeshinfo(model); info.ndofs Is it possible to list the number of DOF present...

View Article


coupling multiple dependent seperate model

Dear all, I have a generic question involving the best way to tackle a big simulation problem utilizing Comsol. A question which I will formulate based on a simplified example: Imagine I would want to...

View Article

Porous media modelling

Hi Whats the difference between porous media Transport properties and Transport properties in Transport of dilute species. Because I can implement in both cases the porous media, but the results are...

View Article

Computer configuration for COMSOL

Now my computer running COMSOL will show the disk is not enough, want to buy a good point of the computer to run COMSOL, we have not recommended? Now I don't know the computer configuration. What is...

View Article
Browsing all 428 articles
Browse latest View live


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