CoilSolver: Unlisted keywords

Numerical methods and mathematical models of Elmer
Post Reply
mb5
Posts: 20
Joined: 10 Jun 2017, 18:07
Antispam: Yes

CoilSolver: Unlisted keywords

Post by mb5 »

Hi,

I`m running tests with the CoilSolver. With this I`ve tried some keywords. It seems that some of them not working. I´m using the github code from today (2019-06-24). The keywords are documented in the ElmerModelsManual.pdf. Is it a bug or is it me? :roll:
I get this error with the elmer test case "CoilSolver3" as well.

Code: Select all

   Coil Conductivity Fix = Logical True
   Coil Unisotropic = Logical False
Model Input: Unlisted keyword: [coil conductivity fix] in section: [solver 1]
Model Input: Unlisted keyword: [coil unisotropic] in section: [solver 1]
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: CoilSolver: Unlisted keywords

Post by mzenker »

Hmmm, you could have a look into the code, maybe a typo somewhere...?

HTH,
Matthias
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: CoilSolver: Unlisted keywords

Post by raback »

Hi

The keyword might sometimes be listed in the documentation but not in the SOLVER.KEYWORDS. We have automated the process of listing all unlisted keywords from the test suite but there is no such automate to take the keywords from documentation. Hence this could happen.

Do the keywords not affect the results?

-Peter
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: CoilSolver: Unlisted keywords

Post by mzenker »

Since the warning occurs even though the type has been given in the sif, I suspect a typo somewhere...
mb5
Posts: 20
Joined: 10 Jun 2017, 18:07
Antispam: Yes

Re: CoilSolver: Unlisted keywords

Post by mb5 »

Hmmm,
these two keywords have no effect on the results. I proofed for an typo. There are no such keywords (or similar ones) In the SOLVER.KEYWORDS :roll:

regards
Martin
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: CoilSolver: Unlisted keywords

Post by mzenker »

You would have to check in CoilSolver.src (or CoilSolver.f90) in the Elmer sources.

Matthias
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: CoilSolver: Unlisted keywords

Post by kevinarden »

from the code

! The following definiotions are same for all coils, even IF there would be many
!--------------------------------------------------------------------------------
FixConductivity = GetLogical( Params,'Coil Conductivity Fix', Found )

CoilAnisotropic = GetLogical( Params,'Coil Anisotropic', Found )

It is Anisotropic not Unisotropic
mb5
Posts: 20
Joined: 10 Jun 2017, 18:07
Antispam: Yes

Re: CoilSolver: Unlisted keywords

Post by mb5 »

kevinarden wrote: 26 Jun 2019, 11:25 It is Anisotropic not Unisotropic
Thanks, this was my fault :oops:

I still got the warning:

Code: Select all

Model Input:  Unlisted keyword: [coil conductivity fix] in section: [solver 1]]
However, this keyword has an effect on the results and seems to work correct ;)

regards
Martin
Post Reply