Reports

common_formats

draw_schema_armature_mur

postprocess.reports.draw_schema_armature_mur.getRebarAnnotationLines(defStrings)

export_displacements

postprocess.reports.export_displacements.exportDisplacements(combNm, nodSet, fDesc)

Prints the specified file the resuls of displacements in a combination and set of nodes given as parameters

Parameters:
  • combNM – name of the combination
  • nodSet – set of nodes
  • fDesc – name of the file to save the displacements

export_internal_forces

postprocess.reports.export_internal_forces.exportBeamInternalForces(nmbComb, elems, fName)

Writes a comma separated values file with the element’s internal forces.

postprocess.reports.export_internal_forces.exportInternalForces(nmbComb, elems, fDesc)

Writes a comma separated values file with the element’s internal forces.

Parameters:
  • nmbComb – combination name.
  • elems – element set.
  • fDesc – file descriptor to write internal forces on.
postprocess.reports.export_internal_forces.exportShellInternalForces(nmbComb, elems, fDesc, fConv=1.0)

Writes a comma separated values file with the element’s internal forces.

postprocess.reports.export_internal_forces.exportaEsfuerzosShellSet(preprocessor, nmbComb, st, fName)

Writes a comma separated values file with the element’s internal forces.

graphical_reports

class postprocess.reports.graphical_reports.RecordLoadCaseDisp(loadCaseName, loadCaseDescr, loadCaseExpr, setsToDispLoads, setsToDispDspRot, setsToDispIntForc)

Bases: object

Generation of graphic files and adding to report-tex files for a load case

Variables:
  • loadCaseName – name of the load case to be depicted
  • loadCaseDescr – description text of the load case
  • loadCaseExpr – mathematical expression to define the load case (ex: ‘1.0*GselfWeight+1.0*DeadLoad’)
  • setsToDispLoads – ordered list of sets of shell elements to display loads
  • setsToDispBeamLoads – ordered list of sets of beam elements to display loads (defaults to [])
  • compElLoad – component of load on beam elements to be represented available components: ‘axialComponent’, ‘transComponent’, ‘transYComponent’,’transZComponent’ (defaults to ‘transComponent’)
  • unitsScaleLoads – factor to apply to loads if we want to change the units (defaults to 1).
  • unitsLoads – text to especify the units in which loads are represented (defaults to ‘units:[m,kN]’)
  • vectorScaleLoads – factor to apply to the vectors length in the representation of element loads (defaults to 1).
  • vectorScalePointLoads – factor to apply to the vectors length in the representation of nodal loads (defaults to 1).
  • multByElemAreaLoads – boolean value that must be True if we want to represent the total load on each element (=load multiplied by element area) and False if we are going to depict the value of the uniform load per unit area (defaults to False)
  • listDspRot – ordered list of displacement or rotations to be displayed available components: ‘uX’, ‘uY’, ‘uZ’, ‘rotX’, rotY’, ‘rotZ’ (defaults to [‘uX’, ‘uY’, ‘uZ’])
  • setsToDispDspRot – ordered list of sets of elements to display displacements or rotations
  • unitsScaleDispl – factor to apply to displacements if we want to change the units (defaults to 1).
  • unitsDispl – text to especify the units in which displacements are represented (defaults to ‘[m]’
  • listIntForc – ordered list of internal forces to be displayed as scalar field over «shell» elements available components: ‘N1’, ‘N2’, ‘M1’, ‘M2’, ‘Q1’, ‘Q2’ (defaults to [‘N1’, ‘N2’, ‘M1’, ‘M2’, ‘Q1’, ‘Q2’])
  • setsToDispIntForc – ordered list of sets of elements (of type «shell») to display internal forces
  • listBeamIntForc – ordered list of internal forces to be displayed as diagrams on lines for «beam» elements available components: ‘N’, ‘My’, ‘Mz’, ‘Qy’, ‘Qz’,’T’ (defaults to [‘N’, ‘My’, ‘Mz’, ‘Qy’, ‘Qz’,’T’])
  • setsToDispBeamIntForc – ordered list of sets of elements (of type «beam») to display internal forces (defaults to [])
  • scaleDispBeamIntForc – tuple (escN,escQ,escM) correponding to the scales to apply to displays of, respectively, axial forces (N), shear forces (Q) or bending moments (M) in beam elements (defaults to (1.0,1.0,1.0))
  • unitsScaleForc – factor to apply to internal forces if we want to change the units (defaults to 1).
  • unitsForc – text to especify the units in which forces are represented (defaults to ‘[kN/m]’)
  • unitsScaleMom – factor to apply to internal moments if we want to change the units (defaults to 1).
  • unitsMom – text to especify the units in which bending moments are represented (defaults to ‘[kN.m/m]’)
  • cameraParameters – parameters that define the camera position, zoom, etc.
  • cameraParametersForBeams – parameters that define the camera position, zoom, etc for displaying beam elements.
loadReports(FEcase, pathGr, texFile, grWdt)

Creates the graphics files of loads for the load case and insert them in a LaTex file

Parameters:
  • FEcase – finite element case
  • pathGr – directory to place figures (ex: ‘text/graphics/loads/’)
  • texFile – laTex file where to include the graphics (e.g.:’text/report_loads.tex’)
  • grWdt – width to be applied to graphics
simplLCReports(FEproblem, pathGr, texFile, grWdt, capStdTexts)
Creates the graphics files of displacements and internal forces
calculated for a simple load case and insert them in a LaTex file
Parameters:
  • FEproblem – finite element problem
  • pathGr – directory to place figures (ex: ‘text/graphics/loads/’)
  • texFile – laTex file where to include the graphics (e.g.:’text/report_loads.tex’)
  • grWdt – width to be applied to graphics
  • capStdTexts – dictionary with the standard captions.
postprocess.reports.graphical_reports.checksReports(limitStateLabel, setsShEl, argsShEl, capTexts, pathGr, texReportFile, grWdt, setsBmElView=[], argsBmElScale=[])
Create a LaTeX report including the desired graphical results obtained
in the verification of a limit state.
Parameters:
  • limitStateLabel – limit state
  • setsShEl – Ordered list of sets of shell elements (defined in model_data.py as instances of utils_display.setToDisplay) to be included in the report
  • argsShEl – Ordered list of arguments to be included in the report for shell elements
  • capTexts – dictionary from wich to read the texts for captions
  • pathGr – width to be applied to graphics
  • texReportFile – laTex file where to include the graphics
  • grWdt – width of the graphics for the tex file
  • setsBmView – Ordered list of lists [set of beam elements, view to represent this set] to be included in the report. The sets have been defined in model_data.py as instances of utils_display.setToDisplay and the possible views are: ‘XYZPos’,’XNeg’,’XPos’,’YNeg’,’YPos’, ‘ZNeg’,’ZPos’ (defaults to ‘XYZPos’)
  • argsShEl – Ordered list of lists [arguments, scale to represent the argument] to be included in the report for beam elements
postprocess.reports.graphical_reports.getRecordLoadCaseDispFromLoadPattern(loadPattern, unitsScaleLoads=0.001, unitsScaleDispl=0.001, setsToDispLoads=None, setsToDispDspRot=None, setsToDispIntForc=None)
postprocess.reports.graphical_reports.insertGrInTex(texFile, grFileNm, grWdt, capText, labl='')

Include a graphic in a LaTeX file.

Parameters:
  • texFile – laTex file where to include the graphics (e.g.:’text/report_loads.tex’)
  • grFileNm – name of the graphic file with path and without extension
  • grWdt – width to be applied to graphics
  • capText – text for the caption
  • labl – label

graph_material

class postprocess.reports.graph_material.InteractionDiagram3DGraphic(intDiagram3D, axialForceScaleFactor=0.1, title='Interaction diagram.', fUnitConv=0.001, coloredBy=0)
show()

Show the 3D diagram in the screen.

class postprocess.reports.graph_material.InteractionDiagramGraphic(title)

Bases: postprocess.reports.graph_material.MPLGraphic

Matplotlib grahic of a interaction diagram

setupGraphic(diag, internalForces=None)
class postprocess.reports.graph_material.MPLGraphic(title)

Bases: object

Matplotlib grahic

close()
getPathPolygon(plg)
savefig(fileName)
show()
class postprocess.reports.graph_material.MPLGraphicDecorations(title)

Bases: object

Matplotlib graphic decorations (title, labels,…)

setGrid(plt)
setLabels(plt)
setUp(plt)
class postprocess.reports.graph_material.UniaxialMaterialDiagramGraphic(epsMin, epsMax, title)
getStrains()

Abcissae for the diagram

getStresses(diag)
savefig(plt, fileName)
setupAxis(plt)
setupGraphic(plt, materialDiagram)
show(plt)

list_cable_capacity

postprocess.reports.list_cable_capacity.listTieStrength(preprocessor, setName, fName, titulo)

Prints the normal stresses check results in elastic domain for a set of elements that represent a tie.

postprocess.reports.list_cable_capacity.printCabeceraListadoTirante(archivo, tit)
postprocess.reports.list_cable_capacity.printCierreListadoTirante(archivo)

list_capacity_factor

postprocess.reports.list_capacity_factor.listaCapacityFactor(preprocessor, setName, fName, titulo)

Print results of normal stresses in elastic range checking for an elment set whose material is a steel shape.

postprocess.reports.list_capacity_factor.printCabeceraListadoCapacityFactor(archivo, nmbSecc)
postprocess.reports.list_capacity_factor.printCierreListadoCapacityFactor(archivo)

list_cracking

postprocess.reports.list_cracking.printCabeceraListadoFisuracion(archivo, nmbSecc)
postprocess.reports.list_cracking.printCierreListadoFisuracion(archivo)

list_data

postprocess.reports.list_data.listSetNodes(preprocessor, setName, fileName, fmt)

Writes a list of the nodes from the set

Parameters:
  • setName – name of the set.
  • fileName – file name.
  • fmt – format for coordinates.
postprocess.reports.list_data.listaElementosBarraSet(preprocessor, setName, fileName, fmt)

Writes a list of the bar elements from the set

Parameters:
  • setName – name of the set.
  • fileName – file name.
  • fmt – format for coordinates.
postprocess.reports.list_data.listaElementosSet(preprocessor, setName, fileName)

Writes a list of the nodes from the set

Parameters:
  • setName – name of the set.
  • fileName – file name.
postprocess.reports.list_data.listaElementosTrussSet(preprocessor, setName, fileName, fmt)

Writes a list of the truss elements from the set

Parameters:
  • setName – name of the set.
  • fileName – file name.
  • fmt – format for coordinates.
postprocess.reports.list_data.listaEntidadesLinea(preprocessor, lineName, fileName, nmbProcLstElementos, fmt, encab, tit)

Writes a list of the entities from the line

Parameters:
  • lineName – name of the line.
  • fileName – file name.
  • fmt – format for coordinates.
postprocess.reports.list_data.listaEntidadesSet(preprocessor, setName, fileName, nmbProcLstElementos, fmt, encab, tit)

Writes a list of the entities from the set

Parameters:
  • setName – name of the set.
  • fileName – file name.
  • fmt – format for coordinates.
postprocess.reports.list_data.listaKPtsSet(preprocessor, setName, fileName, fmt)

Writes a list of the points from the set

Parameters:
  • setName – name of the set.
  • fileName – file name.
  • fmt – format for coordinates.
postprocess.reports.list_data.listaLineasSet(setName, fileName)

Writes a list of the lines from the set

Parameters:
  • setName – name of the set.
  • fileName – file name.

list_displacements

class postprocess.reports.list_displacements.RecordListadoDesplazamientos

Bases: object

formato = '{:7.2f}'
generaListadoDesplazamientos(nmbComb, fName)
listaCabeceras = []
pointsLists = []
sectionHeadingA = 'subsection'
sectionHeadingB = 'subsubsection'
titulo = 'Desplazamientos'
postprocess.reports.list_displacements.listNodeDisplacements(preprocessor, nmbComb, nodeList, fmt, fName, encab, tit)
postprocess.reports.list_displacements.listNodeDisplacementsLineas(preprocessor, nmbComb, setNameLineas, fmt, fName, encab, tit)
postprocess.reports.list_displacements.listNodeDisplacementsSET(nmbComb, setName, fmt, fName, encab, tit)
postprocess.reports.list_displacements.listNodeDisplacementsSet(preprocessor, nmbComb, setName, fmt, fName)
postprocess.reports.list_displacements.listPointsDisplacements(preprocessor, nmbComb, pointList, fmt, fName, encab, tit)

Writes a list of the displacements of the nodes associated to the points.

Parameters:
  • nmbComb – name of the combination for which the displacements were obtained.
  • pointList – list of points.
  • fmt – format for numbers.
  • fName – output file name.
  • encab – header.
  • tit – title.

list_internal_forces

postprocess.reports.list_internal_forces.listaDatosEsfuerzosTrussSet(nmbComb, setName, fmt, fName)
postprocess.reports.list_internal_forces.listaEsfuerzosBarrasLineas(preprocessor, nmbComb, setNameLineas, fmt, fName, encab, tit)
postprocess.reports.list_internal_forces.listaEsfuerzosBarrasSet(preprocessor, nmbComb, setName, fmt, fName)
postprocess.reports.list_internal_forces.listaEsfuerzosElasticBeam3dSet(preprocessor, nmbComb, setName, fmt, fName)
postprocess.reports.list_internal_forces.listaEsfuerzosFCBarrasLineas(nmbComb, setNameLineas, fmt, fName, encab, tit, nmbDiag)

Print internal forces and capacity factor of the elements contained in the lines of the argument set.

postprocess.reports.list_internal_forces.listaEsfuerzosFCBarrasSet(preprocessor, nmbComb, setName, fmt, fName, nmbDiag)

Print internal forces and capacity factor of the elements contained in the argument set.

postprocess.reports.list_internal_forces.listaEsfuerzosTrussLineas(nmbComb, setNameLineas, fmt, fName, encab, tit)
postprocess.reports.list_internal_forces.listaEsfuerzosTrussSet(nmbComb, setName, fmt, fName, encab, tit)
postprocess.reports.list_internal_forces.listaEsfuerzosZeroLenghtSet(nmbComb, setName, fmt, fName, encab, tit)

list_loads

postprocess.reports.list_loads.ListaCargaPuntual(preprocessor, loadPattern, archivo, carga, fmt)
postprocess.reports.list_loads.ListaCargaUniforme(preprocessor, loadPattern, archivo, carga, fmt)
postprocess.reports.list_loads.ListaCargasElementos(loadPattern, archivo, fmt)
postprocess.reports.list_loads.listNodalLoads(loadPattern, archivo, fmt)

list_max_min_displacements

Imprime valores extremos de los desplazamientos of the nodes del conjunto cuyo nombre se pasa como parámetro.

postprocess.reports.list_max_min_displacements.listNodeUMaxUMin(preprocessor, setName, tit, fmt, fName)
postprocess.reports.list_max_min_displacements.listNodeVMaxVMin(setName, tit, fmt, fName)
postprocess.reports.list_max_min_displacements.listNodeWMaxWMin(preprocessor, setName, tit, fmt, fName)

list_metal_profiles_capacity

postprocess.reports.list_metal_profiles_capacity.listSteelShapeTNStrengthElasticRange(setName, fName, titulo)

Print the results of normal stresses checking in an element set whose material is a steel shape.

postprocess.reports.list_metal_profiles_capacity.listSteelShapeVStrength(setName, fName, titulo)

Print the results of shear stress checking in an element set whose material is a steel shape.

postprocess.reports.list_metal_profiles_capacity.printTNListingEndSteelShape(archivo)

Closes the listing.

postprocess.reports.list_metal_profiles_capacity.printTNListingHeaderSteelShape(archivo, tit)

Open the normal stresses listing.

postprocess.reports.list_metal_profiles_capacity.printVListingHeaderSteelShape(archivo, tit)

Open the shear listing.

list_N_V_beams

postprocess.reports.list_N_V_beams.listaTNBarrasLatex(nmbDBase, nmbTabla, nmbArchivoListadoTex)

Result of normal stresses in linear elements to include in a LaTeX file.

postprocess.reports.list_N_V_beams.listaVBarrasLatex(nmbDBase, nmbTabla, nmbArchivoListadoTex)

Shear check results in linear elements to include in a LaTeX file.

list_reactions

Generation of reactions repports.

class postprocess.reports.list_reactions.ReactionsListRecord

Bases: object

formato = '{:7.2f}'
listaCabeceras = []
nodeLists = []
sectionHeadingA = 'subsection'
sectionHeadingB = 'subsubsection'
titulo = 'Reactions'
write(nmbComb, fName)
postprocess.reports.list_reactions.listNodeReactions(preprocessor, nmbComb, nodeListArranque, fmt, fName, encab, tit)

Prints reactions for each of the nodes from the list.

postprocess.reports.list_reactions.listPointReactions(nmbComb, pointList, fmt, fName, encab, tit)

Print the reactions associated with the nodes associated to the points from the list.

postprocess.reports.list_reactions.listPointReactionsCSV(preprocessor, nmbComb, pointList, fmt, fName)

Prints the reactions in CSV (comma separated values) format.

list_shear

postprocess.reports.list_shear.printShearVerificationListingFoot(archivo)

Print the shear verification listing foot.

postprocess.reports.list_shear.printShearVerificationListingHeader(archivo, nmbSecc)

Prints the header of the shear verification listing.

report_material

class postprocess.reports.report_material.ConcreteReport(concrDiag)

Bases: object

Constructs LaTex tables for depicting porperties of concrete materials.

Variables:concrDiag – concrete material (of type concrete01 or concrete02)
tableCompress()

returns a LaTeX table that depicts the concrete compressive properties.

tableTens()

returns a LaTeX table that depicts the concrete tensile properties.

tableTensStiff(paramTensStiffness)
returns a LaTeX table that depicts the concrete tension
stiffening properties (concrete of type concrete02).
Parameters:paramTensStiffness – instance of the object concrete_base.paramTensStiffness that defines the parameters of tension stiffness
postprocess.reports.report_material.report_concrete02(concrDiag, paramTensStiffening, grTitle, grFileName, texFileName)

return a LaTeX table that depicts the concrete compressive, tensile and tension-stiffening properties as well as its stress-strain graphic.

Parameters:
  • concrDiag – concrete material of type concrete02
  • paramTensStiffening – instance of the object concrete_base.paramTensStiffness that defines the parameters of tension stiffness.
  • grTitle – title for the graphic
  • grFileName – name of the graphics file
  • texFileName – name of the LaTeX file