Quantcast
Channel: convergence - Latest Discussions - COMSOL Forums
Viewing all 211 articles
Browse latest View live

how to realize convergence in highly doped semiconductor in COMSOL 4.4

$
0
0
I meet the convergence problem when modeling highly doped semiconductor in COMSOL.
What I model is a P-n heterojuction, the concentration of the acceptor is 1e18/cm3, the concentration of
the donor is 3e15/cm3. The result is difficult to converge, even I refined the grids up to 60000!
Does anyone encounter the similar problem?

Converting a 2D Axisymmetric Model into a 2D Model

$
0
0
Hi All

I am trying to take the 2D axisymmetric DC Discharge example in the COMSOL Plasma Module and convert it to a conventional 2D model. This is to gain experience with 2D DC discharges as I will be developing another DC Discharge simulation where an axisymmetric geometry cannot be used. I have taken the axisymmetric example and copied it exactly into a 2D model in COMSOL (obviously except for the geometry which is instead the full discharge tube as opposed to the half discharge tube given in the example). All the other parameters are identical. When I try and run this simulation I obtain this error message:

Nonlinear solver did not converge.
Maximum number of Newton iterations reached.
Time : 0
Last time step is not converged.
- Feature: Time-Dependent Solver 1 (sol1/t1)

I have tried altering the initial conditions of the model and instead receive this error instead:

Repeated error test failures. May have reached a singularity.
Time : 1.220345147543987e-016
Last time step is not converged.
- Feature: Time-Dependent Solver 1 (sol1/t1)

I have tried experimenting with different meshes and different times for the time dependent study, but this hasn't helped. Maybe I am missing a boundary condition that is required in the 2D model that isn't needed in the axisymmetric one? Any help would be greatly appreciated!

Kind Regards
William

exporting convergence plot data

$
0
0
Hello,

I have a somewhat naïve question: how can I export the Convergence Plot 1 or 2 data as a text or csv file? Is there a way?

Many thanks in advance,
Fred

3D Lithium Air Model

$
0
0
Hello everyone,

I am trying to build a 3D Model of a Lithium-Air-battery based on the 1D Version from COMSOL's model library. Everytime I run the simulation i receive the following error after several hours:

Failed to find consistent initial values.
Last time step is not converged.
- Feature: Time-Dependent Solver 1 (sol1/t1)

What I have found in the board discussions from other users with similar issues so far is that this might be singularity, but I fail to identify it.

Any hints or help would be greatly appreciated.

Kindest regards,

Leo

Improving Robustness in consideration of changing material properties

$
0
0
Hello Comsol community!

I have successfully built the skeleton of my model! However, when I alter the material properties (dynamic viscosity and density in this case), the model stops working. I mean major alterations, in the ballpark of 1-3 orders of magnitude. Is there anything other than mesh size and time step that I could change to make this work?

One idea is in the scaling of variables. Does comsol change its default scaling values as I change the property values? Does anyone have experience with manually adjusting scale?

Just to recap, I have a model that runs well, but it only converges quickly with certain material properties. As I alter these properties it takes longer and longer to converge until it starts failing at t=0.

Any help would be appreciated!

convergence problem in heat transfer interface

$
0
0
Dear all,

When I combine the electric current interface and heat transfer interface,if the setting electric potential (E) is small (1V), and the time domain is short, the simulation works. However, if I increase the E and time, a convergence problem happens. I want to know if there something wrong with the mesh or the solver? Thank you all!

Modeling Insulin Flow Through Porous Adipose Tissue

$
0
0
Hello Fellow Comsol Users,

I am getting stuck attempting to model insulin flow. As of now, I am using laminar flow to model insulin being injected from a canulla into adipose. At this point, I used Darcy's law to simulate the flow from the cannula through the adipose tissue (porous) into the blood vessel.

I used a simple 2D geometry, and am having trouble coupling the two physics. Any help would be appreciated.

I can upload the file for the model.

-Theodore

Convergence Plot

$
0
0
Hi all,

On solving my heat and mass transfer multiphysics problem in comsol 5.2 I got the attached plot for convergence. How can I get an error v/s number of iterations curve? How do I relate inverse of time step to error?I have supplied a time step as 0.1 s why is the time step changing with each iterartion?

Thanks
Mahvash

Convergence: when should I stop the model?

$
0
0
Hi everyone

I have been working on models that take several days to solve. One of them is running at the moment, and I just have a general question.

When I look at the Convergence Plot 2, which is "Reciprocal of step size" vs "Time step", I can see the reciprocal of step size is between 10^5 and 10^6. It has been like this for several hours, and the progress value is at 2% without increasing.

I need results for this simulation by the beginning of next week. When do you know if you should stop the simulation or let it run and solve this convergence difficulty eventually? If I stop it, and the model could have advanced and solved, then I'll lose several hours of solving. But if I don't stop it, it might be at 2% for more than a day.

What should I do? What are the general guidelines on convergence?

Thank you so much!
Sylvana

What is convergence?

$
0
0
I'd just like to know what convergence is - in the context of COMSOL.

Convergence plots

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

Silicon waveguide convergence value?

$
0
0
Hello.

I am studying silicon waveguide using RF module in COMSOL 4.2a version.

My questions are

what is the convergence in COMSOL multiphysics?

is it fine that I got the convergence value which is exact 1.0

and

how can I improve the convergence?

Thank you.

Deformed geometry model converges until I try to use the lagrange multiplier

$
0
0
Hi all,

I'm trying to model the growth of a cavity in a block of ice in response to a flow of hot air. I have a model that works fairly well, with conjugate heat transfer and a deformed geometry to track the air / ice interface as melting progresses. At least, it works fine as long as I prescribe the melting rate at a fixed value of 0.001 m/s. In order to simulate melting I followed the approach of the Tin Melting Front example "Stefan problem" model: set the boundary temperature as a weak constraint, and use the lagrange multiplier as input to a prescribed normal deformation on that boundary.

The problem is that whenever I switch from the fixed value to the "Stefan problem" expression for the Prescribed Normal Mesh Velocity, my model no longer converges -- it says:

Nonlinear solver did not converge.
Time: 0
Attempt to evaluate real square root of negative number.

The model is attached. Thanks in advance for any advice!

Aaron

Model convergence dependent on mesh quality, confused!

$
0
0
Hi all,

My COMSOL model only solves when the mesh size is "above" the predefined Normal size. When I increase the mesh resolution to "Fine" or higher, the step BiCGStab in the progress tab stalls at around 96%, and continues iterations forever until infinity trying to converge.

I'll describe the model briefly in this paragraph, and include an attachment of it. I'm simulating a very small, simple, conductive, flattened-conical tip (sliced in half vertically for symmetry) that radiates microwave (~6GHz) energy into the surrounding region via a coaxial lumped port. I'm using the Electromagnetic Waves, Frequency Domain physics module. The model behaves exactly as desired when the lower-limit of mesh quality is met, but endlessly iterates otherwise. I've tested varying the geometry and size of the tip to no avail. It seems that the minimum element size I can reach before causing non-convergence is about 3e-7 meters. (My model size is on the order of 1e-6 meters).

I'm so confused; there's obviously nothing wrong with the model setup/geometry/physics, because it solves for lower-quality meshes. Is this a computer memory problem? (I've got 8GB). Is there a lower-limit to element size / calculation in the [EMW, Frequency Domain] module that I've reached?

Thanks for the help.

Jon Michelson

Different convergence requirement (relative tolerance) for different components of coupled model

$
0
0
I am working on a time-dependent model that couples two different physics branches. If I disable the second branch in the time-dependent solver, I can get a solution to converge with a relative tolerance of 0.1. If I disable the first branch (and enable the second), I need to use a much larger relative tolerance (~1000) to get the solution to converge.

Furthermore, I do not get a convergent solution in the first branch if I use this larger relative tolerance.

Is there a way to impose different tolerances for the different variables that I am solving for?

Sorry for the lack of details. Hopefully my question is general enough that they are unnecessary.

Thank you.

Geometry Units and Convergecne

$
0
0
Hello,

Does anyone know why changing the "geometry unit" raises convergence issues? For instance, when I change mm to cm, while all other parameters are the same, simulation diverges!

Thank you in advance for your time and consideration!

AR

Periodic Stimulation of Electric Currents Interface

$
0
0
Hello,

I am trying to simulate an electrode with a periodic biphasic square pulse through a periodic piecewise function to stimulate it. The piecewise goes between 1, -1 and 0 and I multiply it by my input current to simulate this stimulation. I am doing this in a time-dependent study using the electric currents interface. The convergence continues to oscillate up and down until eventually it says the solution wasn't converged. Is this oscillation in the convergence due to the oscillation of the stimulation? What does an oscillating convergence mean? Does the electric currents interface only converge if a DC signal is given for a current source?

Thanks,
Trevor Davis

cfd simulation

$
0
0
Hello everybody!
I would like to know what is the residual and tolerance factors, in the tab solver/fully coupled.
How can we change them in order for the solution to converge?
Thanks in advance.

Solution is not converging for solar cell problem.

$
0
0
Hello everyone,

I'm trying to simulate a solar cell with four layers, and I got success with the one dimensional problem. But when I tried the same in two dimensions, the solution is not converging. I'd done the things I can do with my little knowledge in Comsol, still I am not getting positive results.

Thanks in advance for your help.

Regards
Binoy

poor convergence in MEMS electromechanical switch

$
0
0
Greetings:

This is a grossly simplified form of a 3D model I'm doing of an electromechanical switch using the MEMS module.

There's a cantilever which is at zero bias, a "gate" electrode which is biased to a non-zero voltage, and a contact (which for purposed here is at a zero charge state). With a nonzero bias the cantilever is attracted to the gate electrode, bending, but then it makes physical contact with the contact electrode and the gap remains finite, preventing full collapse. If the bias were ramped further, eventually the gap at the gate electrode would also collapse, but this would take very high force.

In any case, I don't get anywhere close to this. I can ramp the bias up to on order 0.1 volts, and then it fails to converge.

I have two approaches. One is a standard "stationary" study in which the gate voltage is specified directly. The other is where the voltage is ramped up proportional to the square of the ramping parameter.

There is a 20 nm gap between the cantilever and the contact electrode but the total deflection at the tip maxes out at 3.6 pm (or milli-nm, if you prefer). So any geometric complexities are still minimal at this point.

I've tried to get this working for days and I'm afraid I'm missing something silly.

Anyone else have experience with these structures?

Link: www.dropbox.com/s/uvkue4m2xqv5...msolGeometry_2d_clean.mph?dl=0


The electrostatics, which converge only at low bias, are shown here:
i.imgur.com/IKKxXG6.png


Viewing all 211 articles
Browse latest View live