fluidsimfoam.output#
Base class for the sim.output
object
Base output class |
|
Class for the |
|
Class for the |
|
Create a dataframe from result directories |
- class fluidsimfoam.output.Output(sim=None, params=None)[source]#
- name_variables = ['p', 'U']#
- name_constant_files = ['transportProperties', 'turbulenceProperties']#
- name_system_files = ['controlDict', 'fvSchemes', 'fvSolution', 'decomposeParDict']#
- fluidsimfoam.output.get_dataframe_from_paths(paths, tmin=None, tmax=None, use_cache=True, customize=None)#
Produce a dataframe from a set of simulations.
Uses
sim.output.get_mean_values
- fluidsimfoam.output.get_mean_values_from_path(path, tmin=None, tmax=None, use_cache=True, customize=None)#
Get a dict of scalar values characterizing the simulation
- Parameters:
Examples
def customize(result, sim): result["Rb"] = float(sim.params.short_name_type_run.split("_Rb")[-1]) get_mean_values_from_path(path, customize=customize)