Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

How to change properties before second step simulation

Please login with a confirmed email address before reporting spam

Hi,

I am modeling the electrodialysis effect in two sqare channels, one being the dilute channel and the other one the concentrate channel.

My problem is that many of my properties (density, viscosity, diffusion, etc. ) depend on the concentration in each channel. I have the initial concentration of both channels. My geometry is very small, and simulating the process one time is not a problem. I loose a little bit of concentration in the dilute channel and I gain a little bit on the concentrate channel, so I assume that the properties calculated with the initial concentration are adequate.

Now, I am "recirculating" my electrolyte through my channels, the diluted electrolyte goes in the dilute channel and the concentrated electrolyte goes in the concentrated channel. I do this defining some ODE's in the outlet of my channels and using the variable created as inflow. Since I am doing a time dependent simulation, at some point, the concentration in the dilute and in the concentrate channel will be completely different from the initial concentration, so I need to recalculate my properties with the new concentration.

How can I recalculate my properties before doing the second step of my simulation?

I hope I was clear and you can help me.



Oscar


1 Reply Last Post 2016年5月5日 GMT-4 14:14
COMSOL Moderator

Hello Oscar Vera

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.


Maria Elena Orduna Alegria

Please login with a confirmed email address before reporting spam

Posted: 9 years ago 2016年5月5日 GMT-4 14:14
Hi Oscar,

I`m curently working on a electrodialysis model, and I have a problem with the membranes and maybe you can help me

Which module did you use to specify the membranes?
I`m using pointwise contraints in secondary current distribution module from electochemistry. But when I run it I have an error saying "Failed to evaluate variable Jacobian". And Im using a 3D model.

So I`m wondering if there is any other way to put the membranes?

Thanks for your help in advance



Hi Oscar, I`m curently working on a electrodialysis model, and I have a problem with the membranes and maybe you can help me Which module did you use to specify the membranes? I`m using pointwise contraints in secondary current distribution module from electochemistry. But when I run it I have an error saying "Failed to evaluate variable Jacobian". And Im using a 3D model. So I`m wondering if there is any other way to put the membranes? Thanks for your help in advance

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.