SAM 1.3.x [Apr 28, 2023]
SHA: 5e2bc6e0
Note: obfuscated sources are generated using a new obfuscator
Fixed Bugs
CSAM-488 POLYFLOWLib was reading all files with “res” in their names
The Polyflow reader was processing all files with “res” in their name instead of checking that the extension was “.res”.
CSAM-480 H3D file fails to open because of pool name IDs mismatch
The H3DLib
failed to open files whose results data sets were not associated with any elements. These results are
now ignored.
CSAM-489 Fix PERMASLib crash while loading complex values
The PERMAS file reader crashed when processing complex results data, depending on compilation settings.
CSAM-271 Fix bad jump on uninitialized node degree value
Fix undefined behavior during quad meshing in SurfMesh
.
CSAM-478 Fix ANSLib Cyclic Symmetry Duplicate Mesh sets
Fix ANSLib
Cyclic symmetry case with Duplicate Mesh.
In case of Cyclic symmetry, the result file may contain a duplicate mesh needed and generated by Mechanical.
The elements of this duplicate mesh are obtained by an unknown but constant offset of the Base element indices. This offset was not correct for elements assuming an odd/even sorting.
CSAM-463 Manage error in vis_SurfMesh while meshing with coarse quads
vis_SurfMesh
could crash when meshing with quads due to an issue in meshing failure management.
CSAM-448 Wrong surface name written in *COUPLING Abaqus card
The Abaqus input file writer ABAFwt
could use a surface name in the *COUPLING card that was defined in the file.
CSAM-454 Unable to read vendor specific elements when an Adina op2 is loaded
The NASlib
reader was not able to read some vendor specific element types when an Adina result file was loaded.
CSAM-288 Resolve MPC circular dependencies in the solver
MPC circular dependencies are automatically managed in the solver to avoid singularity issue.
CSAM-485 Fix CGNS export when model contains Polygons but no Polyhedron
When a model contains only surfaces, there is no polyhedron in the model, and the exported mesh not was correct.
CSAM-484 Fix CGNS Poly export when no Polygon in model
Fix CGNS export when there is No Polygon in the model.
This may happen as instance when the convention VDM_CONVENTION_WALLINTER
is not set during the Fluent import.
CSAM-481 OpenFOAM reader fails to read polymesh files which are in result folders
Polymesh files located outside the “constant” directory were not processed.
CSAM-476 Fix ABAFwt distributing coupling surface names and exported weights
An exported Abaqus input file may contain invalid *COUPLING cards because they may be applied to a surface whose name was defined twice for two different surfaces definition. Furthermore, some coupling weights may not be exported with their expected values but with a default value of 1.
CSAM-400 Fix Op2 unexpected dataset S.[VONMISES] when no corresponding OES data table is there
In NASLib_library device, if all the element types having von Mises stress or strain values are EL (Element node),
if there is only 1 ecode element type having centroid value and no von Mises value, an unexpected dataset
S.[VONMISES].E
full of 0.0 was created.
CSAM-439 Fix CGNS export Polyhedra NFACE_n connectivity
When writing Polyhedra face connectivity NFACE_n and if polygon elements are numbered with higher values than polyhedra, the wrong entry in NGON_n was used.
CSAM-440 Fix bug on contour.c to output the right contour plot with ISOVALTONE
A bug has been fixed on contour.c to output the right contour plot with ISOVALTONE.
CSAM-271 Fix connect PlaneIntersect signature function on C# wrapper
Function PlaneIntersect
had the wrong number of attributes.
CSAM-291 Fix misleading documentation on VolMesh
VolMesh
is not currently able to produce hexahedra or wedges. VolMesh
produces pyramids from the quadrilateral
faces provided and tetrahedra from the triangular ones. Finally, it fills the remaining volume with tetrahedra.
CSAM-424 Fix datasets related to effective mass in NASLib
EFFECTIVE_MASS.T
, PARTICIPATION_FACTOR.T
, MASS_FRACTION.T
and EFFECTIVE_MASS_SUMMARY.T
datasets were
stored as float, but the data was read as double, leading to memory allocation issues.
CSAM-436 Fix out-of-bound issue in Prosolve due to missing reallocation
Use of MPCs in ProSolve may lead to a memory allocation issue if the number of MPCs was increasing during the simulation.
CSAM-412 Fix automatically sorted node labels while writing sets in the ABALib writer
Fix automatically sorted user node IDs while writing an odb file. If the node labels are sorted, the data is no longer linked to the right node. For example, for indexes 1->10 if the user node IDs are 10, 1, 2, 3, 4, 5, 6, 7, 8 and 9; the nodal data from node index 10, user ID 9 was printed as assigned to the node of index 1, user ID 10 because of the reordering.
CSAM-397 Fix crash in FEMap reader for beam/shell results
This fixes a crash in FEMap reader when no shell or beam has been read in the model but a shell or beam related result is detected.
CSAM-411 Avoid ABALib crash while writing an odb without part Ids defined
This fix avoids an ABALib
crash while writing an odb without partIds defined, and a meaningful warning has been
added (pointing the partner to the VDM_CONVENTION_ALTPART
convention).
CSAM-404 Fix ABALib odb writer for nodal data leading to huge memory consumption
When nodal data with written and no consistent node was found (i.e., if data is written for a subset of nodes), a large memory consumption could be observed.
CAE-911 Fix deallocation of variables faceSharingThreads, and adjacentsElements in CGNS converter
Fix memory issue during CGNS file export when Polys are written.
CSAM-382 ABALib reader crashes when releasing step memory with odb APIs older than the 2022 release
The third party odb API is failing to release step-related memory in APIs older than 2022.
CSAM-394 Fix relative order between GL_VERSION_3_0 and OGLVERBEG(30) in vgl
Fix relative order between GL_VERSION_3_0
and OGLVERBEG(30)
in vgl that were producing compilation error.
CSAM-376 Op2 datablock read OES1 as OES1C with Composite elements
Fix Nastran op2 import of OES1 data block for composite element type:
QUAD4_comp(eltype=95), QUAD8_comp(eltype=96), TRIA3_comp(eltype=97), TRIA6_comp(eltype=98),
QUADR_comp(eltype=232), TRIAR_com(eltype=233)
CAE-1088 Fix reading PARTIDs of an Ansys rst file in ANSLib
Fixed an issue related to the PARTIDs. Some parts of a model were merged into a single part called Part0 which has an invalid PartID.
CSAM-331 Remove print statements from comsollibio.c
Remove print statements from comsollibio.c
CSAM-287 Manage “ghost” elements in Ansys rst files
This fix helps ANSLib
managing “ghost elements” in Ansys result files without crashing: sometimes, N elements are
supposed to be defined in the result file, but a small fraction of them has no element identification as if they
disappeared.
CSAM-330 Fix extension parsing of comsollibio
strstr was being used to parse the file extension of files in the “Open” method. Since strstr returns the first value that it reads, files were always being interpreted as binary if the filename contains both mphbin and mphtxt sub strings.
CSAM-288 MPC management fixes in Access
Various improvements/fixes made while investigating MPCs management:
Solve use-after-free issues after vdm_LibraryEnd.
Fix SYS_SOL_SUPERELEMENT-based Nastran input file generation in NASFwt.
Manage 0 eigenvalues requested in *FREQUENCY Abaqus card in ABAFil.
Fix weight management for non-uniform weights in ABAFwt.
Add METHOD case control to select eigenvalue extraction parameters in NASFil.
CAE-1085 - Uninitialized variable for multiple scalars in SDRCLib dataset 2414 + fix user defined temperature conversion factor reader
Add support of all scalars in the datatype to avoid uninitialized variable in the 2414 dataset.
Fix storage of the custom temperature factor (should be 1/data read).
CAE-985 vis_State reports undefined stress tensor for shear panel elements
The tensor results reported through vis_State
is undefined for shear panel elements.
CSAM-285 Exported date is corrupted in NASFwt when locale is set to fr_FR.UTF-8
Fix NULL termination issue when the exported date is longer than 11 characters.
New Features
CSAM-335 Support Ansys 2023R1
Current release support ansys file 2023R1.
CSAM-447 Support Abaqus odb API 2023
The Abaqus odb API 2023 is now provided with the library.
CSAM-271 SurfMesh performance improvement 2
Metric computation is a very expensive operation happening during meshing, this computation has been specialized for different element shapes, so it has less overhead
CSAM-271 SurfMesh performance improvement 1
Improve iterative point projection algorithm to avoid repetitive constant computations on every iterations.
CSAM-475 Export CGNS: add Convention to use old Cell zone formulae
A new convention VDM_CONVENTION_CGNSLEGACYCELLZONENUMBER
is added to be able to use the old formulae when
exporting the Cell size with cg_zone_write: Old: size[0]=Cells number + surface elements number + number of surface
elements generated to describe polyhedra.
CSAM-396 Store the default FEA element technology used by ProSolve if not initially defined
Store the FEA technology in the Connect if a default FEA technology needs to be set in the solver. Before this fix, only the default FEA technology of 3D solid elements in a structural analysis would be set in the connect while solving. This fix restores a consistent behavior.
CAE-985 Add shear panel stress dataset for SOL101 shear panel elements
A scalar stress dataset with the SHEARPANEL
qualifier is added for Nastran SOL101 shear panel elements (ecode 4).
Since the stress data was already being reported, removing it would be a breaking change. To solve this issue, the
convention VDM_CONVENTION_ONLYSCALARSHEARPANELSTRESS
was added. When this convention is added, the stress of shear
panel elements is reported as undefined in the tensorial representation.
CSAM-387 Add Convention VDM_CONVENTION_CGNSALWAYSMIXED for CGNS format export
A new convention VDM_CONVENTION_CGNSALWAYSMIXED
is added to let the user able to enforce the MIXED type while
exporting sections of the model every time a section contains only 1 type of elements.
CSAM-336 Read shell offsets from the vis_Model
Add vis_ModelElemOffset()
utility function to get shell offsets, based on vis_ModelElemThickness()
.
CAE-985 Add scalar view of stress for shear panel elements
Present the stress as a scalar dataset for elements of the shear panel type. These elements can only have in-plane
shear stress. Whenever a shear panel element is detected, we create an additional data set with the SHEARPANEL
qualifier. If the vis_State
is used, data is reported as defined only for shear panel elements.
Patches
SAM 1.3.2
Oct 11, 2023 - SHA: 02885c62
CSAM-657 Fixing Bug on missing ADJUST parameter in the exported Abaqus Input deck model when ADJUST parameter was set to NO in the initial input deck
Missing of ADJUST parameter (TIE Constraints) from the exported Abaqus input deck is fixed when ADJUST parameter were set to NO in the original Abaqus input deck
SAM 1.3.3
Nov 23, 2023 - SHA: f350444a
CSAM-665 Reading the eigen parameters correctly from Abaqus inp file
Fix reading lower bound eigenvalue parameter from Abaqus input files.
SAM 1.3.4
Dec 14, 2023 - SHA: 97f58153
CSAM-714 Fix to avoid hanging while reading a NASTRAN bdf file which contains long file name to include with in it
Fix to avoid hanging while reading a NASTRAN bdf file which contains long file to include with in it
SAM 1.3.5
Dec 26, 2023 - SHA: e8e85355
CSAM-629 Reading MAT9OR and MATORT card from Nastran input deck file
Optistruct MAT9OR card is read from Nastran input deck model.
MSC Nastran MATORT card is read from Nastran input deck model.