bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements package

Submodules

bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.airterminal module

class bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.airterminal.AirBox(shape, triSurface_path, air_type, solid_name='box')

Bases: OpenFOAMBaseBoundaryFields, OpenFOAMBaseElement

class bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.airterminal.AirDiffuser(shape, triSurface_path, air_type, inlet_outlet_type, bbox_min_max, solid_name='diffuser')

Bases: OpenFOAMBaseBoundaryFields, OpenFOAMBaseElement

class bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.airterminal.AirSourceSink(shape, triSurface_path, air_type, volumetric_flow, air_temp, solid_name='source_sink')

Bases: OpenFOAMBaseBoundaryFields, OpenFOAMBaseElement

class bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.airterminal.AirTerminal(air_type, inlet_shapes, triSurface_path, inlet_outlet_type, solid_name='AirTerminal', air_temp=293.15, volumetric_flow=0, increase_small_refinement=0.1, increase_large_refinement=0.2)

Bases: object

set_boundary_conditions(air_temp, volumetric_flow)

bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.furniture module

class bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.furniture.Furniture(shape, triSurface_path, furniture_type, bbox_min_max=None, solid_name='furniture', increase_small_refinement=0.1, increase_large_refinement=0.2)

Bases: OpenFOAMBaseBoundaryFields, OpenFOAMBaseElement

set_boundary_conditions()
class bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.furniture.Table(furniture_setting, shape, triSurface_path, furniture_type, bbox_min_max=None, solid_name='furniture', chair_bbox_min_max=None, increase_small_refinement=0.1, increase_large_refinement=0.2)

Bases: Furniture

get_local_chair_positions(furniture_setting, table_bbox_min_max, table_width, table_depth, chair_bbox_min_max, chair_width, chair_depth)

bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.heater module

class bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.heater.Heater(name, heater_shape, triSurface_path, radiation_model, total_heating_power=0, increase_small_refinement=0.05, increase_large_refinement=0.1)

Bases: object

set_boundary_conditions(total_heating_power, percent_radiation)
class bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.heater.HeaterSurface(name_prefix, heater_shape, triSurface_path, radiative_power)

Bases: OpenFOAMBaseBoundaryFields, OpenFOAMBaseElement

class bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.heater.PorousMedia(name_prefix, heater_shape, triSurface_path, convective_power)

Bases: OpenFOAMBaseBoundaryFields, OpenFOAMBaseElement

static create_porous_media_tri_geom(heater_shape)

bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.openfoam_base_boundary_conditions module

class bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.openfoam_base_boundary_conditions.OpenFOAMBaseBoundaryFields

Bases: object

bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.openfoam_base_element module

class bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.openfoam_base_element.OpenFOAMBaseElement

Bases: Element

set_boundary_conditions()

bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.openfoam_case module

class bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.openfoam_case.OpenFOAMCase(playground)

Bases: object

bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.people module

class bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.people.BodyPart(person, key, shape, bbox_min_max=None)

Bases: OpenFOAMBaseBoundaryFields, OpenFOAMBaseElement

set_boundary_conditions()
class bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.people.People(shape, trsf, person_path, triSurface_path, people_type, radiation_model, scale, bbox_min_max=None, solid_name='person', power=120, temperature=32, increase_small_refinement=0.1, increase_large_refinement=0.2, add_scaled_shape=False)

Bases: OpenFOAMBaseBoundaryFields, OpenFOAMBaseElement

set_boundary_conditions()
static split_body_part_shapes(person_path, full_shape, triSurface_path, trsf)

bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.stlbound module

class bim2sim.plugins.PluginOpenFOAM.bim2sim_openfoam.openfoam_elements.stlbound.StlBound(bound, radiation_model)

Bases: OpenFOAMBaseBoundaryFields, OpenFOAMBaseElement

read_boundary_conditions(timestep_df, default_temp)
set_boundary_conditions(no_heatloss=False)
set_default_refinement_level()
set_patch_info_type()