Page 1 of 3

CheckKeyword: Unlisted keyword:

Posted: 25 Sep 2021, 05:38
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.

Re: CheckKeyword: Unlisted keyword:

Posted: 25 Sep 2021, 13:05
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.

Re: CheckKeyword: Unlisted keyword:

Posted: 27 Sep 2021, 05:42
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

Re: CheckKeyword: Unlisted keyword:

Posted: 27 Sep 2021, 12:45
by kevinarden
Would have to see the sif file

Re: CheckKeyword: Unlisted keyword:

Posted: 28 Sep 2021, 04:40
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.

Re: CheckKeyword: Unlisted keyword:

Posted: 28 Sep 2021, 14:54
by kevinarden
The file was not readable.

Re: CheckKeyword: Unlisted keyword:

Posted: 29 Sep 2021, 03:34
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.

Re: CheckKeyword: Unlisted keyword:

Posted: 29 Sep 2021, 11:44
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

Re: CheckKeyword: Unlisted keyword:

Posted: 29 Sep 2021, 15:02
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

Re: CheckKeyword: Unlisted keyword:

Posted: 29 Sep 2021, 17:09
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.