multiple fluxsolver

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

multiple fluxsolver

Post by jjmceld »

Hello,

I'm writing a code to calculate two different fluxes with different heat coefficients, but it seems that in Materials, ElmerSolver does not read the Heat Coefficients, which names are Heat Coefficiente_n and Heat Coefficient_p. The message is:

"ERROR:: Model Input: Unknown specifier: [name]
ERROR:: Model Input: In section: [material 1]
ERROR:: Model Input: For property name:[material 2] "

¿What could it be the mistake?

The solvers and Material codes are:

Solver 4
Exec Solver = After Simulation
Equation = "flux compute_Jp"
Procedure = "FluxSolver" "FluxSolver"
Flux Variable = String "Temperature_p"
Flux Coefficient = String "Heat Conductivity_p"
! Discontinuous Galerkin = Logical True
Calculate Flux = Logical True
Calculate Grad = Logical True

Linear System Solver = "Iterative"
Linear System Iterative Method = "BiCGStab"
Linear System Preconditioning = None
Linear System Max Iterations = Integer 100
Linear System Convergence Tolerance = 1.0e-10
End

Solver 6 ! calculate the heat fluxes in the bodies
Exec Solver = After Simulation
Equation = "flux compute_Jn"
Procedure = "FluxSolver" "FluxSolver"
Flux Variable = String "Temperature_n"
Flux Coefficient = String "Heat Conductivity_n"
! Discontinuous Galerkin = Logical True
Calculate Flux = Logical True
Calculate Grad = Logical True

Linear System Solver = "Iterative"
Linear System Iterative Method = "BiCGStab"
Linear System Preconditioning = None
Linear System Max Iterations = Integer 100
Linear System Convergence Tolerance = 1.0e-10
End

Material 1
Name = "Material_semic_p"
Relative Permittivity = 11.68
Heat Conductivity_n = Real $ Dn_q
Heat Conductivity_p = Real $ Dp_q
Heat Capacity = 0.0
Density = 1.0
Viscosity = 0.0
Electric Conductivity_f = Real $ sigma_p

Thanks in advance and looking forward to an answer,

John.
mika
Posts: 230
Joined: 15 Sep 2009, 07:44

Re: multiple fluxsolver

Post by mika »

Any chance that there is a missing "End" statement in the sif file (before "Material 2" section starts)?

-- Mika
Post Reply