## multiple fluxsolver

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

### multiple fluxsolver

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

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

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