Search found 20 matches

by saintlyknighted
Fri Dec 12, 2025 2:18 am
Forum: code_saturne usage
Topic: Code_Saturne and Code_Aster coupling workflow
Replies: 1
Views: 571

Code_Saturne and Code_Aster coupling workflow

Hi, I am trying to take the thermal loads from my Code_Saturne T_Junction and using that to get thermal stresses on the T-Junction pipe in Code_Aster. I have two med results files from Code_Saturne, which are results_Boundary.med and results_Fluid_domain.med. What is the full workflow to go about ...
by saintlyknighted
Thu Dec 11, 2025 5:53 pm
Forum: code_saturne usage
Topic: T-Junction CHT Internal Coupling Simulation not working with Fillet
Replies: 3
Views: 500

T-Junction CHT Internal Coupling Simulation not working with Fillet

Hi, I have been trying to set up a CHT internal coupling simulation of a T-Junction in code saturne to measure the temperature gradients in the pipe wall. I have this working in a T-Junction geometry where there is no fillet i.e a 90 degree corner. However when i add a fillet and carry out the same ...
by saintlyknighted
Fri May 16, 2025 6:27 pm
Forum: code_saturne usage
Topic: MPI-OpenMP hybrid support
Replies: 3
Views: 21504

Re: MPI-OpenMP hybrid support

Thanks Yvan.

Good to know that hybrid mode works. I have tried a few things but nothing works so far, I will probably ask my HPC staff for help. There is also a chance I might not actually need to run my simulations in hybrid mode after all so I will see how things pan out.

Regards,
Bryan
by saintlyknighted
Thu May 08, 2025 7:00 pm
Forum: code_saturne usage
Topic: MPI-OpenMP hybrid support
Replies: 3
Views: 21504

MPI-OpenMP hybrid support

Hello,

I am currently trying to run Code_Saturne in conjunction with another code on my HPC system using MPI and OpenMP, but when I try to use more than one node, the computation fails since it seems to try to generate one results folder per node. I have already managed to use Code_Saturne with ...
by saintlyknighted
Thu Jul 25, 2024 6:01 pm
Forum: code_saturne usage
Topic: Usage of "field_get_coefaf_s" subroutine
Replies: 2
Views: 23130

Re: Usage of "field_get_coefaf_s" subroutine

Hi Yvan, the theoretical documentation explains enough for me I believe. Thanks for mentioning that, I had forgotten that the user and theory guides existed and could be referenced.
by saintlyknighted
Wed Jul 24, 2024 4:07 pm
Forum: code_saturne usage
Topic: Usage of "field_get_coefaf_s" subroutine
Replies: 2
Views: 23130

Usage of "field_get_coefaf_s" subroutine

Hi everyone, I'm currently going through some source code someone else has written and I came across this:

! Boundary condition pointers for gradients and advection
call field_get_coefa_s(ivarfl(ivar), coefap)
call field_get_coefb_s(ivarfl(ivar), coefbp)

! Boundary condition pointers for ...
by saintlyknighted
Mon Jun 10, 2024 10:41 am
Forum: code_saturne usage
Topic: Convergence issues with CGNS mesh from Star-CCM+
Replies: 4
Views: 18146

Re: Convergence issues with CGNS mesh from Star-CCM+

Hello Yvan, sorry for the late response. Thank you for pointing out the definitions of the residuals used - and that the residuals shown on the plots are that of the 'time residuals' and not the normalised ones. After discussion with my colleagues, we agreed that the residuals in our cases (that did ...
by saintlyknighted
Mon May 13, 2024 4:06 pm
Forum: code_saturne usage
Topic: Convergence issues with CGNS mesh from Star-CCM+
Replies: 4
Views: 18146

Re: Convergence issues with CGNS mesh from Star-CCM+

Hi Yvan,

Indeed, the simulation seems to converge successfully when I use the least-squares gradient reconstruction method (test case here: https://www.dropbox.com/scl/fi/1idna0rj6cw4lewrc5vez/test_case_1.tar.gz?rlkey=biu35q1788ego01861d1nuscj&st=pw1lwiwv&dl=0). However, the magnitude of the ...
by saintlyknighted
Fri May 10, 2024 4:25 pm
Forum: code_saturne usage
Topic: Convergence issues with CGNS mesh from Star-CCM+
Replies: 4
Views: 18146

Convergence issues with CGNS mesh from Star-CCM+

Hi everyone,

I am running into convergence issues with my Code_Saturne simulations where I use a CGNS mesh generated by Star-CCM+. As shown in the screenshot attached, the residuals tend to stabilise around a rather significant value (10^1 in this case, but 10^-1 in others), before eventually ...
by saintlyknighted
Mon Mar 04, 2024 3:21 pm
Forum: code_saturne usage
Topic: Cannot launch GUI due to Qt error
Replies: 6
Views: 248094

Re: Cannot launch GUI due to Qt error

Hi Yvan,

Sorry it's been a long time, but I had more pressing work to attend to and I was able to run everything on my laptop in the meantime. For some reason I tried running the GUI recently (and also cgnsview) and it somehow works now, without me doing anything. Perhaps some update happened in ...