Import beam internal forces from Ansys

misc.import_Ansys_beam_intforces.ansysToBarInternalForces(nmbArch, nmbDBase, nmbTabla)

Imports the internal forces listing from ansys

Parameters:
  • nmbArchivo – Name of the file that contains the listing.
  • nmbDBase – Name of the database with will store the table.
  • nmbTabla – Name of the table which will containt the internal forces.
misc.import_Ansys_beam_intforces.splitActionFiles(nmbArch)

Import shell internal forces from Ansys

misc.import_Ansys_shell_intforces.ansysToEsfShell(nmbArch, nmbDBase, nmbTabla)
Importa el listado de esfuerzos en elementos shell de ansys que se pasa como parámetro
nmbArchivo: Name of the file that contains the listing. nmbDBase: Name of the database with will store the table. nmbTabla: Name of the table which will containt the internal forces.

2D fiber section testing bench

misc.scc2d_testing_bench.sectionModel(preprocessor, sectionName)

Defines a model to test a 2D fiber section.

3D fiber section testing bench

misc.scc3d_testing_bench.sectionModel(preprocessor, sectionName)

Defines a model to test a 3D fiber section.

Shell testing bench

misc.shell_testing_bench.nuevosZeroLengthShell(nmbS, tagElem, offset)

nmbS: Material name. nodeTag: node identifier. tagElem: Identificador del elemento.

misc.shell_testing_bench.simulaCargasXYFromTable(nmbQuery, nmbTbEsf, idElem, offset)
Crea las cargas sobre cada uno de los elementos a partir de las tablas creadas anteriormente
nmbQuery: Name of the query to obtain the loads. nmbTbEsf: Name ot the table that stores the internal forces. idElem: identifier of the shell element.
misc.shell_testing_bench.simulaShellElemFromTable(preprocessor, nmbDBase, nmbTablaElem, sectionName, offset)
Crea los elementos a partir de la tabla creada anteriormente
nmbDBase: Name of the database to store the tables. nmbTableElem: Name of the table that stores the element indexes. sectionName: Name of the section assigned to each element.
misc.shell_testing_bench.simulateLoadsInShellSections(nmbDatabase, nmbTablaEsfuerzos, nmbQueryEsfuerzos, nmbTablaSecc, offset)

Loads in sections

misc.loads_sections.createLoadsOnSections(preprocessor, nmbDatabase, nmbTablaEsfuerzos, nmbQueryEsfuerzos, nmbTablaSecc)

Put the loads in each section.

Matrix utils

misc.matrix_utils.matrixToNumpyArray(m)
misc.matrix_utils.vectorToNumpyArray(v)

Import beam internal forces from metal3D

misc.import_metal3_beam_intforces.getActionName(str)

Return the action name.

misc.import_metal3_beam_intforces.getCodEsf(cod)
misc.import_metal3_beam_intforces.metal3DToBarInternalForces(nmbArch, nmbDBase, nmbTabla)

Imports the internal forces listing from Metal 3D.

Parameters:
  • nmbArchivo – Name of the file that contains the listing.
  • nmbDBase – Name of the database with will store the table.
  • nmbTabla – Name of the table which will containt the internal forces.
misc.import_metal3_beam_intforces.metal3DcreateTableBarInternalForces(nmbArch, nmbDBase, nmbTabla)

Imports the internal forces listing from Metal 3D.

Parameters:
  • nmbArchivo – Name of the file that contains the listing.
  • nmbDBase – Name of the database with will store the table.
  • nmbTabla – Name of the table which will containt the internal forces.

Table of internal forces

misc.int_forces_table.extractElemFromTable(nmbDBase, nmbTablaEsf, nmbTablaElem)
Crea una tabla con los números de elemento contenidos en la tabla de esfuerzos
nmbDBase: Name of the database to store the tables. nmbTablaEsf: Name of the table that store the internal forces. nmbTableElem: Name of the table that store the element indexes.
misc.int_forces_table.extractSeccFromTable(nmbDBase, nmbTablaEsf, nmbTablaSecc)

Crea una tabla con los números de sección contenidos en la tabla de esfuerzos nmbDBase: Name of the database to store the tables. nmbTablaEsf: Name of the table that store the internal forces. nmbTableSecc: Name of the table that store the section indexes.