Analysis and results#

Running the analysis and extracting results.

OspGrillage methods#

analyze(**kwargs)

Function to analyze defined load

get_results(**kwargs)

Return analysis results as an xarray Dataset.

Class reference#

Analysis#

class Analysis(analysis_name, ops_grillage_name, pyfile, node_counter, ele_counter, analysis_type='Static', time_series_counter=1, pattern_counter=1, load_case=None, step=1, **kwargs)#

Bases: object

Main class to handle the run/execution of load case, including incremental load cases of a moving load analysis. Analysis class is created and handled by the OspGrillage class.

The following are the roles of Analysis object:

  • store information of ops commands for performing static (default) analysis of single/multiple load case(s).

  • execute the required ops commands to perform analysis using the OspGrillage model instance.

  • if flagged, writes an executable py file instead which performs the exact analysis as it would for an OspGrillage instance instead.

  • manages multiple load case’s ops.load() commands, applying the specified load factors to the load cases for load combinations

Results#

class Results(mesh_obj)#

Bases: object

Main class to store results of an Analysis class object, process into data array output for post processing/plotting. Class object is accessed within OspGrillage class object.