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
stensorarray order fixed.branch.py: Error messages updated. `BranchArray2` moved to own module
brancharray.py. Node local transforms problem with storing theNLCStransformation matrices fixed.NodeandElemobjects updated.set_nodereplaced byadd_node.set_elemreplaced byadd_elem. New methodget_node_dof_transformation.case.py:
get_dofd_namereplaced byget_dofdot_name.get_dofdd_namereplaced byget_dofdotdot_name.get_dofd_initreplaced 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_fieldmethod ofModelchecks if a requested field is valid. TheNewSamplingPointFieldfield (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_transformationset_dof_transformation. Problems with specifyingsubcasefixed.nbc.py: Bugs in code (set methods) fixed.
transformations.py: New module for handling DOF transformations.
New named tuple
DataSetAttadded. 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
momentsclass.b2print_solutions: New option
--availableprints available fields for a given name, case, cycle..Added module
consistentlineloads.pyutility 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:
ncreates a new model and associated database.ndremoves an existing database and creates a new one.oopens an existing model and associated database in read/write mode.oropens an existing model and associated database in read-only mode. Default iso(read/write). New model databases are always write enabled.The
Model.mcbrowsermethod has been added. It launches the mcbrowser Memcom data browser with the current database.