Questions tagged [comsol]

Formerly FEMLAB, COMSOL is a finite element analysis software package for various engineering and physics applications, with special emphasis on coupled phenomena (multiphysics).

53 questions
Filter by
Sorted by
Tagged with
28 views

Add variable electric potential in Comsol [closed]

I have a model in Comsol where some part has a fixed potential (-800v) while the other is grounded. Does anyone have an idea on how to change the potential alternately from +800v to -800v with a ...
45 views

switching boundary conditions to simulate a reciprocating flow in COMSOL

This is a re-posted question which was poorly defined earlier I have been trying to simulate reciprocating flow of a convective fluid through a heated channel in COMSOL-Multiphysics. The schematic of ...
• 121
1 vote
100 views

Weird "oscillatory" modes appearing in FEM simulations

I am using COMSOL to solve a mathematical model involving thermoelectric hydrodynamic (TEMHD) flow. I am running a very large parameter sweep and using the solutions obtained to make some plots. ...
• 111
40 views

Why does COMSOL treat a well as a rectangular cube?

I'm trying to learn COMSOL for a graduate research project and am struggling through a flow and transport in 3D tutorial. As such I'm walking through my boundary conditions and trying to figure out if ...
85 views

How to connect two cylinders to form a knee in Comsol Multiphysics?

I have this I want it to be single bended wire. How to accomplish?
• 111
1 vote
204 views

Writing a single PDE from a gradient equation

I have a differential system like this, where $\Phi$ is a scalar valued unknown function: $$\nabla\Phi = \left(f_1(x, y), f_2(x,y)\right)^T$$ I'm trying to solve it in a FEM solver (COMSOL ...
• 11
114 views

COMSOL Circularl polarization

I'm having some problems trying to implement circularly polarized light in COMSOL Muliphysics. For a isotropic homogenous media, I've obtained without problems the TE and TM reflectance curves. ...
177 views

• 123
808 views

How does rigid body rotation affect resuts in a simulation?

I have been running a finite-element simulation where, for the sake of convergence, I chose to stay in small deformation hypothesis (in comsol, include non-linear geometry box not checked for who that ...
3k views

Understanding Finite-Element Modal Analysis

I am teaching a basic course on computational physics and for the last part of the course I will introduce freshman physics undergraduates to finite-element modelling methods. I am preparing a COMSOL ...
• 133
1k views

COMSOL: get list of eigenfrequencies [closed]

In COMSOL, is there a way to get it to export a txt file with all the eigenfrequencies found during an eigenfrequency analysis? I suppose that it could be done through the MATLAB interface or through ...
• 101
54 views

Different Meshes Different Maximum velocities

I am working on a model in COMSOL and I am usin different meshes from coarse to fine keeping the other parameters constant. And, I got different maximum velocities for all the meshes. What can I do ...
1 vote
91 views

Representing a 3D system in 2D (Electromagnetic modelling)

Ok so I'm a complete beginner in computational modelling (I use analytical methods of physics typically) but I would like to model an anisotropic, aperiodic (but not random) finite array of metallic ...
• 201
2k views

Solving coupled PDE in COMSOL [closed]

I have the system of equations \begin{align} &A \frac{\partial u_1}{\partial t} = 1 - u_1 B \frac{\partial u_2}{\partial y}\\ &\frac{\partial u_2}{\partial t} = \frac{\partial}{\partial y}\...
359 views

How to make a good mesh in a biologically accurate model with very small domains

I have been trying to make a biologically accurate 2D spatial model of tissue layers, where different physiological processes happen. This includes mainly chemical reactions, diffusion and fluxes over ...
• 101
342 views

3D Divergence-free Stokes equations

I would like to have a divergence-free formulation of the Navier-Stokes equations for creeping flow (a.k.a. Stokes equation, N.-S. without the inertial terms) in 3D, for purposes of tracking particle ...
18k views

Alternatives to Comsol Multiphysics

This might be a question better suited for the Software Recommendations side of S.E., however I do believe that people who frequent this part of S.E. are more likely to be able to answer this question....
• 255
1 vote
381 views

infinite but non-periodic space with PMLs in Comsol [closed]

I have a problem with implementing proper boundary conditions on sides of my simulation (in RF or WaveOptics module of Comsol). I want to obtain an infinite but not periodic space (beacuse then I will ...
• 11
5k views

What is numerical damping in the context of time-dependent FEM solvers?

Comsol Multiphysics (a popular FEM package) includes two time-stepping algorithms (IDA aka BDF, and Generalized-alpha), described in their documentation as follows (quoted here under Fair Use; ...
3k views

boundary condition in COMSOL

I deal with PDE module in COMSOL and I would like to simulate Poisson's equation. Actually I need to simulate the distribution of the electric filed created by the spherical probe in the material, ...
1 vote
1k views

COMSOL - 2D box - get for every x an average value over y (line average apply for more lines) [closed]

I would like to ask you for your help. I have 2D box. I know how to do an 2D cut line and compute an average value of someting over this line. (in Results -> Data Sets -> Cut Line 2D and then Results-...
• 11
682 views

Integrating an Ordinary Differential Equation over a domain in Finite Element Methods

I'm trying to get a deeper understanding of the Finite Element Method (FEM) to better understand what I do in COMSOL and FEniCS. The sketch below shows the problem that I want to solve in FEM. The ...
• 964
1 vote
1k views

Calculating Divergence in COMSOL

Is it computationally safe and accurate to use the following equation in COMSOL to compute the divergence of the vector quantity J (instead of using its general built-in equations that have $\nabla$ ...
1 vote
919 views

How can I define Poisson’s equation in general and weak form in comsol

I want to simulate capacitor with Comsol by using Poisson's equation in genaral and weak form. How can I specify boundary condition for this case?
• 11
752 views

How to solve global equation in Comsol only once? [closed]

Let's assume that I have a comsol model for solving time-dependent problem. In order to find initial value for one variable I need to solve simple algebraic equation before starting simulation, ...
668 views

Basic Finite Element Method (FEM) question: assembly and re-assembly

I'm reading up on the Finite Element Method (Zienkiewicz's Book), so I understand better what I'm doing in FEniCS and COMSOL. Currently, I'm wondering about this: Using FEM to solve fluid flow ...
• 964
1 vote
2k views

Divergence in COMSOL

I'm trying to calculate the divergence of a vector quantity $L(L_x, L_y, L_z)$ in COMSOL. I calculate it using the built-in differentiation operator as follow: \nabla L = d(L_x,x)+d(L_y,y)+d(L_z,z)\$...
3k views

Stress due to the mismatch of thermal expansion coefficients of two different attached materials in COMSOL

I'm simulating the thermo-electro-mechanical behavior of a copper wire which is surrounded by silicon dioxide. In other words, the wire segments is under mechanical and thermal loads and at the same ...
4k views

PDEs in their weak form in Comsol

If a physical model is not listed in the wizard, we can use Comsol's weak form to enter PDE's (governing equations of a system) in their weak form. How can it be done ? for example: 2 equations of ...
• 123
9k views

Time stepping in comsol multiphysics

I would like to know which is the algorithm Comsol uses in order to correct the time step it uses. For example, when you try to solve an equation you've written in the PDE coefficient interface, and ...
3k views

Stationary solution converge but time dependent doesn't

I've coupled a COMSOL model for fluid dynamics with a very simple pde that model the transport of humidity in air. When I solve it for the stationary case, the solution converge easily, but when I ...
1 vote