Exemplo n.º 1
0
    def draw(self, context):
        layout = self.layout
        scene = context.scene

        # ---------------------------------------
        # Render Block Cells using YAML GUI Spec
        # ---------------------------------------

        gui_renderer = ReynoldsGUIRenderer(scene, layout, 'add_block.yaml')
        gui_renderer.render()
Exemplo n.º 2
0
    def draw(self, context):
        layout = self.layout
        scene = context.scene

        # ---------------------------------------
        # Render Block Panel using YAML GUI Spec
        # ---------------------------------------

        gui_renderer = ReynoldsGUIRenderer(scene, layout, 'mesh_objs.yaml')
        gui_renderer.render()
Exemplo n.º 3
0
    def draw(self, context):
        layout = self.layout
        scene = context.scene

        row = layout.row()
        row.operator(ParallelSolverOperator.bl_idname, text='', icon='PLUS')

        # ---------------------------------------
        # Render Solver Panel using YAML GUI Spec
        # ---------------------------------------

        gui_renderer = ReynoldsGUIRenderer(scene, layout, 'solver_panel.yaml')
        gui_renderer.render()
Exemplo n.º 4
0
    def draw(self, context):
        layout = self.layout
        scene = context.scene

        row = layout.row()
        row.operator(SearchableSphereAddOperator.bl_idname,
                     text='Sphere',
                     icon='MESH_UVSPHERE')
        row.operator(BlockMeshAddOperator.bl_idname,
                     text='Box',
                     icon='META_CUBE')

        # ----------------------------------------
        # Render Models Panel using YAML GUI Spec
        # ----------------------------------------

        gui_renderer = ReynoldsGUIRenderer(scene, layout, 'models.yaml')
        gui_renderer.render()
Exemplo n.º 5
0
    def draw(self, context):
        layout = self.layout
        scene = context.scene

        # -------------------------------------
        # Render Foam Panel using YAML GUI Spec
        # -------------------------------------

        gui_renderer = ReynoldsGUIRenderer(scene, layout, 'foam_panel.yaml')
        gui_renderer.render()

        row = layout.row()
        row.operator(FVSchemesOperator.bl_idname, text='', icon='SETTINGS')
        row.operator(FVSolutionOperator.bl_idname, text='', icon='SETTINGS')
        row.operator(ControlDictOperator.bl_idname, text='', icon='SETTINGS')
        row.operator(TransportPropertiesOperator.bl_idname,
                     text='',
                     icon='SETTINGS')
Exemplo n.º 6
0
    def draw(self, context):
        layout = self.layout
        scene = context.scene
        row = layout.row()
        row.operator(SnappyStepsOperator.bl_idname, text='', icon='POSE_HLT')
        row.operator(GeometryOperator.bl_idname, text='', icon='GROUP')
        row.operator(FeatureExtractionOperator.bl_idname, text='', icon='SNAP_VERTEX')
        row.operator(CastellatedMeshOperator.bl_idname, text='', icon='MOD_REMESH')
        row.operator(SnappingOperator.bl_idname, text='', icon='SNAP_SURFACE')
        row.operator(LayersOperator.bl_idname, text='', icon='RENDERLAYERS')
        row.operator(MeshQualityOperator.bl_idname, text='', icon='SETTINGS')
        row.operator(ShowMeshObjOperator.bl_idname, text='', icon='FACESEL_HLT')
        row.operator(GeometryPatchTimePropsOperator.bl_idname, text='', icon='SETTINGS')

        # ---------------------------------------
        # Render Block Panel using YAML GUI Spec
        # ---------------------------------------

        gui_renderer = ReynoldsGUIRenderer(scene, layout,
                                           'snappy_hexmesh.yaml')
        gui_renderer.render()
Exemplo n.º 7
0
    def draw(self, context):
        layout = self.layout
        scene = context.scene

        row = layout.row()
        row.operator(BlockMeshAddOperator.bl_idname, text='', icon='PLUS')
        row.operator(BlockMeshCellsOperator.bl_idname,
                     text='',
                     icon='LATTICE_DATA')
        row.operator(BlockMeshRegionsOperator.bl_idname,
                     text='',
                     icon='MESH_PLANE')
        row.operator(ShowMeshObjOperator.bl_idname,
                     text='',
                     icon='FACESEL_HLT')

        # ---------------------------------------
        # Render Block Panel using YAML GUI Spec
        # ---------------------------------------

        gui_renderer = ReynoldsGUIRenderer(scene, layout,
                                           'block_mesh_panel.yaml')
        gui_renderer.render()
Exemplo n.º 8
0
 def draw(self, context):
     layout = self.layout
     scene = context.scene
     gui_renderer = ReynoldsGUIRenderer(scene, layout, 'geometry.yaml')
     gui_renderer.render()
Exemplo n.º 9
0
 def draw(self, context):
     layout = self.layout
     scene = context.scene
     gui_renderer = ReynoldsGUIRenderer(scene, layout,
                                        'snappy_steps.yaml')
     gui_renderer.render()
Exemplo n.º 10
0
 def draw(self, context):
     layout = self.layout
     scene = context.scene
     gui_renderer = ReynoldsGUIRenderer(scene, layout,
                                        'transportProperties.yaml')
     gui_renderer.render()
Exemplo n.º 11
0
 def draw(self, context):
     layout = self.layout
     scene = context.scene
     gui_renderer = ReynoldsGUIRenderer(scene, layout,
                                        'castellated_mesh.yaml')
     gui_renderer.render()
Exemplo n.º 12
0
 def draw(self, context):
     layout = self.layout
     scene = context.scene
     gui_renderer = ReynoldsGUIRenderer(scene, layout,
                                        scene.solver_name + 'Solution.yaml')
     gui_renderer.render()
Exemplo n.º 13
0
 def draw(self, context):
     layout = self.layout
     scene = context.scene
     gui_renderer = ReynoldsGUIRenderer(scene, layout,
                                        'feature_extraction.yaml')
     gui_renderer.render()