COMSOL Forums: continuous magnetic separation model
http://www.comsol.com/community/forums/general/thread/13700/
Most recent forum messagesMon, 08 Apr 2013 03:27:06 +0000COMSOL Forums: continuous magnetic separation modelhttp://www.comsol.com/shared/images/logos/comsol_logo.gif
http://www.comsol.com/community/forums/general/thread/13700/
Re: continuous magnetic separation model
http://www.comsol.com/community/forums/general/thread/13700/#p100150
<div class="quote"><br />
Hi<br />
<br />
in that case you should look over the solver step settings, normally you should see an automatic, strict and intermediate in the pull down list. Choose intermediate for periodic or pulsing systems, and ensure that your "range" or time step list is sufficiently fine to have a minimum of 3-5 points per period or rise/fall time. the time stepping you define does not need to be regular, only monotonically increasing (or decreasing)<br />
<br />
--<br />
Good luck<br />
Ivar<br />
</div><br />
<br />
HI Ivar,<br />
I am trying to implement a pulse on my inlet (C=0 for t < t1 and C=Co for t1<t<t2 and then this continues). I have changed my time stepping settings from "free" to "intermediate".But I could not go beyond one pulse. The solution did not converge and achieved singularity at the end of the first pulse duration. So, as suggested in the thread below I have moved to "Manual Generalized alpha" time stepping scheme. Now I am getting as many number of pulses I want but I am little circumspect regarding the accuracy of the solution. I am trying to use very small time steps in my problem. I am not sure why " BDF>Intermediate" Solver setting did not work in my case. Do you have any additional tips for problems involving pulsing BCs ? <br />
<br />
<a href="http://www.comsol.com/community/forums/general/thread/20971/" title="www.comsol.com/community/forums/general/thread/20971/">www.comsol.com/community/forums/general/thread/20971/</a><br />
<br />
Regards,<br />
Sanket<br />
Mon, 08 Apr 2013 03:27:06 +000013700.1365391626.100150Re: continuous magnetic separation model
http://www.comsol.com/community/forums/general/thread/13700/#p54166
Hi,<br />
<br />
I tried to use the suggestion given by you on the blog and also tried to implement different suggestions on the Comsol Forum , but I havenot achieved desired result.<br />
<br />
My Objective: Pulse width = 0.5ms, frequency = 10Hz, period = 1/frequency = 0.1s. Heating for 1sec and cooling for 5 sec.<br />
<br />
Baed on suggestion, pulseON=(mod(t,pulse_period)<=pulse_width), which is writen in my model as follows<br />
<br />
Heat flux = avg_pd_new1 = avg_pd*(mod(t,0.1)<=5e-4)<br />
<br />
My problem is : Even if I get the plot of pulse train of frequecy 10Hz and pulse width 0.5 ms, which I can plot on analytic function (an1), but my output remains ON only for the first pulse and rest is OFF.<br />
<br />
Also, I did tried several other suggestion, which is plot in analytic function as an2,an3 <br />
<br />
Please suggest me some solution. I am attaching my model for reference. <br />
<br />
Regards,<br />
Hitesh<br />
<br />
Mon, 20 Jun 2011 16:05:30 +000013700.1308585930.54166Re: continuous magnetic separation model
http://www.comsol.com/community/forums/general/thread/13700/#p36985
I there anyone else who can help?Thu, 03 Feb 2011 18:11:32 +000013700.1296756692.36985Re: continuous magnetic separation model
http://www.comsol.com/community/forums/general/thread/13700/#p36979
Hi<br />
<br />
singular matrix normally means not enough BC's to make an unique solution. <br />
I'm curently on a travel for a few days, and no COMSOL with me ;) so I have no chance to check anything for some time <br />
<br />
--<br />
Good luck<br />
IvarThu, 03 Feb 2011 17:59:14 +000013700.1296755954.36979Re: continuous magnetic separation model
http://www.comsol.com/community/forums/general/thread/13700/#p36952
Hi Ivar,<br />
<br />
Given that version 4 handles the square pulse train better than 3.5, I modeled the same in COMSOL 4 (please see attached). <br />
<br />
I used magnetic field no currents module to generate "square pulse train" magnetic field boundaries which magnetize the wires present inside them.<br />
<br />
I have coupled this to Laminar flow and convective diffusive with migration modules. However when I run these two in series I get an error:<br />
<br />
"Failed to find consistent values.<br />
Singular Matrix"<br />
<br />
Is this because the two study steps are not linked or is it not solving the pulsing magnetic field?<br />
<br />
Please help!<br />
<br />
AshaThu, 03 Feb 2011 16:14:57 +000013700.1296749697.36952Re: continuous magnetic separation model
http://www.comsol.com/community/forums/general/thread/13700/#p36721
Hi<br />
<br />
in that case you should look over the solver step settings, normally you should see an automatic, strict and intermediate in the pull down list. Choose intermediate for periodic or pulsing systems, and ensure that your "range" or time step list is sufficiently fine to have a minimum of 3-5 points per period or rise/fall time. the time stepping you define does not need to be regular, only monotonically increasing (or decreasing)<br />
<br />
--<br />
Good luck<br />
IvarWed, 02 Feb 2011 05:11:17 +000013700.1296623477.36721Re: continuous magnetic separation model
http://www.comsol.com/community/forums/general/thread/13700/#p36709
Thanks Ivar. I did use heaviside function "flc2hs" to model a square pulse train and the model does not involve current, so that should not be the problem.<br />
Is there a way by which we can set up intermediate step solving rather than the default setting?<br />
Tue, 01 Feb 2011 22:23:02 +000013700.1296598982.36709Re: continuous magnetic separation model
http://www.comsol.com/community/forums/general/thread/13700/#p36694
Hi<br />
<br />
you have amny questions there, andI cannot amange to answer all, but I hope other can also help. <br />
One thing though (even before I can open the model) if you say you have "square" pulses, do not forget that dirac steps are not well modelled, you need to "smoothen" them the solver is based on estimation of the next calue based on gradient (derivative) estimations. These cannot be performed correctly with "square" step functions. <br />
You should use the Heavisie functions see th doc (these are auomatically included in the v4 "step" & ramp operators).<br />
Then you must note that the sover by default is using "automatical" stepping spesialised for diffusion type solutions. when you apply pulses or periodic functions yu must use the "strict" or intermediate" solver time stepping settings, and ensure that your time range is sufficiety dense to resolve correctly theperiodes, incuding a few step during the rise nd fall times of your "pulses"<br />
<br />
And do neither not forget that if you are pulsing a current via a voltage you might have inductive effects appearing, that will deform your expected current pulses (all depends how you have set up your model.<br />
<br />
--<br />
Good luck<br />
IvarTue, 01 Feb 2011 19:57:33 +000013700.1296590253.36694continuous magnetic separation model
http://www.comsol.com/community/forums/general/thread/13700/#p36683
I am modeling a continuous magnetic separator. As it can be seen from the model attached, I have five magnetizable wires that get magnetized by the magnetic field boundary conditions applied to the boundaries of the surrounding domain.<br />
I have applied a square wave function for the magnetic field boundary condition to simulate magnet on-off situation. The Nernst Planck equation calculates the concentration profiles for particles moving under the influence of convection, diffusion and magnetic force (represented here as voltage).<br />
<br />
I solve for magnetic field first. Save the results and then follow it with solving the nernst planck and navier stokes equation simultaneously (since I have expressed viscosity as a function of concentration).<br />
<br />
I had a couple of strange results and was hoping for your help on it.<br />
<br />
1. The square function applied resulted in not a smooth square magnetic field function but rather a sinusoidal increasing and decreasing magnetic field, followed by zero field for a period<br />
<br />
Is the boundary conditions inputted wrong?<br />
<br />
2. After solving the navier stokes/nernst planck equations, magnetic field was observed again as a function of time. It now showed a constant magnetic field and not the square function that was inputted (or the sinusoidal function that was observed).<br />
<br />
Why does this happen?<br />
<br />
3. Magnetic field of the wires should attract the particles while the flow pushes it through the outlet. Given that the on-off magnetic field was applied, it is natural to expect a greater concentration of particles exiting boundary 15 compared to 14. However, boundary integration yields the almost same concentration/flux for the two boundaries.<br />
<br />
Why is that so?<br />
<br />
<br />
Any help on this will be appreciated. <br />
-AshaTue, 01 Feb 2011 18:57:09 +000013700.1296586629.36683