Search found 32 matches
- Fri Apr 21, 2023 8:11 am
- Forum: code_saturne usage
- Topic: Boundary forces and internal coupling
- Replies: 1
- Views: 1190
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_f...
- 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: 3007
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 coefficients...
- 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: 3007
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
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
- 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: 3007
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
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
- Sat Mar 28, 2020 8:21 am
- Forum: code_saturne usage
- Topic: ibeta
- Replies: 2
- Views: 2874
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 want...
- Fri Mar 27, 2020 6:50 pm
- Forum: Installation issues
- Topic: Code_Saturne in a docker container
- Replies: 3
- Views: 3858
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
Some updated Dockerfile scripts can be found at https://github.com/code-saturne/code_sa ... -container.
Regards,
Cédric
- Fri Mar 27, 2020 3:37 pm
- Forum: Installation issues
- Topic: Code_Saturne in a docker container
- Replies: 3
- Views: 3858
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 cmake \ pyt...
- Fri Mar 27, 2020 11:32 am
- Forum: Installation issues
- Topic: Code_Saturne in a docker container
- Replies: 3
- Views: 3858
Code_Saturne in a docker container
Hello, Following a relatively large number of installation issues (unexperienced users, exotic platforms, ...), I expose below an experiment towards a more universal way to use Code_Saturne based on Docker. Below is a Dockerfile for Code_Saturne 6.0.2 with MED and HDF5 based on Ubuntu 18: FROM ubunt...
- Wed Feb 26, 2020 8:54 am
- Forum: code_saturne usage
- Topic: Question about the mapped inlet subroutine
- Replies: 16
- Views: 10256
Re: Question about the mapped inlet subroutine
Hello,
It might be a good idea to include a source term in the momentum equation in the recycling region to compensate the friction at the wall? See cs_user_source_terms-momentum.c for example.
EDIT: you can also use the GUI to add a source term
Kind regards,
Cédric
It might be a good idea to include a source term in the momentum equation in the recycling region to compensate the friction at the wall? See cs_user_source_terms-momentum.c for example.
EDIT: you can also use the GUI to add a source term
Kind regards,
Cédric
- Tue Jan 07, 2020 2:11 pm
- Forum: code_saturne usage
- Topic: Change restart file from studymanager
- Replies: 2
- Views: 2552
Re: Change restart file from studymanager
Thank you for your reply Yvan. Current seemingly working solution is very similar to my original post : from model.StartRestartModel import StartRestartModel ... restart = StartRestartModel(case) restart.setRestartPath("/folder/smgr/case/RESU/simulation/checkpoint") Kind regards, Cédric