8. Updates
8.1. Version 2.5.0 (September 2025)
8.1.1. Applications
Updated as a consequence of module updates. Bugs corrected (b2print_solutions, b2browser).
8.1.2. Modules
API has changed slightly. Addressing Model
and Modeler
objects is now done with capitalized Model
and Modeler
properties. The modules code is being updated: Object names are now
capitalized in most modules.
b2util.py: Bug with
stensor
array order fixed.branch.py: Error messages updated. `BranchArray2` moved to own module
brancharray.py
. Node local transforms problem with storing theNLCS
transformation matrices fixed.Node
andElem
objects updated.set_node
replaced byadd_node
.set_elem
replaced byadd_elem
. New methodget_node_dof_transformation
.case.py:
get_dofd_name
replaced byget_dofdot_name
.get_dofdd_name
replaced byget_dofdotdot_name
.get_dofd_init
replaced byget_dofdot_init
.modeler.py, mdl.py, points.py, edges.py, surfaces.py: Code revised and eliminated bugs with edge and surface objects. The FE meshers are placed in a module
femesh.py
.Fields (field.py): Code revised. The
probe_field
method ofModel
checks if a requested field is valid. TheNewSamplingPointField
field (still in progress) will speed up loading of fields, which is at this time very slow for large models.formatdb.py: Code revised and some known bugs fixed.
matandprop.py: Bugs in code fixed.
model.py: Added SPF fields cache. New methods
get_dof_transformations
,get_dof_transformation
set_dof_transformation
. Problems with specifyingsubcase
fixed.nbc.py: Bugs in code (set methods) fixed.
transformations.py: New module for handling DOF transformations.
New named tuple
DataSetAtt
added. It is returned byprobe_field
.
8.1.3. Tests
Tests revised. DOF transform test added.
8.1.4. Examples
Bugs fixed. All Modeler examples now work.
8.2. Version 2.4.5 (June 2025)
8.2.1. Applications
nbc module: Added nbc
moments
class.b2print_solutions: New option
--available
prints available fields for a given name, case, cycle..Added module
consistentlineloads.py
utility for computing consistent line loads, where loads along a line vary (b2ip+++ cannot do this).
8.2.2. Build
# Added TBB lib in cmake scripts (from DLR).
Convert some numpy.int to int.
8.2.3. Modules
Updated case.py for GRADIENTS_ONLY.
Revised fields.py, and, as a consequence, formatdb.py, model.py, branch.py. Removed
model.get_field_type()
and replaced bymodel.has_field()
.Fixed error in metric.py (weights for 3x3 scheme).
Revised nbc.py.
Revised tables.py (as a consequence of formatdb.py).
8.3. Version 2.4.4 (May 2025)
8.3.1. Modules
bcs: Added cross section types
BEAM_CROSS_SECTION``and "`MATRIX
. These are loaded only and are not used in beam stress calculations by simples.fields: Re-introduced
minmax
(was lost in a previous update).formatdb: Fixed errors. Still not really satisfactory!
matandprop: Updated Property object. Fixed beam stress bug. Fixed tests.
model: Specifying
mode=
in field selection is now equivalent tosubcase=
.Model open code revised (default was wrong in documentation:
n
creates a new model and associated database.nd
removes an existing database and creates a new one.o
opens an existing model and associated database in read/write mode.or
opens an existing model and associated database in read-only mode. Default iso
(read/write). New model databases are always write enabled.The
Model.mcbrowser
method has been added. It launches the mcbrowser Memcom data browser with the current database.