foamgen.generation¶
Generation module¶
- synopsis
Organizes creation of foam morphology.
Functions
|
Generate foam morphology. |
Parse CLI arguments and call |
|
|
Parse configurational file. |
-
foamgen.generation.
generate
(cfg)[source]¶ Generate foam morphology.
- Parameters
cfg (Namespace) – parsed inputs
-
foamgen.generation.
parse_cli_and_generate
()[source]¶ Parse CLI arguments and call
generate()
function.Parsing is done using yamlargparse. This function is called by the
foamgen
executable.