Simulation of air flow in a room

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Damien Charreron

Re: Simulation of air flow in a room

Post by Damien Charreron »

You can find my case folder attached.

Best regards,

Damien
Attachments
etudetest-tar.gz
(3.41 MiB) Downloaded 140 times
Jacques Fontaine

Re: Simulation of air flow in a room

Post by Jacques Fontaine »

I found the bug:
void cs_user_mesh_thinwall(cs_mesh_t  *mesh) {   return; /* REMOVE_LINE_FOR_USE_OF_SUBROUTINE */
 
You need to remove "return;" in order to use subroutines.
Best regards,
JF
Damien Charreron

Re: Simulation of air flow in a room

Post by Damien Charreron »

Thank you! I works much better now!
Would it be too much to ask you the few lines of command in order to set it as input with velocity and a temperature? It seems that mine are wrong.
Have a good week end!
Damien
Jacques Fontaine

Re: Simulation of air flow in a room

Post by Jacques Fontaine »

Hello,
I posted an example with sliding walls. This is quite similar with a wall/inlet. You must select faces and then you must select a side of the face with its normal. (surfbo)
Best regards,
JF
Post Reply