Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
28 nov 2012, 02:59 GMT-5
Hi,
In your geometry you may draw a line across your pipe and define a gaussian distribution in the function section.
You may add a laminar flow physics and a transport of diluted species physics.
You may add a steady state study for laminar physics only and you may run it.
Afterwards in the diluted species physics you need to define the velocity under the node Convection and diffusion 1 as velocity field. Then you need to specifiy an Inflow node where you use the gaussian function you defined beforehand to simulate an injection limited in time of a certain concentration of some diluted specie. Then you may add an unsteady state study for the Transport of diltued species only and solve for it.
You may download an example I solved for from this link:
dl.dropbox.com/u/77949267/Forum2DLaminarFineMesh_AF.mph
Be careful Comsol seems to have some huge bugs. In fact, as you may notice in the file I uploaded, varying the end-time of the simulation causes huge changes in the values of the concentration Comsol may find; in particular if the end-time of the simulation is larger than 1.9 seconds Comsol will return a zero value at all times, the highest values in concentration seem to be found for an end-time between 1.2 and 1.5 seconds.
Cheers
Hi,
In your geometry you may draw a line across your pipe and define a gaussian distribution in the function section.
You may add a laminar flow physics and a transport of diluted species physics.
You may add a steady state study for laminar physics only and you may run it.
Afterwards in the diluted species physics you need to define the velocity under the node Convection and diffusion 1 as velocity field. Then you need to specifiy an Inflow node where you use the gaussian function you defined beforehand to simulate an injection limited in time of a certain concentration of some diluted specie. Then you may add an unsteady state study for the Transport of diltued species only and solve for it.
You may download an example I solved for from this link:
https://dl.dropbox.com/u/77949267/Forum2DLaminarFineMesh_AF.mph
Be careful Comsol seems to have some huge bugs. In fact, as you may notice in the file I uploaded, varying the end-time of the simulation causes huge changes in the values of the concentration Comsol may find; in particular if the end-time of the simulation is larger than 1.9 seconds Comsol will return a zero value at all times, the highest values in concentration seem to be found for an end-time between 1.2 and 1.5 seconds.
Cheers
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
1 dic 2012, 14:55 GMT-5
Thank you very much for your help. There is one problem, the tracer dye is not following the velocity field that it should. The velocity field of the pipe is equal all the way through, notice the dye is not being "held up" at near wall where velocity is zero.
Thank you very much for your help. There is one problem, the tracer dye is not following the velocity field that it should. The velocity field of the pipe is equal all the way through, notice the dye is not being "held up" at near wall where velocity is zero.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
1 dic 2012, 15:03 GMT-5
the "select velocity field" in the transport (spf/fp1) is pulling the value for the velocity field set in laminar-initial values. Any way to get it to use the actual computed flow field?
the "select velocity field" in the transport (spf/fp1) is pulling the value for the velocity field set in laminar-initial values. Any way to get it to use the actual computed flow field?
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
1 dic 2012, 15:42 GMT-5
I have gone a different route. Since the laminar flow is so easily analytically calculated, I am deleting the laminar physics and just inputting the flow field velocity using a formula. Could anyone help me with the designation to specify the flow field velocity.
Thank you for your help, don't know why it wouldn't pull values from the laminar flow physics.
I have gone a different route. Since the laminar flow is so easily analytically calculated, I am deleting the laminar physics and just inputting the flow field velocity using a formula. Could anyone help me with the designation to specify the flow field velocity.
Thank you for your help, don't know why it wouldn't pull values from the laminar flow physics.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
4 dic 2012, 02:32 GMT-5
Hi,
First of all, my fault about the missing concentration I should have tweaked the solver and I should have set its time stepping properties to Intermediate or Strict. Please find a revised edition of the model here:
dl.dropbox.com/u/77949267/Forum2DLaminarFinerMesh_AF.mph
Second, the concentration does follow the velocity profile it is just a matter of how fine the mesh is, if it does not drop to zero or close to zero at the wall it may be due to two things: either your mesh is not fine enough especially at the boundary layer level or your cross-section line injecting mass goes all the way to the wall and thus concentration must not be zero at the wall.
Third and most important, there is still a bug I think and it regards the fact that concentration turns negative, you may notice that as the clump of mass moves along the pipe pushed by the velocity there is a zone negative in concentration in the wake of the clump itself; of course negative concentration means that the solution is wrong.
Cheers
Hi,
First of all, my fault about the missing concentration I should have tweaked the solver and I should have set its time stepping properties to Intermediate or Strict. Please find a revised edition of the model here:
https://dl.dropbox.com/u/77949267/Forum2DLaminarFinerMesh_AF.mph
Second, the concentration does follow the velocity profile it is just a matter of how fine the mesh is, if it does not drop to zero or close to zero at the wall it may be due to two things: either your mesh is not fine enough especially at the boundary layer level or your cross-section line injecting mass goes all the way to the wall and thus concentration must not be zero at the wall.
Third and most important, there is still a bug I think and it regards the fact that concentration turns negative, you may notice that as the clump of mass moves along the pipe pushed by the velocity there is a zone negative in concentration in the wake of the clump itself; of course negative concentration means that the solution is wrong.
Cheers