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
Posted 5 juil. 2012, 10:47 UTC−4 Chemical Reaction Engineering, Parameters, Variables, & Functions Version 4.2a 1 Reply
Please login with a confirmed email address before reporting spam
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
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.