Altair AcuSolve
Altair AcuSolve
  1. Home
  2. AcuConsole Customization Manual

    Customization of AcuConsole allowing you to improve your particular workflow.

  3. Database Access Functions
  4. GetDb()

    Get the current data base.

  • What's New
  • Get Started
  • Tutorials
  • AcuSolve Training Manual
  • AcuSolve Validation Manual
  • AcuSolve Command Reference Manual
  • AcuSolve Programs Reference Manual
  • AcuSolve User-Defined Functions Manual
  • AcuConsole Mesh Generation Manual
  • AcuConsole Customization Manual
  • AcuTrace Command Reference Manual
  • AcuTrace User- Defined Functions Manual
  • AcuFieldView User Guide
  • AcuReport Reference Manual
  • AcuSolve Surface Processing
Index
Altair AcuSolve
Altair AcuSolve
  • What's New

    View new features for AcuSolve 2019.

  • Get Started

    AcuSolve is a leading general purpose CFD solver that is capable of solving the most demanding industrial and scientific applications.

  • Tutorials

    Discover AcuSolve functionality with interactive tutorials.

  • AcuSolve Training Manual

    Introduction of background knowledge regarding flow physics and CFD as well as detailed information about the use of AcuSolve and what specific options do.

  • AcuSolve Validation Manual

    Collection of AcuSolve simulation cases for which results are compared against analytical or experimental results to demonstrate the accuracy of AcuSolve results.

  • AcuSolve Command Reference Manual

    AcuSolve command descriptions and corresponding examples.

  • AcuSolve Programs Reference Manual

    AcuSolve utility programs covering preparatory and post-processing as well as user-defined functions and utility scripts.

  • AcuSolve User-Defined Functions Manual

    Customization of AcuSolve allowing you to customize certain capabilities of the solver.

  • AcuConsole Mesh Generation Manual

    Instruction of the mesh generation capability in AcuConsole, a GUI based pre-processor for AcuSolve.

  • AcuConsole Customization Manual

    Customization of AcuConsole allowing you to improve your particular workflow.

    • General Structure

      AcuConsole has three main windows including the Data Tree, panel and the visualization window.

    • Main File

      Any number of custom user panels may be written. For each user panel, a tree item must be created. These are referred to as leave node tree items.

    • User Panels

      Each user panel must have an open function, containing the menu definitions, and a call to TreeItem(), to place an item on the Data Tree and hook it up to the panel function. In addition, it may contain any number of supporting functions and operations, including data initialization.

    • Standard Database Nodes

      The custom user panels may access and update any parameter in the database.

    • User Panel Example

      The following is an example of a simple user panel for simplifying a StaticMixer specification. For clarity, help arguments are omitted.

    • Set Command's Parameters (cmdSetXXX( ) )

      There are general functions written for each panel command to set the command's parameters to their default values and put the valid values in the database according to the defined path.

    • Database Access Functions
      • GetArray()

        Get an array parameter from the data base.

      • GetBool()

        Get a boolean parameter from the data base.

      • GetColor()

        Get a color parameter from the data base.

      • GetDb()

        Get the current data base.

      • GetDic()

        Get a dictionary parameter from the data base.

      • GetDir()

        Get a directory parameter from the data base.

      • GetEnum()

        Get an enumerated parameter from the data base.

      • GetFile()

        Get a file parameter from the data base.

      • GetFont ()

        Get a font parameter from the data base.

      • GetInt()

        Get an integer parameter from the data base.

      • GetList()

        Get a list parameter from the data base.

      • GetPar()

        Get the parameter value from the data base.

      • GetPars()

        Get a list of children parameters.

      • GetParModId()

        Get the modified ID of a parameter from the data base.

      • GetParType()

        Get the type of the parameter from the data base.

      • GetPasswd()

        Get a password parameter from the data base.

      • GetReal()

        Get a real parameter from the data base.

      • GetRef()

        Get a reference parameter from the data base.

      • GetRefs()

        Get a refs parameter from the data base.

      • GetStr()

        Get a string parameter from the data base.

      • GetTab()

        Get a tab parameter from the data base.

      • GetTarea()

        Get a Tarea (Text area) parameter from the data base.

      • GetUnit()

        Get a unit option for a parameter from the data base.

      • PutArray()

        Put an array parameter in the data base.

      • PutBool()

        Put a boolean parameter in the data base.

      • PutColor()

        Put a color parameter in the data base.

      • PutDic()

        Put a dictionary parameter in the data base.

      • PutDir()

        Put a dictionary parameter in the data base.

      • PutEnum()

        Put an enumerated parameter in the data base.

      • PutFile()

        Put a file parameter in the data base.

      • PutFont()

        Put a font parameter in the data base.

      • PutInt()

        Put an integer parameter in the data base.

      • PutList()

        Put a list parameter in the data base.

      • PutPar()

        Put a parameter of the defined types in the data base.

      • PutParOpt()

        Put (record) a parameter option in the data base.

      • PutPasswd()

        Put a password parameter in the data base.

      • PutReal()

        Put a real parameter in the data base.

      • PutRef()

        Put a reference parameter in the data base.

      • PutRefs()

        Put a refs parameter in the data base.

      • PutStr()

        Put a string parameter in the data base.

      • PutTab()

        Put a tab parameter in the data base.

      • PutTarea()

        Put a Tarea (Text Area) parameter in the data base.

    • Registration Functions
    • Database Functions
    • Menu Functions
    • AcuSolve Input Functions
    • Data Tree Functions
    • Grouping Functions
    • Vis Window Functions
    • Miscellaneous Functions
    • Tools
    • Process Automation
    • AcuDialog

      AcuDialog is a Python module that provides a dialog with different types of menus on it.

    • AcuDialog Menu Functions
  • AcuTrace Command Reference Manual

    Commands of AcuTrace, a particle tracer that runs as a post-processor to or a co-processor with AcuSolve.

  • AcuTrace User- Defined Functions Manual

    Instructions to define additional solution quantities of AcuTrace called user equations.

  • AcuFieldView User Guide

    Usage of AcuFieldView, an OEM version of Intelligent Light’s FieldView post-processing software.

  • AcuReport Reference Manual

    Instruction of the AcuReport tool, a standalone post-processor batch tool used to generate a report from an AcuSolve solution database.

  • AcuSolve Surface Processing

View All Altair HyperWorks Help

Altair AcuSolve
Altair AcuSolve
  1. Home
  2. AcuConsole Customization Manual

    Customization of AcuConsole allowing you to improve your particular workflow.

  3. Database Access Functions
  4. GetDb()

    Get the current data base.

  • What's New
  • Get Started
  • Tutorials
  • AcuSolve Training Manual
  • AcuSolve Validation Manual
  • AcuSolve Command Reference Manual
  • AcuSolve Programs Reference Manual
  • AcuSolve User-Defined Functions Manual
  • AcuConsole Mesh Generation Manual
  • AcuConsole Customization Manual
  • AcuTrace Command Reference Manual
  • AcuTrace User- Defined Functions Manual
  • AcuFieldView User Guide
  • AcuReport Reference Manual
  • AcuSolve Surface Processing
Index

GetDb()

Get the current data base.

Usage

db = GetDb( )

Parameters

None

Return Value

None

Errors

None

Description

This routine returns the current data base. For example,
Db = GetDb( )

(c) 2019. Altair Engineering Inc. All Rights Reserved.

Intellectual Property Rights Notice | Technical Support