FOAMRESTOREFIELDS(1)
π FOAMRESTOREFIELDS(1) π
okay bestie, so this is foamRestoreFields, and it's literally part of OpenFOAM (The Open Source CFD Toolbox). yes, that OpenFOAM. the big one. π«Ά
β¨ SYNOPSIS β¨
foamRestoreFields [OPTIONS] [fieldName ... fieldName]
πΈ DESCRIPTION πΈ
So what does she do? She restores field names by removing the ending. that's the whole vibe. π
The fields get selected automatically, or you can just. hand them over. as optional command arguments. because she's flexible like that. β¨
π ARGUMENTS π
fieldName ... fieldName
like. give her some names. she'll take them. no cap.
π OPTIONS π
-casedir β point her at the case directory you want to use, instead of just vibing in the cwd. π¦-constantβ include theconstant/dir in the times list. yes ma'am.-decomposeParDictfile β use the file you specify for thedecomposePardictionary.-dry-runβ reports the action without moving or renaming anything. it's giving "look but don't touch." π-latestTimeβ selects the latest time. the newest. the freshest. periodt.-methodname β the restore method, and it'smean|orig. [MANDATORY] okay so listen: with<mean>she renames files ending with'Mean'(and backs up any existing one as'.orig'). with<orig>she renames files ending with'.orig'. pick one bestie, you gotta. π₯-noZeroβ excludes the0/dir from the times list. and heads up: it has precedence over the-withZerooption. she wins that fight.-parallelβ run in parallel.[Parallel option]β¨-processorβ in serial mode, use times from theprocessor0/directory, but operate onprocessor\d+directories. sneaky but iconic.-timeranges β a list of ranges. like, eg,':10,20 40:70 1000:','none', etc. go wild.-verboseβ additional verbosity. she'll tell you everything. π-withZeroβ include the0/dir in the times list.-docβ display documentation in browser. cute.-helpβ display short help and exit.-help-fullβ display full help and exit.
π ADVANCED OPTIONS π
-debug-switchname=val β specify the value of a registered debug switch. default is1if you omit the value. (can be used multiple times, go off)-fileHandlerhandler β override the file handler type.-hostRoots((host1 dir1) .. (hostN dirN)) β per-host slave root directories for distributed running. the host specification can be a regex.[Parallel option]π-info-switchname=val β specify the value of a registered info switch. default is1if the value is omitted. (can be used multiple times)-libname β additional library or library list to load. (can be used multiple times)-opt-switchname=val β specify the value of a registered optimisation switch (int/bool). default is1if the value is omitted. (can be used multiple times)-roots(dir1 .. dirN) β slave root directories for distributed running.[Parallel option]-doc-sourceβ display source code in browser. main character energy, honestly.-help-compatβ display compatibility options and exit.-help-manβ display full help (manpage format) and exit.-help-notesβ display help notes (description) and exit.
π COMPATIBILITY OPTIONS π
-noFunctionObjectsβ this option is ignored. yeah. she sees it. she just doesn't care. π
β SEE ALSO β
Online documentation: https://www.openfoam.com/documentation/
π COPYRIGHT π
Copyright Β© 2018-2019 OpenCFD Ltd.
ok that's the whole page, bestie, go restore those fields π
mwah π this was www.openfoam.com, OpenFOAM- era, brought to you by the FOAMRESTOREFIELDS(1) girls πβ¨ slay, no cap, bye π¦
π¦ where this page comes from
- debian bookworm: openfoam 1912.200626-1+b1 Β· GPL-3.0-or-later
- debian trixie: openfoam 1912.200626-3+b1 Β· GPL-3.0-or-later
- ubuntu jammy: openfoam 1912.200626-1 Β· GPL-3.0-or-later
- ubuntu noble: openfoam 1912.200626-2build3 Β· GPL-3.0-or-later
- ubuntu questing: openfoam 1912.200626-3build1
- ubuntu stonking: openfoam 1912.200626-4 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms