Maximum number of exported variables

Numerical methods and mathematical models of Elmer
Post Reply
spacedout
Posts: 177
Joined: 30 Mar 2020, 23:27
Antispam: Yes

Maximum number of exported variables

Post by spacedout »

There seems to be a limit to the number of exported variables within a solver section because I get :

MAIN: Reading Model: 2023.sif
LoadInputFile: Scanning input file: 2023.sif
LoadInputFile: Scanning only size info
LoadInputFile: First time visiting
LoadInputFile: Reading base load of sif file
ERROR:: LoadInputFile:
ERROR:: LoadInputFile: Unknown specifier: [loadnn]
ERROR:: LoadInputFile: In section: [solver 11]
STOP 1
ERROR:: LoadInputFile: For property name:[exported variable 21]

after executing ElmerSolver 2023.sif when I use 21 exported variables. If I reduce to 20 exported variables then everything runs fine.

Where can I change this maximum default ? I suppose a way out is to simply transfer additional exported variables to other solver sections.

Thank you
raback
Site Admin
Posts: 4832
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Maximum number of exported variables

Post by raback »

Hi

This should not be any limitations since at least maybe a year ago. Until that the "Exported Variables i" where formed in ELMERSOLVER_KEYWORDS. Now the keyword "Keyword i" is assumed to be of same type as "Keyword 1".

When was your ElmerSolver compiled?

-Peter
spacedout
Posts: 177
Joined: 30 Mar 2020, 23:27
Antispam: Yes

Re: Maximum number of exported variables

Post by spacedout »

I think it was compiled around March 2021.
raback
Site Admin
Posts: 4832
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Maximum number of exported variables

Post by raback »

Hi,

With this old code you need to cast it:

Exported Variable 21 = String "myvar"

-Peter
Post Reply