mboct-mbdyn-pkg

This package belongs to a suite of packages which can be used for pre- and postprocessing of flexible bodies in MBDyn (www.mbdyn.org) with GNU-Octave. It contains interfaces to Multibody Dynamics software MBDyn (www.mbdyn.org).

Select category:

Pre-processing

mbdyn_pre_beam_check_rotation_matrix
Internal helper function for checking the rotation matrix of a curved beam.
mbdyn_pre_beam_compute
Compute nodal and gauss point positions and orientations for a curved beam model defined by grid points X.
mbdyn_pre_beam_gauss_point_orientation
Return the rotation matrix at Gauss points for beam .
mbdyn_pre_beam_gauss_point_position
Return the positions of all Gauss points for beam .
mbdyn_pre_beam_helical_compute
Build a beam model for a helical spring.
mbdyn_pre_beam_helical_shape
Compute coordinates at the center-line of a helical spring.
mbdyn_pre_beam_node_orientation
Returns the orientation matrices of all nodes from beam .
mbdyn_pre_beam_node_position
Returns the position of all nodes connected to beam .
mbdyn_pre_beam_plot
Generate a plot of a curved beam.
mbdyn_pre_beam_print_nodes
Print a list of nodes for beam model to file .
mbdyn_pre_beam_write_beams
Generate an MBDyn input file containing all beam elements of beam model .
mbdyn_pre_beam_write_bodies
Generate an MBDyn input file containing all bodies of beam model .
mbdyn_pre_beam_write_nodes
Generate an MBDyn input file containing all nodes of beam model .
mbdyn_pre_beam_write_reference_frames
Generate an MBDyn input file containing all reference frames of beam model .
mbdyn_pre_input_file_copy
Creates symbolic links or copies of files inside .
mbdyn_pre_input_file_subst
This function parses the MBDyn input file and replaces all occurrences of variable names with the values found in the file .
mbdyn_pre_solid_write_const_laws
Generate an MBDyn input file containing all constitutive laws from .
mbdyn_pre_solid_write_elements
Generate an MBDyn input file containing all solid elements, constraints and loads from .
mbdyn_pre_solid_write_nodes
Generate an MBDyn input file containing all nodes from .
mbdyn_pre_write_fem_data
Creates a FEM input file for MBDyn's model element.
mbdyn_pre_write_param_file
Write all scalar variables in struct to file "".

Solver

mbdyn_solver_command_default
Return the default mbdyn command (e.g. "mbdyn -C")
mbdyn_solver_num_threads_default
Return the default number of threads used by all tests
mbdyn_solver_run
Runs the multibody dynamics software MBDyn.

Post-processing

mbdyn_post_abs_to_rel
Converts absolute node positions an velocities stored in file "" to relative positions and velocities with respect to node .
mbdyn_post_angles_to_rotation_mat
Convert rotation angles to rotation matrices for all structural node numbers in array .
mbdyn_post_deformations_scale
Scales up the deformations of selected nodes.
mbdyn_post_ehd_create_mesh
Build a 3D mesh from hydrodynamic plain bearing data for export to Gmsh.
mbdyn_post_ehd_export_data
Export hydrodynamic plain bearing data to Gmsh format.
mbdyn_post_ehd_export_mesh
Export 3D mesh from hydrodynamic plain bearings Gmsh format
mbdyn_post_ehd_interp_grid
Build a grid for interpolation of nodal data from MBDyn hydrodynamic bearings.
mbdyn_post_ehd_load_output
Loads output data from MBDyn's hydrodynamic plain bearings.
mbdyn_post_ehd_plot_mesh
Plot hydrodynamic bearing data returned from mbdyn_post_ehd_load_output.
mbdyn_post_ehd_plot_nodal
Create a surface or contour plot for output data from MBDyn's hydrodynamic bearings.
mbdyn_post_eig_to_mov_file
Converts the results from an direct eigenanalysis generated by MBDyn to a MBDyn compatible .mov file.
mbdyn_post_export_model
Convert the output data from MBDyn to Finite Element model data suiteable for processing with mboct-fem-pkg
mbdyn_post_frequency_response
Compute the frequency response function of the linearized equations of motion of a MBDyn model.
mbdyn_post_frequency_response_helper
Internal helper function for mbdyn_post_frequency_response.
mbdyn_post_id_to_index
Convert node and element id numbers to index values (e.g. vars.node_id_* => vars.node_idx_*).
mbdyn_post_inertia_compute
Computes the mass, center of gravity and momentum of inertia of groups of bodies.
mbdyn_post_inertia_print
Prints inertia properties to the file .
mbdyn_post_load_fem_data
M ...
mbdyn_post_load_log
Parses the MBDyn log-file ".log" and returns information about variables, nodes, elements, and structural node degrees of freedom.
mbdyn_post_load_log_body
Loads information about rigid and flexible bodies from MBDyn output file ".log".
mbdyn_post_load_log_force
Parses the MBDyn log-file ".log" and returns information about the structural forces.
mbdyn_post_load_log_node
Parses the MBDyn log-file ".log" and returns information about the structural node degrees of freedom.
mbdyn_post_load_log_output_freq
Read the output frequency from log file "".
mbdyn_post_load_log_var
Read the value of variable name "" from MBDyn .log file "".
mbdyn_post_load_log_vars
Parse MBDyn's .log file "" and return all variable definitions.
mbdyn_post_load_output
Load a generic output file from MBDyn.
mbdyn_post_load_output_abs
Load output data from abstract nodes from MBDyn output file OUTPUT_FILE.
mbdyn_post_load_output_act
Loads internal forces and moments of beam2 and beam3 elements from MBDyn output file ".act".
mbdyn_post_load_output_drv
Loads output from drive callers from MBDyn output file "".
mbdyn_post_load_output_eig
Loads data form an eigenanalysis from MBDyn output file "".
mbdyn_post_load_output_frc
Loads the MBDyn .frc file named "".
mbdyn_post_load_output_ine
Loads the MBDyn .ine file named "".
mbdyn_post_load_output_jnt
Loads the MBDyn .jnt file named "".
mbdyn_post_load_output_mod
Load modal element data from MBDyn output file ".mod".
mbdyn_post_load_output_mov
Loads the MBDyn .mov file named "".
mbdyn_post_load_output_out
Load MBDyn's .out file from disk.
mbdyn_post_load_output_prm
Loads the MBDyn .prm file named "".
mbdyn_post_load_output_rfm
Loads the MBDyn .rfm file named "".
mbdyn_post_load_output_sol
Loads data for solid and beam elements from an MBDyn output file "".
mbdyn_post_load_output_struct
Loads data from MBDyn .mov, .out and .frc files ("", "" and "").
mbdyn_post_load_output_trc
Loads the MBDyn .trc file "".
mbdyn_post_modal_decomposition
Computes eigenvalues and corresponding left and right eigenvectors of the generalized eigenvalue problem A * VR = LAM * B * VR and VL.' * A = LAM * VL.' * B
mbdyn_post_node_id_to_node_index
Converts node id's to node indices (e.g.
mbdyn_post_nodes_print
Print a list of nodes from struct array to file "" or to stdout.
mbdyn_post_offset_ref_frame_node
Returns the offset between reference frame and structural node measured in the global reference frame or in the reference frame of the node.
mbdyn_post_output_filename
Append the extension to filename .
mbdyn_post_plot_model
Plot the deformed shape of an MBDyn model (currently only beam elements are plotted).
mbdyn_post_print_eig
Print all eigenvalues from an eigenanalysis to a file.
mbdyn_post_rigid_body_kinematics
Compute position, velocity and acceleration of a point rigidly attached to a structural node.
mbdyn_post_trans_mat_struct_node
Assemble a transformation matrix for a structural node needed in mbdyn_post_frequency_response.
mbdyn_post_write_aster
Converts a MBDyn model to Code_Aster .mail format.

Flags

MBDYN_ELEMENT_FLAG_LUMPED_MASS
enables a lumped mass matrix for dynamic solid elements
MBDYN_ELEMENT_FLAG_STATIC
disables the mass matrix for solid elements
MBDYN_NODE_TYPE_DYNAMIC_STRUCT
dynamic structural nodes with degrees of freedom for displacements, rotations, linear momentum and angular momentum
MBDYN_NODE_TYPE_DYNAMIC_STRUCT_DISP
dynamic structural displacement only nodes with degrees of freedom for displacement and linear momentum
MBDYN_NODE_TYPE_STATIC_STRUCT
static structural nodes with degrees of freedom for displacements and rotations
MBDYN_NODE_TYPE_STATIC_STRUCT_DISP
static structural displacement only nodes with degrees of freedom for displacement

Initialization

mbdyn_path_init
Set the environment variables needed to run mbdyn, mbdyn2easyanim.sh and abs2rel.awk.

Package: mboct-mbdyn-pkg