Skip to article

 

Information on the Properties of Contacts, Shells, Beams, Springs, Point Masses

Commands have been developed that save the properties of selected blocks for beams, shells, springs and point masses to a user-specified file. The properties of contact pairs are saved to a file in the same way.

Full command syntax:

list contact {[[id] {[<id>] [(<id range start> to <id range finish>)...]}...] [<name>] [all]
     [except {[<except id>] [(<except id range start> to <except id range finish>)...]}...]}
     [file <filename>]
list beam properties {[[id] {[<id>] [(<id range start> to <id range finish>)...]}...] [all]
     [except {[<except id>] [(<except id range start> to <except id range finish>)...]}...]}
     [file <filename>]
list lumpmass properties {[[id] {[<id>] [(<id range start> to <id range finish>)...]}...] [all]
     [except {[<except id>] [(<except id range start> to <except id range finish>)...]}...]}
     [file <filename>]
list shell properties {[[id] {[<id>] [(<id range start> to <id range finish>)...]}...] [all]
     [except {[<except id>] [(<except id range start> to <except id range finish>)...]}...]}
     [file <filename>]
list spring properties {[[id] {[<id>] [(<id range start> to <id range finish>)...]}...] [all]
     [except {[<except id>] [(<except id range start> to <except id range finish>)...]}...]}
     [file <filename>]

Usage example:

list contact 1 file 'D:/hh.txt' - displays the properties of a contact pair Contact 1 to file hh.txt

list shell properties 1 file 'D:/hh.txt' - displays shell properties 1 to file hh.txt

list beam properties all file 'D:/hh.txt' - displays properties of beams 1 to file hh.txt

list spring properties all file 'D:/hh.txt' - displays the properties of springs 1 to file hh.txt

list lumpmass properties all file 'D:/hh.txt' - displays point properties mass 1 to file hh.txt

Python functions available in fidesys module:

string get_contact_properties(int id)
int get_contact_properties_count()
list<int> get_contact_properties_ids()
string get_beam_properties(int id) int get_beam_properties_count() list<int> get_beam_properties_ids()
string get_lump_mass_properties(int id) int get_lump_mass_properties_count() list<int> get_lump_mass_properties_ids()
string get_shell_properties(int id) int get_shell_properties_count() list<int> get_shell_properties_ids()
string get_spring_properties(int id) int get_spring_properties_count() list<int> get_spring_properties_ids()

Usage example:

ids = fidesys.get_shell_properties_ids()
for id in ids:
  print(fidesys.get_shell_properties(id))