mbdyn_pre_beam_write_beams(beam,
output_file, options)
¶Generate an MBDyn input file <output_file> containing all beam elements of beam model <beam>.
beam … Return value from mbdyn_pre_beam_compute.
output_file … If <output_file> is a string, open a new file using <output_file> as name. If <output_file> it is a file descriptor, write the output to that file descriptor.
open_mode … If <output_file> is a string, pass <open_mode> to fopen (e.g. "wt", "at").
options.first_reference_frame_number … String or integer number of the first reference frame of the beam.
options.first_node_number … String or integer number of the first node of the beam.
options.first_beam_number … String or integer number of the first beam element.
options.constitutive_law_number … String name of an integer variable holding the id of the constitutive law for the complete beam.
options.id_offset … Integer number to be added to reference frame-, node- and beam element- and drive caller-numbers.
options.private_data_output … Cell array of string names for private data which should be recorded for each beam element.
options.private_data_output_flag … String name of a boolean variable which enables/disables output of private data.
options.private_data_first_drive_idx … String name of an integer variable holding the id of the first drive caller.
options.output_flag … String name of a boolean variable which enables/disables output for the beam.
options.output_Vi … Boolean value which enables output of the total strain energy for all beam elements.
options.Vi_first_drv_idx … String name of an integer variable which holds the index of the drive caller for output of strain energy.
options.reorient_cross_section … If this flag is enabled, the variation of the cross section orientation within one beam element will be minimized.
options.start_node … If the beginning of the beam should be connected to an existing node, then <start_node> is the string name of an integer variable holding the existing node number.
options.end_node … If the end of the beam should be connected to an existing node, then <end_node> is the string name of an integer variable holding the existing node number.
options.weak_spring.stiffness … Fix all nodes of the beam to the ground by spring support elements with a total stiffness of <stiffness>.
options.weak_spring.initial_time … Time when the spring support elements are activated.
options.weak_spring.tau … Time duration the spring support elements exist. The stiffness will be reduced from <stiffness> at <initial_time> to zero at <initial_time> + <tau>.
Package: mboct-mbdyn-pkg