postprocessing.paraview.geometry
Functions
Wrapper around the extract_geometry() function to call it from |
|
Parser for options for the extract_geometry() function to call it from the |
|
|
Function to extract a geometry from an OpenFOAM mesh and write it as an |
Module Contents
- postprocessing.paraview.geometry.extract_geometry_cmd()
Wrapper around the extract_geometry() function to call it from the command line with arguments.
- postprocessing.paraview.geometry.extract_geometry_parser()
Parser for options for the extract_geometry() function to call it from the command line with arguments.
- Returns:
- parser
Parser with specified arguments.
- postprocessing.paraview.geometry.extract_geometry(input_file=None, output_directory='./', patches='group/wall', overwrite='False')
Function to extract a geometry from an OpenFOAM mesh and write it as an STL.
- Parameters:
- input_filestr
Path to file to load with Paraview.
- output_directorystr
Path to directory where the geometry files will be written. Default is “./”.
- patchesstr or list
Patch name(s) to include in the geometry. Default is “group/wall”.
- overwritestr
Flag to overwrite existing temporary geometry and geometry files. Default is False.