Search found 18 matches

by saintlyknighted
Fri May 16, 2025 6:27 pm
Forum: code_saturne usage
Topic: MPI-OpenMP hybrid support
Replies: 3
Views: 18854

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: 18854

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 mult...
by saintlyknighted
Thu Jul 25, 2024 6:01 pm
Forum: code_saturne usage
Topic: Usage of "field_get_coefaf_s" subroutine
Replies: 2
Views: 21426

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: 21426

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 diffusion c...
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: 16304

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: 16304

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: 16304

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 diverg...
by saintlyknighted
Mon Mar 04, 2024 3:21 pm
Forum: code_saturne usage
Topic: Cannot launch GUI due to Qt error
Replies: 6
Views: 245126

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 the...
by saintlyknighted
Fri Jan 05, 2024 6:37 pm
Forum: code_saturne usage
Topic: Cannot launch GUI due to Qt error
Replies: 6
Views: 245126

Re: Cannot launch GUI due to Qt error

Hi Yvan, sorry for the long delay. I've gotten the debug info and printed it below, maybe you'd like to have a look at it in case the issue somehow lies with something Code_Saturne related, though I very much doubt it. QFactoryLoader::QFactoryLoader() checking directory path "/home/bryan/.local...
by saintlyknighted
Fri Dec 15, 2023 8:53 pm
Forum: code_saturne usage
Topic: Directed meshes from Star-CCM+ not working properly
Replies: 2
Views: 36488

Re: Directed meshes from Star-CCM+ not working properly

I seem to have resolved the issue, turns out I had to specify the region boundaries in the export mesh window in Star-CCM+. Odd because it didn't require me to do that with automated meshes. But yes, thanks Yvan for pointing me in the right direction, the cgnsview utility was pretty helpful in obser...