API reference#
The element classes, their Data and Probe classes and the constants
DOF, INT and DOUBLE are available directly from the pyfe3d
namespace, and the solvers from pyfe3d.solver:
Finite elements for 3D problems in Python/Cython#
The pyfe3d namespace gives the element classes Quad4,
Quad4R, Tria3R, Tria3DSG, BeamC,
BeamLR, Truss and Spring, each with its
Data and Probe classes (e.g. BeamCData and
BeamCProbe), and the module pyfe3d.solver. It also defines:
DOF = 6: number of degrees of freedom per node;INT: NumPy integer type of the Clongof the platform,np.int64when a Clonghas 8 bytes andnp.int32otherwise, matching thelongarrays of row and column indices of theupdate_*methods of the elements;DOUBLE = np.float64: NumPy type of the arrays of values.
- Finite elements
- Quad4 - Quadrilateral element with mixed integration (
pyfe3d.quad4) Quad4Quad4DataQuad4Probe- Quad4R - Quadrilateral element with reduced integration (
pyfe3d.quad4r) Quad4RQuad4RDataQuad4RProbe- Tria3DSG - Triangular element with discrete shear gap (
pyfe3d.tria3dsg) Tria3DSGTria3DSGDataTria3DSGProbe- Tria3R - Triangular element with reduced integration (
pyfe3d.tria3r) Tria3RTria3RDataTria3RProbe- BeamC - Consistent Timoshenko 3D beam element (
pyfe3d.beamc) BeamCBeamCDataBeamCProbe- BeamLR - Linear Timoshenko 3D beam element with reduced integration (
pyfe3d.beamlr) BeamLRBeamLRDataBeamLRProbe- Spring - 3D spring element with constant stiffnesses (
pyfe3d.spring) SpringSpringDataSpringProbe- Truss - Linear truss 3D element with analytical integration (
pyfe3d.truss) TrussTrussDataTrussProbe
- Quad4 - Quadrilateral element with mixed integration (
- Properties
- Shell property module (
pyfe3d.shellprop) GradABDLaminaLaminationParametersMatLaminaShellPropmake_balanced_LP()make_orthotropic_LP()make_symmetric_LP()shellprop_from_LaminationParameters()shellprop_from_lamination_parameters()- Shell property utils module (
pyfe3d.shellprop_utils) isotropic_plate()laminated_plate()read_laminaprop()- Beam property module (
pyfe3d.beamprop) BeamProp
- Shell property module (
- Solvers (
pyfe3d.solver) - Linear static solution (
pyfe3d.solver.static) linear_static()solve()- Static analyses of a model given by callables (
pyfe3d.solver.analysis) AnalysisFreeDofs- Convergence criteria of the non-linear solvers (
pyfe3d.solver.convergence) CRITERIAROUNDOFF_FACTORcheck_convergence()crisfield_weights()crisfield_zeta()roundoff_floor()scaled_norm()- Newton-Raphson solver (
pyfe3d.solver.newton_raphson) DIVERGENCE_FACTORINC_CUT_FACTORINC_GROWTH_FACTORLINE_SEARCH_ALPHANUM_ITER_BEFORE_DIVERGENCE_CHECKTOO_SLOW_WINDOW_NR_iterations()_abs_matrix()_check_divergence()_log_iteration()_norm()_solver_NR()_weights()- Arc-length solvers (
pyfe3d.solver.arc_length) DESIRED_NUM_ITERMAX_GROWTH_FACTORMAX_NUM_STEPSMETHODSMIN_GROWTH_FACTORPSI_solver_arc_length()- Calls to the callables of the non-linear solvers (
pyfe3d.solver.callbacks) accepts_kwarg()calc_fint()calc_kT()calc_load_vector()is_load_configuration_dependent()is_load_factor_dependent()- Eigenvalue analyses (
pyfe3d.solver.eigen) DenseFallbackWarningcheck_eigenpairs()complex_frequency()diagonal_preconditioner()estimate_cayley_sigma()is_positive_definite()linear_buckling()natural_frequency()- Utilities for ARPACK, against the Intel MKL bug of
dsteqr(pyfe3d.solver.arpackutils) ARPACK_MAX_NCVDSTEQR_MAX_SIZEMKL_FAULTY_VERSIONS_arpack_takes_rng()_auto_max_ncv()_deflation_shift()_lapack_name_from_config()_parse_mkl_version()_rayleigh_ritz()arpack_max_ncv()arpack_ncv()capped_eigsh()dsteqr_is_faulty()lapack_is_mkl()mkl_version()release_memory()start_kwargs()start_vector()- Utilities for sparse matrices (
pyfe3d.solver.sparseutils) NUM_LISTED_DOFScheck_null_rows_cols()is_symmetric()- Log messages of the solvers (
pyfe3d.solver.logger) msg()warn()