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.
Loop a coupled in-out time dependent closed system
Posted May 15, 2015, 11:04 a.m. EDT Interfacing, LiveLink for MATLAB, Modeling Tools & Definitions, Parameters, Variables, & Functions, Studies & Solvers Version 4.4 0 Replies
Please login with a confirmed email address before reporting spam
My system is more or less an external mixed vessel (CSTR) and a tubular reactor (PFR) feeded by the vessel and that discharge in the vessel.
For this reason my system is closed.
I have to simulate the behavior of the PFR in a 1D system. We know from previous studies that the 2D system and 1D system give good match until the length of the PFR is less then a specific value.
I have solved the problem using an external loop made with Matlab in which i pass throught the steps the concentration profiles from the previous outlet to the next inlet. I test it in a stationary model in which the first inlet of the PFR in constant (this means that the external vessel has almost infinte volume so the discharge of the system doesn't change the concentration in it) and it gives great result.
Now I have to consider the time dependant variation of the concentration in the vessel and in the inlet.
Here the problems arise. :|
Someone have some ideas on how to do it?
I can create a time dependant cycle in Matlab passing the information in-out through it but in this case I have to use a really short time step to obtain decent result and this erase all the advantages of a optimized time-dependant analysis. In fact one of the aim of my study is to obtain a very short calculation time (the 2D system works perfectly but it's too slow)
The problem is that the outlet of the last sub-system act on the inlet of the first sub-system via the mixed external vessel and I can't ignore the propagation of the concentration inside the pipe.
This is just a Comsol-Matlab-Programming problem.
Regarding the physical aspect maybe I can solve every time-step as a stationary model if the relaxation time of the system is shorter than the time interval.
Hello Symo90
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.