CODE_SATURNE(1)
β¨ NAME β¨
okay so code_saturne β it's literally the main user script of Code_Saturne π
that's it, that's the whole vibe. this is the girl you call when you wanna do anything.
πΈ SYNOPSIS πΈ
code_saturne [-h|--help] <command>
π¦ DESCRIPTION π¦
bestie. listen. the code_saturne script is the main user script of Code_Saturne, fr fr. it's the front door, the group chat admin, the one who knows everybody. you don't knock on the other doors, you knock on this one π
π OPTIONS π
-h,--helpβ shows you the help message. that's it, that's the whole job, and honestly? iconic.
π COMMANDS π
want the tea on any of these? run code_saturne <command> --help and it'll spill everything π«β¨
studymanagerβ thecode_saturne studymanagercommand runs an autovalidation series of runs, and those runs are defined by an xml file. (peep the specific autovalidation documentation for the deets, iykyk.)compileβ thecode_saturne compilecommand generates thecs_solverexecutable, which is what you need to actually run a Code_Saturne study. nocs_solver, no slay.configβ thecode_saturne configcommand gives you info about the Code_Saturne build and installation. like a little "who am i, where am i from" moment for your install πcreateβ thecode_saturne createcommand sets up a directory structure for a Code_Saturne study or case. and the directories it creates are:MESHfor meshes,POSTfor user post-processing, and a case directory (or several of them!) containing aDATA,SRC(where your user files live),RESU(where results go) andSCRIPTSdirectory. it's giving organized πguiβ thecode_saturne guicommand starts the Code_Saturne gui. yes bestie, a whole graphical interface, treat yourself πinfoβ thecode_saturne infocommand is a wrapper that makes looking at Code_Saturne documentation easier. a little shortcut, a little convenience, we love her.runβ thecode_saturne runcommand starts a Code_Saturne case's preprocessing or computation execution. this is the one that actually does the thing π₯salomeβ thecode_saturne salomecommand starts SALOME with theCFDSTUDYmodule enabled β assuming Code_Saturne was built with SALOME support. (so like... only if you have the support. don't come for me if you don't π)
π ENVIRONMENT VARIABLES π
these ones below can affect code_saturne run:
π CS_MPIEXEC_OPTIONS
this variable lets you define extra arguments to pass to the MPI execution command, when applicable. and here's the important part: if this option is defined, it takes priority over the value defined in the global or local code_saturne.cfg files (or over the computed defaults). so basically, if you need to, you can set a setting that's specific to one given run using this variable π
π CS_SCRATCHDIR
this one lets you define the execution directory, overriding the default path or the settings from the global or local code_saturne.cfg files. she said "not today, defaults" β¨
π SEE ALSO π
the full documentation for Code_Saturne is accessible using the code_saturne info command. go read it, it's free and it's cute π
okay that's the whole page bestie!! this was the Code_Saturne commands manual, page CODE_SATURNE(1), dated 2013-07-15 β vintage but still serving π
go compile something and make me proud π«Άβ¨
π¦ where this page comes from
- debian bookworm: code-saturne-bin 6.0.2-2 Β· GPL-2.0-or-later
- ubuntu jammy: code-saturne-bin 6.0.2-2build1 Β· GPL-2.0-or-later
- Copyright (C) 1998-2019 EDF S.A
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms