Function File: mbdyn_pre_beam_write_nodes(beam, output_file, options)

Generate an MBDyn input file <output_file> containing all nodes 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.id_offset … Integer offset for all body id’s.

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.node_type … Possible values are "static" and "dynamic".

Package: mboct-mbdyn-pkg