CheckKeyword: Unlisted keyword:

Numerical methods and mathematical models of Elmer
jjmceld
Posts: 19
Joined: 22 Nov 2018, 19:05
Antispam: Yes

CheckKeyword: Unlisted keyword:

Post by jjmceld »

Hello,

I am using the advection diffusion solver just for a diffusive transport and noncompresible fluid. I coded this solver as follows,

Solver 2
Equation = "Advection Diffusion P"
Variable = String Pfluid
Procedure = File "AdvectionDiffusion"
Nonlinear System Max Iterations = Integer 20
Nonlinear System Relaxation Factor = Real 1
Steady State Convergence Tolerance = real 1.0e-10
Stabilize = Logical False
Bubbles = Logical False
End


And the Equation section as follows,

Equation 1
Name = "p_concentration"
Advection Diffusion Equation Pfluid = Logical True
Convection = None
Active Solvers(5) = 1 2 4 5 6
End


However, I am getting the following message,

CheckKeyword: Unlisted keyword: [advection diffusion equation pfluid] in section: [equation 1]

Is there a sintaxis problem?

Thank you and looking forward to an answer,

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

Re: CheckKeyword: Unlisted keyword:

Post by kevinarden »

It is just a message Elmer has a list of keywords so that you do not have to declare the variable type. It is just saying that keyword is not in the list, but since you declared the type it is not an issue.
jjmceld
Posts: 19
Joined: 22 Nov 2018, 19:05
Antispam: Yes

Re: CheckKeyword: Unlisted keyword:

Post by jjmceld »

Hello,

Thank you for your answer. Besides the Pfluid, I have other solver for another noncompressible fluid, Nfluid, symilarly as for the first one, I want just to simulate the diffusive transport. When I run the code I got the following optimization messages about the Advection Diffusion Solvers,

OptimizeBandwidth: ---------------------------------------------------------
OptimizeBandwidth: Computing matrix structure for: advection diffusion p...done.
OptimizeBandwidth: Half bandwidth without optimization: 40
OptimizeBandwidth:
OptimizeBandwidth: Bandwidth Optimization ...done.
OptimizeBandwidth: Half bandwidth after optimization: 21
OptimizeBandwidth: ---------------------------------------------------------
OptimizeBandwidth: ---------------------------------------------------------
OptimizeBandwidth: Computing matrix structure for: advection diffusion n...done.
OptimizeBandwidth: Half bandwidth without optimization: 92
OptimizeBandwidth:
OptimizeBandwidth: Bandwidth Optimization ...done.
OptimizeBandwidth: Half bandwidth after optimization: 35
OptimizeBandwidth: ---------------------------------------------------------


And after the following error message, the simulation stop.


ERROR:: AddEquationBasics: Variable exists but > Equation < is not defined in Solver
Note: The following floating-point exceptions are signalling: IEEE_INVALID_FLAG
STOP 1



In Equation section, Convection is set to none, this means no convection and in the solver section I changed the Bubble keyword to True as I interpret from the manual to avoid nonsensical results when it is used Cartesian coordinates, however the error message continues.
¿What might be the error in coding?

Thank you and looking for an answer,

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

Re: CheckKeyword: Unlisted keyword:

Post by kevinarden »

Would have to see the sif file
jjmceld
Posts: 19
Joined: 22 Nov 2018, 19:05
Antispam: Yes

Re: CheckKeyword: Unlisted keyword:

Post by jjmceld »

Hello,

I attached the sif file. According to the error message something is not define in the solver, apparently is the Advection diffusion solver. In the sif file, the noncompressible fluids are Phole and Nelec.

Thanks and looking forward to an answer.
Attachments
case_septiembre_27_2021_forum_2.sif
(4.44 KiB) Downloaded 132 times
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: CheckKeyword: Unlisted keyword:

Post by kevinarden »

The file was not readable.
jjmceld
Posts: 19
Joined: 22 Nov 2018, 19:05
Antispam: Yes

Re: CheckKeyword: Unlisted keyword:

Post by jjmceld »

Hi,

The previous attchment can be open in ElmerGUI, the file attched now can be open in the ubuntu editor.

Thanks and looking forward to an answer,

John.
Attachments
case_sept_28_forum_2_v2.sif
(3.82 KiB) Downloaded 130 times
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: CheckKeyword: Unlisted keyword:

Post by raback »

Hi

Some Solvers are missing the "Equation" field. It is needed for historical reasons to identify different Solvers. Any name will do as long as they are different.

Postprocessing solver is now executed before anything is computed. You might want to change that. You seem to have interesting semiconductor application under work. I didn't try to understand what is happening though...

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

Re: CheckKeyword: Unlisted keyword:

Post by kevinarden »

It appears to pass the P an N equation but than one of the solvers is looking for something like this

Solver 2
Equation = "Advection Diffusion P"

Perhaps a unique name for an equation in every solver will do it
Rich_B
Posts: 421
Joined: 24 Aug 2009, 20:18

Re: CheckKeyword: Unlisted keyword:

Post by Rich_B »

Hello,

If you could post a full minimum working example, with sif file and geometry/mesh, then you could get more help.

Rich.
Post Reply