Search found 9 matches

by VDavid
Tue Sep 06, 2022 10:40 am
Forum: code_saturne usage
Topic: LES - wall discretization in street canyons
Replies: 1
Views: 660

LES - wall discretization in street canyons

Hello all, I am working on optimizing the PSWIFT parametrization of complex street canyon geometries. For that, I am currently setting up an LES simulation for a periodic street canyon (see picture) and I was wondering about the cell sizes near the walls. My university tutor told me to aim for y+ = ...
by VDavid
Wed Jun 15, 2022 1:02 pm
Forum: code_saturne usage
Topic: Setting periodic boundary conditions
Replies: 9
Views: 2504

Re: Setting periodic boundary conditions

Hello Yvan, I have now changed my approach to a source term. I defined a group of cells called 'Source_cells' on the top of the domain, where the velocity in x direction should be 8 m/s. I wrote that term into the ustsnv subroutine of cs_user_source_term.f90. However, the value reached after converg...
by VDavid
Thu Jun 09, 2022 9:38 am
Forum: code_saturne usage
Topic: Equivalent of the RNG k-epsilon model?
Replies: 2
Views: 972

Re: Equivalent of the RNG k-epsilon model?

Hello Yvan,

Thank you so much for your clarifications!

Bonne journée,

Victor
by VDavid
Mon May 23, 2022 1:32 pm
Forum: code_saturne usage
Topic: Equivalent of the RNG k-epsilon model?
Replies: 2
Views: 972

Equivalent of the RNG k-epsilon model?

Hello,

Does anybody know if there is an equivalent model to the RNG k-epsilon model in code saturne? I have tried looking into the theory of the linear production model but it does'nt seem to be exactly the same model.

Thanks a lot in advance for your help!

Best regards,

Victor
by VDavid
Mon May 23, 2022 1:30 pm
Forum: code_saturne usage
Topic: Setting periodic boundary conditions
Replies: 9
Views: 2504

Re: Setting periodic boundary conditions

Hello Yvan, Thank you very much for your helpful answers! I have managed defining a horizontal inlet BC by activating the atmospheric module and giving the code a meteorological file containing a simple 1D velocity profile with only horizontal U-components. Right now, it looks like code saturne read...
by VDavid
Fri May 13, 2022 1:15 pm
Forum: code_saturne usage
Topic: Setting periodic boundary conditions
Replies: 9
Views: 2504

Re: Setting periodic boundary conditions

Hello, The flow is fully turbulent, so the problem might be due to the wall function, as you pointed out. In case of the inlet type boundary condition with a tangential component (acting as a regular dirichlet), would that be the same problem? Would there also be some sort of wall function created? ...
by VDavid
Fri May 13, 2022 8:58 am
Forum: code_saturne usage
Topic: Setting periodic boundary conditions
Replies: 9
Views: 2504

Re: Setting periodic boundary conditions

Hello Yvan, thank you so much for your reply, I have now made the periodicity work and the simulation runs fine! The only issue I have left is when setting my boundary condition at the top of the domain. I want to impose a tangential velocity component Ux = 8 m/s at z = 180 m (so at the top boundary...
by VDavid
Wed May 04, 2022 2:09 pm
Forum: code_saturne usage
Topic: Setting periodic boundary conditions
Replies: 9
Views: 2504

Setting periodic boundary conditions

Hello, I am new to code_saturne and I am trying to simulate the flow over a series of urban street canyon (gaps between buildings). To do that, I chose to apply periodic boundary conditions between the inlet and outlet faces ('West' and 'East'). When I launch the simulation, those periodicities seem...
by VDavid
Wed May 04, 2022 11:12 am
Forum: code_saturne usage
Topic: Issues with creation of periodic boundaries
Replies: 5
Views: 2884

Re: Issues with creation of periodic boundaries

Hi Yvan!

I'm having the same issue as Daniele and I used a normal velocity profile at my inlet. My periodic boundary conditions are set between the inlet and outlet face. Is that velocity profile preventing the periodicity to settle in?

Best regards!

Victor