Search found 16 matches
- Mon Nov 04, 2024 11:57 pm
- Forum: code_saturne usage
- Topic: Thermal flow boundary treatment using Neumann/Dirichlet boundary conditions
- Replies: 1
- Views: 10147
Thermal flow boundary treatment using Neumann/Dirichlet boundary conditions
Hi team, I am doing a thermal flow simulation as shown in the below figure using code_saturne V7.0.2. The high temperature boundary is on the left face to simulate the natural convection process in the side-open cavity. All boundary conditions are shown in the figure, where \theta is dimensionaless ...
- Fri Feb 23, 2024 9:45 am
- Forum: code_saturne usage
- Topic: Define a new field and output it with time
- Replies: 2
- Views: 6837
- Sat Feb 17, 2024 1:08 pm
- Forum: code_saturne usage
- Topic: Define a new field and output it with time
- Replies: 2
- Views: 6837
Define a new field and output it with time
Hi team, In Code_Saturne v7.0.2, I'd like to monitor the change of kinetic energy in whole field with time. Specifically, in each time step, Code_Saturne calculates kinetic energy in whole field, and output these values into a file. Then, I can plot its change with time. Could you share an example f...
- Sun Dec 31, 2023 6:24 pm
- Forum: code_saturne usage
- Topic: Convergence study in Code_Saturne
- Replies: 9
- Views: 279872
Re: Convergence study in Code_Saturne
Hi Yvan, I have tested Code_Saturne three velocity scheme -- automatic, SOLU and second-order scheme. As you predicted, SOLU and second-order scheme show excellent 2nd-order accuracy, but second-order scheme has lower error. The default setup (automatic) only has first-order accuracy, as shown in be...
- Wed Dec 20, 2023 5:44 pm
- Forum: code_saturne usage
- Topic: Convergence study in Code_Saturne
- Replies: 9
- Views: 279872
Re: Convergence study in Code_Saturne
Hello Yvan, Thanks for your advice in post-processing. I know the reasons and list here in case someone has similar questions: (1) I should extract velocity component instead of resultant velocity. (2)I extract data from the cell centre and avoid any interpolation scheme. (3)I use velocity centered ...
- Wed Dec 20, 2023 11:57 am
- Forum: code_saturne usage
- Topic: Convergence study in Code_Saturne
- Replies: 9
- Views: 279872
Re: Convergence study in Code_Saturne
Hi Yvan,
I used paraview to extract data (velocity distribution) and tested interpolation and no interpolation. The error calculation is through L2-norm:
\over norm(V_{theory})}$)
Best,
Yang
I used paraview to extract data (velocity distribution) and tested interpolation and no interpolation. The error calculation is through L2-norm:
Best,
Yang
- Tue Dec 19, 2023 7:10 pm
- Forum: code_saturne usage
- Topic: Convergence study in Code_Saturne
- Replies: 9
- Views: 279872
Re: Convergence study in Code_Saturne
Hi Yvan,
I tested this case using centered velocity scheme, but it shows similar results.
Best,
Yang
I tested this case using centered velocity scheme, but it shows similar results.
Best,
Yang
- Tue Dec 19, 2023 4:35 pm
- Forum: code_saturne usage
- Topic: Convergence study in Code_Saturne
- Replies: 9
- Views: 279872
Re: Convergence study in Code_Saturne
Thanks Yvan, (1) Did you test using the default centered scheme? I think Code_Saturne default is velocity upwind scheme, and it results is first-order accuracy. Let me test centered scheme then. (2)what type of mesh are you using ? I generate mesh using Code_Saturne GUI, as shown below. Best, Yang
- Tue Dec 19, 2023 12:52 pm
- Forum: code_saturne usage
- Topic: Convergence study in Code_Saturne
- Replies: 9
- Views: 279872
Convergence study in Code_Saturne
Hi team, I did a convergence study using Code_Saturne v7.0.2. I tested a pseudo-3D Poiseuille flow with inlet boundary (u=4.0*(y-y*y)) and outlet boundary. Also, the domain is (1m * 1m) and uniform mesh with 16, 50, 100 resolutions. In order to ensure accuracy, I set SOLU velocity scheme. However, m...
- Wed Sep 20, 2023 10:41 am
- Forum: code_saturne usage
- Topic: How to calculate time-averaged variables every constant time steps
- Replies: 1
- Views: 13784
How to calculate time-averaged variables every constant time steps
Hi team,
I am using code_saturne v7.0.2. I want to use GUI to calculate time-averaged variables every 10 timesteps. I guess the default time-averaged calculation every timestep. Thanks.
Reagrds,
Yang
I am using code_saturne v7.0.2. I want to use GUI to calculate time-averaged variables every 10 timesteps. I guess the default time-averaged calculation every timestep. Thanks.
Reagrds,
Yang