Search found 35 matches

by C.FLAG.
Sun Jun 14, 2026 5:37 pm
Forum: Discussion
Topic: Phase averaging for unsteady cases
Replies: 0
Views: 57

Phase averaging for unsteady cases

Hello,

I am currently working on LES of an unsteady case with harmonic forcing. I am collecting time-averaged statistics for various quantities. Is there a way to collect phase-averaged statistics using cs_time_moment_define_by_func ?

I could not easily sketch a way, thus I am currently planning ...
by C.FLAG.
Wed Sep 18, 2024 10:49 am
Forum: code_saturne usage
Topic: Tutorial FSI
Replies: 7
Views: 25451

Re: Tutorial FSI

Thank you for the quick reply Yvan !
by C.FLAG.
Thu Sep 12, 2024 3:08 pm
Forum: code_saturne usage
Topic: Tutorial FSI
Replies: 7
Views: 25451

Re: Tutorial FSI

Hello,

Do you know if there are plans to update the FSI tutorials ?

Cheers,
Cédric
by C.FLAG.
Fri Apr 21, 2023 8:11 am
Forum: code_saturne usage
Topic: Boundary forces and internal coupling
Replies: 1
Views: 7002

Boundary forces and internal coupling

Hello,

I am running a case with internal coupling and natural convection (Boussinesq). On the solid side, the pressure seems exactly constant and the velocity is zero, as expected. However, when looking at Yplus on coupled faces or when looking at the average / variance of the field "boundary ...
by C.FLAG.
Mon May 11, 2020 4:44 pm
Forum: code_saturne usage
Topic: Computation of ustar during a restart on a frozen field
Replies: 3
Views: 6900

Re: Computation of ustar during a restart on a frozen field

Hello,

Here is the modification in tridim so that I can use ustar in the scalar boundary conditions when doing a restart on a frozen velocity field : I simply call condli twice at the first time step of the restart.

iterns = 1
do while (iterns.le.nterup)

! Calls user BCs and computes BC ...
by C.FLAG.
Sun May 10, 2020 7:10 am
Forum: code_saturne usage
Topic: Computation of ustar during a restart on a frozen field
Replies: 3
Views: 6900

Re: Computation of ustar during a restart on a frozen field

Thanks Yvan,

During initialization and at the first time step, the friction velocity is exactly zero when used in scalar boundary conditions. But at the second time step, it is updated and no longer zero! I will try to figure out how to force earlier update of the field.

Regards,
Cédric
by C.FLAG.
Wed May 06, 2020 11:59 am
Forum: code_saturne usage
Topic: Computation of ustar during a restart on a frozen field
Replies: 3
Views: 6900

Computation of ustar during a restart on a frozen field

Hello,

It looks like the field "ustar" is zero when trying to use it when imposing scalar boundary conditions after a restart on a frozen velocity field. Any idea to force the code to estimate it ?

Thanks,
Cédric
by C.FLAG.
Sat Mar 28, 2020 8:21 am
Forum: code_saturne usage
Topic: ibeta
Replies: 2
Views: 8742

Re: ibeta

Hello,

It looks like the parameter ibeta is automatically defined in base/varpos.f90 when idilat=0 or irovar=1.

When idilat=0, the user should provide the thermal expansion coefficient in a user subroutine, such as usphyv (cs_user_physical_properties.f90). Check cs_user_parameters-base.c if you ...
by C.FLAG.
Fri Mar 27, 2020 6:50 pm
Forum: Installation issues
Topic: Code_Saturne in a docker container
Replies: 3
Views: 12821

Re: Code_Saturne in a docker container

Re,

Some updated Dockerfile scripts can be found at https://github.com/code-saturne/code_sa ... -container.

Regards,
Cédric
by C.FLAG.
Fri Mar 27, 2020 3:37 pm
Forum: Installation issues
Topic: Code_Saturne in a docker container
Replies: 3
Views: 12821

Re: Code_Saturne in a docker container

Hello Yvan,

Here is an updated script with CGNS and a debug build ;

FROM ubuntu:18.04 as builder

RUN apt-get update -y
RUN apt-get upgrade -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata
RUN apt-get install -y \
wget zlib1g-dev \
vim gedit git gitk \
gfortran g++ gcc make ...