how to put periodic BC in saturne GUI

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

how to put periodic BC in saturne GUI

Post by gina »

Hi,
 
I dont know how to define the periodicity in Saturne Gui in the panal mesh-->periodic
in reference group...
can you tell me how to do it,
i have a channel in 2D and i have do my geometry in gambit
 
please help m
Mickael Hassanaly

Re: how to put periodic BC in saturne GUI

Post by Mickael Hassanaly »

Dear Gina,
In reference group you must specify the groups of boundary conditions which are supposed to be periodic.
In your case, i think it should be a translation periodicity so you must give the translation vector between the periodic boundary faces.
Best regards
Mickaël Hassanaly
gina

Re: how to put periodic BC in saturne GUI

Post by gina »

Thank you Mickaël Hassanaly for your answer,
yes I have choose translation between my inlet and outlet, but please how can i complete the table just down translation!?
about reference group!!! 
Mickael Hassanaly

Re: how to put periodic BC in saturne GUI

Post by Mickael Hassanaly »

Gina,
just click on "New" then double click on the case below "groups" and then write "inlet outlet". You haven't to fill "references" because you mesh is made with Gambit.
Mickaël
gina

Re: how to put periodic BC in saturne GUI

Post by gina »

ok thanks

I think you meant that " inlet " and "outlet" are the name for my inlet and outlet face wich I put in Gambit! it that? because I have do this and i have run my calculation with a time step of 0.001, but after 182 iteration i have error!!! you can see this in the attached!
Attachments
listing-01201424.txt
(163.95 KiB) Downloaded 268 times
Mickael Hassanaly

Re: how to put periodic BC in saturne GUI

Post by Mickael Hassanaly »

Could you send me your full set up (mesh and fortrans routines), please?
Mickaël
 
gina

Re: how to put periodic BC in saturne GUI

Post by gina »

I have considerate 2D channel

I have put in GUI saturne properties of air, and I have take the translation Tx=100,
v(ref)=18,4539 and time step=0.001s
Attachments
ustsns.f90
(17.66 KiB) Downloaded 251 times
inccha.h
(71 Bytes) Downloaded 257 times
helf_channel.rar
(672.31 KiB) Downloaded 277 times
Mickael Hassanaly

Re: how to put periodic BC in saturne GUI

Post by Mickael Hassanaly »

Sorry, i need also the xml file.
gina

Re: how to put periodic BC in saturne GUI

Post by gina »

here is the .xlm but it is not the last one wich i do...

thank you for your help
Attachments
helf_channel.xml
(7.14 KiB) Downloaded 270 times
Mickael Hassanaly

Re: how to put periodic BC in saturne GUI

Post by Mickael Hassanaly »

Dear Gina,

Your periodicity concerns the groups inlet and outlet defined as boundary conditions of your mesh through GAMBIT. So as explained you upper, you don't have to fill the references box but groups box with "inlet outlet".

The routines you give me aren't correct for the current set up because in your ustsns.f90, you call a getfac("entree",...,...) but entree isn't a boundary face existing in your mesh. Moreover getfac is used for internal faces not boundary faces.

Best regards

Mickaël
Post Reply