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.

Fluid flow

Carlos Perez de la Blanca Castellano

Please login with a confirmed email address before reporting spam



Hi,

is there any way to make a fluid flow in a close circuit????I mean,i have a close circuit of pipes.One part of the circuit is exposed to a heat flux,and i would like to see the fluid circulation and temperature in that circuit after Xseconds simulation.

What do i have to do??

Thanks,

Regards,

Carlos

13 Replies Last Post Nov 17, 2011, 11:00 a.m. EST
Lechoslaw Krolikowski

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Nov 14, 2011, 8:45 a.m. EST
Hi,

I recommend to study the example of Free Convection, which can be found in the Model Library.

Regards,
Andrzej
Hi, I recommend to study the example of Free Convection, which can be found in the Model Library. Regards, Andrzej

Carlos Perez de la Blanca Castellano

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Nov 14, 2011, 9:06 a.m. EST

Hi Andrzej,


How could i put that the temperature at the entrance would be the same that the temperature at the outlet??I mean,i have a fluid entering at 293K which is exposed to a heat flux,then is cooled because it transfers heat to a storage,and i would like to have this temperature fluid at the entrance,and the same process during the simulation,like a circulating fluid.

Thanks,

Carlos
Hi Andrzej, How could i put that the temperature at the entrance would be the same that the temperature at the outlet??I mean,i have a fluid entering at 293K which is exposed to a heat flux,then is cooled because it transfers heat to a storage,and i would like to have this temperature fluid at the entrance,and the same process during the simulation,like a circulating fluid. Thanks, Carlos


Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Nov 14, 2011, 10:45 a.m. EST
Hi

I believe there is a "fan" BC in CFD now in 4.2a but I havent used it, do not know if it works for fluids

--
Good luck
Ivar
Hi I believe there is a "fan" BC in CFD now in 4.2a but I havent used it, do not know if it works for fluids -- Good luck Ivar

Lechoslaw Krolikowski

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Nov 14, 2011, 10:56 a.m. EST
Hi,

Previously it seemed to me that in your system there is free convection. This is not so.

Do you want to assume that the inflow temp of oil is the same as outflow temp of oil?
In this case, when the heat flux entering your system is constant, the temperature of the system will grow without bound!

Regards,
Andrzej
Hi, Previously it seemed to me that in your system there is free convection. This is not so. Do you want to assume that the inflow temp of oil is the same as outflow temp of oil? In this case, when the heat flux entering your system is constant, the temperature of the system will grow without bound! Regards, Andrzej

Carlos Perez de la Blanca Castellano

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Nov 14, 2011, 11:13 a.m. EST



Andrezj!!

What i want to do is:

At the beginning of the simulation i will have a fluid entering at 293K.This fluid will "received" the heat flux,it will be heated(imagine 400K),and then it will pass through the storage,giving his heat and loosing temperature,so imagine it goes out at 300K.

I want to repeat this process but with the new inlet temperature(300K)........i want to simulate the fluid circulating,like if the inlet and the outlet were connected.Th fluid at the outlet will go another time to the inlet and will be heated another time.

Do you understand me??I hope so.

Andrezj!! What i want to do is: At the beginning of the simulation i will have a fluid entering at 293K.This fluid will "received" the heat flux,it will be heated(imagine 400K),and then it will pass through the storage,giving his heat and loosing temperature,so imagine it goes out at 300K. I want to repeat this process but with the new inlet temperature(300K)........i want to simulate the fluid circulating,like if the inlet and the outlet were connected.Th fluid at the outlet will go another time to the inlet and will be heated another time. Do you understand me??I hope so.

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Nov 14, 2011, 2:40 p.m. EST
Hi
you can map the temperature of one boundary over to another with a coupling operator, then you add a few degrees for the DT value, particularly if it is constant.
But be aware, you have quite some "positive feedback" in your model like that, you will end up with a Temperature of a few millions degrees if you go on for long ;)

--
Good luck
Ivar
Hi you can map the temperature of one boundary over to another with a coupling operator, then you add a few degrees for the DT value, particularly if it is constant. But be aware, you have quite some "positive feedback" in your model like that, you will end up with a Temperature of a few millions degrees if you go on for long ;) -- Good luck Ivar

Carlos Perez de la Blanca Castellano

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Nov 14, 2011, 2:48 p.m. EST



Hi,

What is a coupling operator,??

I dont want to add degrees to the inlet temperature,i just want the inlet temperature to be the same that the one at the outlet at every time step in the simulation
Hi, What is a coupling operator,?? I dont want to add degrees to the inlet temperature,i just want the inlet temperature to be the same that the one at the outlet at every time step in the simulation

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Nov 14, 2011, 4:58 p.m. EST
Hi

check the Definition - Model couplings - and look up the help and doc for the 4 first in the list ;)

--
Good luck
Ivar
Hi check the Definition - Model couplings - and look up the help and doc for the 4 first in the list ;) -- Good luck Ivar

Carlos Perez de la Blanca Castellano

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Nov 15, 2011, 3:50 a.m. EST



Hi,


I think i have to use BOUNDARY SIMILARITY.I have define the operator name,the source boundary(outlet),the destination boundary(inlet)......but i think i should put something in the TEMPEARTURE BOUNDARY....what do i have to do?
Hi, I think i have to use BOUNDARY SIMILARITY.I have define the operator name,the source boundary(outlet),the destination boundary(inlet)......but i think i should put something in the TEMPEARTURE BOUNDARY....what do i have to do?

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Nov 15, 2011, 3:48 p.m. EST
Hi

that is one possibility, you have also the possibility to define an average operator on the output edge, and get the average output temperatre, then use this scalar value as input for the inflow temperature (by adding whatever you need as offset). Or you can se a mapping operator to map the temperature T(s) where s=0 to 1 along the output edge low region onto the input edge, such that you can use the mapping of T on the input to add to the output + whatever offset you want.

So there are many possibilities, all depends what you desire to model

--
Good luck
Ivar
Hi that is one possibility, you have also the possibility to define an average operator on the output edge, and get the average output temperatre, then use this scalar value as input for the inflow temperature (by adding whatever you need as offset). Or you can se a mapping operator to map the temperature T(s) where s=0 to 1 along the output edge low region onto the input edge, such that you can use the mapping of T on the input to add to the output + whatever offset you want. So there are many possibilities, all depends what you desire to model -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Nov 16, 2011, 12:23 a.m. EST
Hi,

please i am new to comsol, need to do some modelling for some parts of my thesis.

what i am trying to do is two fold

1 - flow in 2D through an idealized porous medium (since we have validation data for this). The medium is a periodic array of cylinders. But to do this, we define one grid cell (a square) with an obstacle in the center of the grid (a circle) and then set the boundaries of the square to be periodic and open to flow, while the boundaries of the circle are impermeable to the fluid flowing but could have some kind of slip boundary condition.

2 - the same idea as in 1 but this time in 3D using a cube instead of a square and a sphere in the center of the cube instead of a circle.

So far I am starting off on the 2D case. I have created a square using the square button and put a circle in the middle of the square after which I subtracted (boolean operation - difference) the circle from the square. My major challenge now is how to pick the boundaries of the circle to be different from the boundaries of the square since they both select as one object in the model.

Subsequently, I would need to know how to also allow fluid flow through the square boundaries and also make this one grid cell periodic.

I hope I can get some pointers in the right direction with this, any help is very much appreciated.

Thanks in advance
Hi, please i am new to comsol, need to do some modelling for some parts of my thesis. what i am trying to do is two fold 1 - flow in 2D through an idealized porous medium (since we have validation data for this). The medium is a periodic array of cylinders. But to do this, we define one grid cell (a square) with an obstacle in the center of the grid (a circle) and then set the boundaries of the square to be periodic and open to flow, while the boundaries of the circle are impermeable to the fluid flowing but could have some kind of slip boundary condition. 2 - the same idea as in 1 but this time in 3D using a cube instead of a square and a sphere in the center of the cube instead of a circle. So far I am starting off on the 2D case. I have created a square using the square button and put a circle in the middle of the square after which I subtracted (boolean operation - difference) the circle from the square. My major challenge now is how to pick the boundaries of the circle to be different from the boundaries of the square since they both select as one object in the model. Subsequently, I would need to know how to also allow fluid flow through the square boundaries and also make this one grid cell periodic. I hope I can get some pointers in the right direction with this, any help is very much appreciated. Thanks in advance

Carlos Perez de la Blanca Castellano

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Nov 17, 2011, 7:08 a.m. EST



Hi Ivar,


Im doinf a 3D simulation,but it doesnt run because it says there is an "error:problem setting up multigrid"

How can i overcome that???


Thanks,

Carlos
Hi Ivar, Im doinf a 3D simulation,but it doesnt run because it says there is an "error:problem setting up multigrid" How can i overcome that??? Thanks, Carlos

Carlos Perez de la Blanca Castellano

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Nov 17, 2011, 11:00 a.m. EST


Hi,

In trying to use the boundary similarity in a 3D design, but it doesnt run--> "Try to specify a mapping"

What should i do???
Hi, In trying to use the boundary similarity in a 3D design, but it doesnt run--> "Try to specify a mapping" What should i do???

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.