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

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


Loop 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


lake's hydrodynamic

Hi, I have imported a lake's dem to study circulation and hydrodynamic, but i don't know how i can work with it. Can anyone help me????

View Article

How to build a moving geometry???

Hello everyone! I am using Electrodeposition Module. The anode of geometry is moving as the time goes, and the moveing anode is Piecewise function. ( The physical field is Electrodeposition,Tertiary...

View Article

Calculate overlap between two different models ( so 2 different studies)

Dear All, I am trying to calculate an overlap between two optical modes (2D), while sweeping a parameter in each model. For example lets imagine you want to calculate the overlap between two different...

View Article


Import 3d geometry from x,y,z data matrix

For my simulations I am trying to import a 3D geometry which I calculated in Matlab to Comsol. For my 2D simulations I used a interpolation curve with the datapoints from a csv file. For my 3D...

View Article

numerical derivatives

Dear pros, this should be simple, yet I have not succeeded in implementing this in COMSOL and could not find any relevant instructions anywhere. I use COMSOL to process experimentally obtained and thus...

View Article

Geometry construction

Hi! I'm trying to solve a geometry problem for my model using Matlab Livelink Comsol. There is a "loop" using "for" to create multiples lines (BezierPolygon), but the program returns just the last line...

View Article


How to "intercept" transient solution at every time step

Hi all, I have a coupled set of PDEs that are being solved over time. At every time step, i need to check for a condition, and if it is satisfied (elementwise), raise a flag and start counting that...

View Article


parameter estimation with MATLAB

I want to estimate some parameters (or properties) of my COMSOL model. I was wondering if I can use optimization toolbox in MATLAB and find them by comparing experimental results and the results from...

View Article

MATLAB and COMSOL shut down automatically

Hi, I have comsol 3.5 and matlab 2010b. when I use the matlab to run the comsol simulation, both software shut down automatically. can anyone help me with that? Thanks in advance!!!!

View Article

Magnetic Field of a Multi Layer solenoid

Hello Everyone, I have no experience in using COMSOl. My professor wants me to run an example project in this software and I have a few specific questions. The problem statement is: I have a multi...

View Article

Temperature dependent Loads

Dear all, It is possible to define Temperature dependent loads in COMSOL as "hload(T)". Where is T is a field variable. However, is it possible to define the heat load as a function of temperature at a...

View Article


saving comsol model from matlab livelink

Hi, Until 3.5a, there used to be nice flsave which would save fem structure as comsol's model file. Can somebody tell what is its counterpart in 4.x series? May be I missed something but looking into...

View Article

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

Changing view of matlab function mphplot

Dear all, I want to plot my COMSOL model in a Matlab figure using the mphplot function. However the orientation of the model in the plot is the standard orientation of the Model in COMSOL. Is there any...

View Article


Import a matrix (m*n) from Matlab to Comsol

Hi all, My name is Hau Nguyen. I try to solve a partial differential equations (PDE) that one of variables is a digitized data (function of x and y axes) resulting from a Matlab script. The digitized...

View Article

Divide the surface of a cylinder with height of 8mm and radius 80mm into 8...

Hi I'm working on ERT, sensitivity, on COMSOL for multiphase(water and oil) flow I have calculated the total current density of water and i need to calculate the total current density of oil(mix)....

View Article

Initial condition drift when sequencing COMSOL through Matlab

Hello, I’ll start with my question and then explain the problem which gave rise to it. Is there a way to insure that the initial temperature condition in a transient heat transfer problem is the same...

View Article
Browsing all 2194 articles
Browse latest View live


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