Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Complex_number_encountered
Posted 02.11.2009, 18:31 GMT-5 3 Replies
Please login with a confirmed email address before reporting spam
Hi,
I have the following subdomain condition for the emqvw application mode (Electric Currents). I am dynamically setting the conductivity as a function of the concentration according to the Debye-Huckel equation.
I initially solve for the stokes flow and convection and diffusion, then followed by electric currents using the current solution.
The sequence of global equations start with the a point evaluation to find the concentration [mol/m^3]:
I investigate the conductivity1 plot using the global variable evaluation, and I get an expected response.
But the solver (SPOOLES) fails and gives me:
My thoughts are is there anyway to check the units associated with the global variables. I have made an attempt at validating the SI base units by hand and using the automatic mechanism in the constants window.
Clearly from the plot (attached) there are no silly initial conditions? So my only thought is have I got some strange units (and does this matter?), or is there something else?
Regards,
Tom
I have the following subdomain condition for the emqvw application mode (Electric Currents). I am dynamically setting the conductivity as a function of the concentration according to the Debye-Huckel equation.
I initially solve for the stokes flow and convection and diffusion, then followed by electric currents using the current solution.
The sequence of global equations start with the a point evaluation to find the concentration [mol/m^3]:
AveConc = (ConcO/1000)
conductivity = (AveConc*Inf_dilution*activity_coeff)
conductivity1 = 5.56e-3+(conductivity3*flc1hs(t-1,10))
I investigate the conductivity1 plot using the global variable evaluation, and I get an expected response.
But the solver (SPOOLES) fails and gives me:
Error:
Failed to find consistent initial values.
Complex_number_encountered
Last time step is not converged.
My thoughts are is there anyway to check the units associated with the global variables. I have made an attempt at validating the SI base units by hand and using the automatic mechanism in the constants window.
Clearly from the plot (attached) there are no silly initial conditions? So my only thought is have I got some strange units (and does this matter?), or is there something else?
Regards,
Tom
Attachments:
3 Replies Last Post 04.11.2009, 01:57 GMT-5