Page 1 of 3

Simulation of air flow in a room

Posted: Fri Jan 06, 2012 11:38 am
by Damien Charreron
Hello!

My question is more concerning Salome than CS, but here it is. I am
working on a simulation of air flows in a room.   I have launched
the CS with a hot inlet and an outlet and the simulation went well. As CS
doesn't work with 2D, I have made a partition of my cube (room) in the Geometry
module of Salome, it looks a bit messy but it works fine!
Now, I am wondering how I can include some blocks, inside the room, which
will react like obstacles. Is there a solution to do not mesh inside the
blocks? Do I have to set all the face of the blocks as walls (very boring and
messy)?
 
Thanks and best regards,
 
Damien

Re: Simulation of air flow in a room

Posted: Sat Jan 07, 2012 11:34 am
by Laurent Malod-Panisset
Hi
Have you tried to check the tutorial and/or manual for the Head Loss?
If i remember well, you can specify something like X>-10 X<10 Y>-10 Y<10 then give the coef creating a head loss.
 
Regards

Re: Simulation of air flow in a room

Posted: Mon Jan 09, 2012 10:08 am
by Damien Charreron
yes! Thanks you, I didn't made the second tutorial yet, I just saw the obstacle case.

Re: Simulation of air flow in a room

Posted: Fri Jan 13, 2012 4:11 pm
by Damien Charreron
Hello! 
Now that I have done the tutorial I am able to create an obstacle inside my room. However, I have issues when I want to simulate an inlet on this obstacle. I spent all the ideas I had to solve it. I tried involving two meshes, or just one with an inlet and walls group on the obstacle. Does somebody have an idea?
 
Best regards,
 
Damien

Re: Simulation of air flow in a room

Posted: Fri Jan 13, 2012 5:21 pm
by Jacques Fontaine
Hello,
If the geometry of the obstacle is very simple (cube, ...) you can use the user function cs_user_mesh_thinwall. This function allows to transform internal faces into boundary faces onto which you can impose boundary conditions.
I think you can also add a mass source term on the layer of your head loss box. I'm not sure if it works and it is more complicated to implement.
Best regards,
JF

Re: Simulation of air flow in a room

Posted: Fri Jan 13, 2012 8:21 pm
by Lucien Samary
From which version cs_user_mesh_thinwall is available?

Re: Simulation of air flow in a room

Posted: Sat Jan 14, 2012 7:46 pm
by Yvan Fournier
Hello,
It was added in version 2.1.
Best regards,
  Yvan

Re: Simulation of air flow in a room

Posted: Thu Jan 19, 2012 11:47 am
by Damien Charreron
Hello!
 
I am not
quite sure about how to use the subroutines. I have activated it by copying
under SRC but now it's not really clear for me because I am using Salome to
make my meshes. Should I modify the file?  Is it possible to have an explanation of how
to use the zero thickness wall function or an example because I don’t understand
the one already in the file.
 
 Best regards,
 
Damien

Re: Simulation of air flow in a room

Posted: Thu Jan 19, 2012 12:47 pm
by Jacques Fontaine
Hello,

I have attached an example: a single lid-driven cavity transformed into a 4 lid-driven cavities.

Best regards,

JF

Re: Simulation of air flow in a room

Posted: Thu Jan 19, 2012 9:15 pm
by Lucien Samary
Very nice new feature. Thanks ! :)