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
how to put periodic BC in saturne GUI
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
Re: how to put periodic BC in saturne GUI
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
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
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"
, 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
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
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
thank you sylvain,
what do you mean when you say:
"Be careful that you have to use ' and not "." ?
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
i will to use k-e and latter i will to use LRN model
Re: how to put periodic BC in saturne GUI
Dear Gina,
Sylvain talks about using ' instead of ''.
Regards
Mickael
Sylvain talks about using ' instead of ''.
Regards
Mickael
Re: how to put periodic BC in saturne GUI
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
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
- Attachments
-
- saturne_simulation.rar
- (984.28 KiB) Downloaded 273 times