Search found 3360 matches

by raback
18 Jan 2019, 18:21
Forum: ElmerSolver
Topic: Problem calculating the magnetic energy of two coils
Replies: 9
Views: 171

Re: Problem calculating the magnetic energy of two coils

Hi Marco, I don't blame you for the confusion - it is actually the other way around. Usually source terms and body forces and boundary conditions in Elmer are distributed. I.e. the unit of "Current Density" is A/m^2. The idea is that we should not need any geometric information to interpret a keywor...
by raback
18 Jan 2019, 12:52
Forum: ElmerSolver
Topic: Problem calculating the magnetic energy of two coils
Replies: 9
Views: 171

Re: Problem calculating the magnetic energy of two coils

Hi,

This is a follow-up to this thread that utilizes the CoilSolver to set currents in closed coils. Does not work always, but some observations are still valid also for this case.

viewtopic.php?f=3&t=6553

-Peter
by raback
18 Jan 2019, 12:47
Forum: ElmerSolver
Topic: Defining coils currents / five coils example
Replies: 0
Views: 26

Defining coils currents / five coils example

Hi All, There are multiple ways in Elmer to define coil currents in hierarchical simulations for the Whitney AV solver to compute magnetic fields. Basically one can give "Current Density i", i=1,2,3 or "Electric Potential" which is used to internally compute the current sources in the AV solver. Now...
by raback
17 Jan 2019, 12:51
Forum: Bug reports
Topic: elmergrid regressions
Replies: 4
Views: 109

Re: elmergrid regressions

Hi I looked at some of the errors. For example, there was new check for very long lines and this failed if the line ended not to end-of-line (\n) but to end-of-file (\0). This has now been fixed. Basically I don't think there is any other real problem than the missing of MATC which occured when Elme...
by raback
17 Jan 2019, 12:47
Forum: ElmerSolver
Topic: Read table from file
Replies: 13
Views: 964

Re: Read table from file

Hi

After considering the parser we decided to take the easy route. The GUI should in the future not enforce the semicolons.

-Peter
by raback
17 Jan 2019, 11:54
Forum: ElmerSolver
Topic: Read table from file
Replies: 13
Views: 964

Re: Read table from file

Hi On second thought. Maybe easier to modify ElmerGUI. The newline is changed to semicolon at line 378 of $ELMERSRC/ElmerGUI/Application/src/dynamiceditor.cpp q.replace( '\n', ';' ); Commenthing this away would fix the workflow. The downside is that after editing the view to the results is not as pr...
by raback
16 Jan 2019, 21:48
Forum: ElmerSolver
Topic: Read table from file
Replies: 13
Views: 964

Re: Read table from file

Ok, that's a problem. I could look at the parser. -Peter
by raback
16 Jan 2019, 17:36
Forum: ElmerSolver
Topic: Read table from file
Replies: 13
Views: 964

Re: Read table from file

Hi It seems that the syntax with a semicolon causes the problem. This does not work: Body Force 1 Name = "HeatIn" Heat Source = Variable Time;real;include test.txt;End End but this does: Body Force 1 Name = "HeatIn" Heat Source = Variable Time;real; include test.txt End Didn't look at the parser in ...
by raback
15 Jan 2019, 18:26
Forum: ElmerSolver
Topic: Problem calculating the magnetic energy of two coils
Replies: 9
Views: 171

Re: Problem calculating the magnetic energy of two coils

Hi Had a quick look. The attached sif file could work for the original two-coil case. Probably requires rather fresh version. I was working with one that was updated to git just minutes ago. Now the two-solver strategy could also work but I did not pursue it. Probably it would requite that the way h...
by raback
12 Jan 2019, 21:47
Forum: ElmerSolver
Topic: Accuracy of results / microwave waveguide
Replies: 19
Views: 895

Re: Accuracy of results / microwave waveguide

Hi Tom

That looks really good! I think this is the first time the 2nd order elements for the wave solver really showed its potential. Initially only the linear basis worked and the quadratic operation was fixed only rather recently.

-Peter