Page 2 of 2
Re: how to put periodic BC in saturne GUI
Posted: Mon Jan 24, 2011 2:16 pm
by gina
Dear Mickael,
the ustsns.f90 wich i use i give it from an other periodic test case in this forum...
can you please tell me what can I write instead of "getfac("entree",...,...)" for my test case?
it is my first use of saturne can you please orient me!
i thank you
Re: how to put periodic BC in saturne GUI
Posted: Mon Jan 24, 2011 3:26 pm
by Mickael Hassanaly
Gina,
you should apply your source term in the cells of your mesh that are near the inlet boundary. Use for this a geometrical criteria and the getcel function.
Regards
Re: how to put periodic BC in saturne GUI
Posted: Mon Jan 24, 2011 5:59 pm
by gina
I have use the subroutine of Sylvain done for a periodicity in the x direction, like me
, please see the below link:
periodic boundary and velocity source production using ustsns
it is not correct to follow his steps and to write:
"getfac("inlet",...,...)" instead "getfac("entree
",...,...)"
because i have name the inlet BC in gambit
by "inlet"
Re: how to put periodic BC in saturne GUI
Posted: Mon Jan 24, 2011 6:47 pm
by Serra Sylvain
Hi Gina,
if the name of the boundary condition in gambit is 'inlet', you have to put 'inlet' instead of 'entree' in the ustsns.f90.
I use "call getfac" because when the boundary conditions are periodics the are not boundary faces (call getfbr) but interior faces.
Be careful that you have to use ' and not ".
others important points are
- the value of the surface of inlet that in my case is 0.5 and you have to modify it in the following line. debitn = abs(debitn) / 0.5
- I don't try this subrtouine with all the turbulence model.
In my case, it works with RANS k-omega model but not with LES smago and dynamic... For the moment I don't find the problem.
Best regards
Sylvain
Re: how to put periodic BC in saturne GUI
Posted: Mon Jan 24, 2011 6:56 pm
by gina
thank you sylvain,
what do you mean when you say:
"Be careful that you have to use ' and not "." ?
Re: how to put periodic BC in saturne GUI
Posted: Mon Jan 24, 2011 6:59 pm
by gina
i will to use k-e and latter i will to use LRN model
Re: how to put periodic BC in saturne GUI
Posted: Tue Jan 25, 2011 10:44 am
by Mickael Hassanaly
Dear Gina,
Sylvain talks about using ' instead of ''.
Regards
Mickael
Re: how to put periodic BC in saturne GUI
Posted: Tue Jan 25, 2011 1:42 pm
by gina
I thank you very much Michael and Sylvain for your answers.
I have do my simulation, and I have got a result BUT, the values of TKE is vey small compared to DNS and Fluent results!!!
I think that I have introduice correctly my data !!!
I have simulate 2D channel flow with dimensions (x*y*z) = (100*0.5*1)m for the helf of my geometry
y is the height, and z is the third dimension.
you can find my files results as attached
please gives me your orientation