Search found 8 matches

by AndrejR
31 Aug 2021, 12:33
Forum: ElmerSolver
Topic: Reinitialize fields during steady-state simulation?
Replies: 2
Views: 1320

Re: Reinitialize fields during steady-state simulation?

It seems that you were right. Reinitialization is not necessary. Thank you.
by AndrejR
26 Aug 2021, 12:05
Forum: ElmerSolver
Topic: Reinitialize fields during steady-state simulation?
Replies: 2
Views: 1320

Reinitialize fields during steady-state simulation?

Hello, is there some simple way to reinitialize fields during steady-state simulation? (either reuse Initial Condition, or set everything to 0) So that Elmer would do x steady state iterations, then reinitialize some or all the fields and then do another x iterations... I think this could be done by...
by AndrejR
31 May 2021, 16:01
Forum: ElmerSolver
Topic: Exec Intervals, but skip first iteration
Replies: 2
Views: 902

Re: Exec Intervals, but skip first iteration

I am thinking that maybe Exec Condition with custom Fortran function might help me. But I need to pass it current value of Steady-State iterator. Is this possible? I cannot find any such information in the documentation. EDIT: I just realized that's just variable Time in Steady-State simulations. A ...
by AndrejR
18 May 2021, 17:00
Forum: ElmerSolver
Topic: Exec Intervals, but skip first iteration
Replies: 2
Views: 902

Exec Intervals, but skip first iteration

Hi, I have a steady-state simulation, in which I want a certain solver to run only every 5 iterations (5th iteration, 10th iteration...). I attempted to do this: Solver 8: Exec Solver: after timestep Exec Intervals(1): 5 but this makes solver run on 1st iteration, 6th iteration etc. What can I do to...
by AndrejR
05 Dec 2020, 14:38
Forum: ElmerSolver
Topic: Homogeneous Poisson equation - solve for potential
Replies: 7
Views: 2705

Re: Homogeneous Poisson equation - solve for potential

I found the solution!

I was using ElmerGrid on my .unv mesh, but I omitted -autoclean parameter. Now that I am using

Code: Select all

ElmerGrid 8 2 poisson.unv -autoclean
it works.

Thank you all for your help!
by AndrejR
05 Dec 2020, 01:11
Forum: ElmerSolver
Topic: Homogeneous Poisson equation - solve for potential
Replies: 7
Views: 2705

Re: Homogeneous Poisson equation - solve for potential

Oh, sorry about that, it's just copying mistake. Even with the 'End' statement I have the same problem.

So if this works for you, does that mean that problem is probably with mesh?
by AndrejR
04 Dec 2020, 17:48
Forum: ElmerSolver
Topic: Homogeneous Poisson equation - solve for potential
Replies: 7
Views: 2705

Homogeneous Poisson equation - solve for potential

Hi everyone, I am trying to use Elmer for finding electric potential from homogeneous Poisson equation via StatElecSolver. I generated 2D mesh (it is annulus with different potentials on the inner and outer edge) in SALOME and created a .sif file for ElmerSolver, but it executes very quickly and the...