Magne Sjaastad
0405584bb6
System : Replaced tab with four spaces in ApplicationCode and subfolders
2015-10-23 15:46:25 +02:00
Jacob Støren
b99b334fc8
Removed the obsolete code from odb reader etc.
2015-06-15 09:21:26 +02:00
Stein Dale
0899824694
WIP - added functions that return all result components in one call
...
Addded 3 new functions to the geo mech interface and the ODB reader.
Work in progress. Not tested yet.
2015-06-12 14:34:08 +02:00
Jacob Støren
05315bc7a9
OdbReader: Made sure metadata are available before using them
...
Fix of #308 ,
Also avoid loading any results when selecting an empty/none-existing
result (Partial fix of #316 )
2015-06-09 11:23:24 +02:00
Stein Dale
ac700e0c54
Added functions for element sets
...
The geomech interface and the ODB reader now have functions that return
element set names for a given part, and that return a vector of element
indexes for a given element set.
2015-06-04 16:16:35 +02:00
Stein Dale
bd6e6acc53
Changed interface of openFile()
...
The error message string pointer does now not have a default value any
more (NULL).
2015-06-04 13:05:36 +02:00
Stein Dale
be1759835e
Refactored ODB results metadata
...
Added private class RifOdbResultKey which is now used as a map key and
as a parameter in results related methods.
2015-06-04 11:14:12 +02:00
Stein Dale
fd571091b4
Changed return value of RifOdbReader::stepFrame()
...
Made sure that RifOdbReader::stepFrame() returns a const reference to
the given frame.
2015-06-03 11:15:05 +02:00
Stein Dale
a91962b1a2
Linux compilation fixes
...
Did some changes to be able to build on RedHat. Stopped using auto for
iterator types.
2015-05-08 15:51:14 +02:00
Stein Dale
5fe54c6c8d
Instance count, initialize/finalize ODB API
...
Using a static instance count member to determine when to initialize or
finalize ABAQUS ODB API.
2015-05-08 15:51:12 +02:00
Stein Dale
bd3758d026
Added part index parameter to RifOdbReader::resultItemCount()
...
Made sure that RifOdbReader::resultItemCount() takes part index into
account.
2015-05-06 13:32:14 +02:00
Stein Dale
5a3603bf43
Error message on file open
...
Added optional error string parameter to openFile(). Made sure that
exceptions are handled. Returning false on file open error.
2015-05-06 13:22:09 +02:00
Stein Dale
3bbe7ec2dd
Removed enum
...
Removed enum for result position which now is replaced by a private enum
in the reader class.
2015-05-06 13:00:13 +02:00
Stein Dale
520823c267
Made result position enum private
...
Made enum RifOdbResultPosition private. Renamed it to PesPos.
2015-05-06 11:09:37 +02:00
Stein Dale
4f9f322f2e
Refactored results metadata
...
Using two levels of maps for results metadata, with result positions on
the top level.
2015-05-06 10:22:45 +02:00
Stein Dale
5ad9cf80e3
Results per part instance
...
Improved reading of results. Made sure that field subsets for the
correct part instance are used. Keeping id to index maps for elements
and nodes, which are used when reading results. Note: Geometry must have
been read before reading results.
2015-05-06 09:47:19 +02:00
Stein Dale
d5eb383abd
Results metadata
...
Building results metadata data member on metadata request.
2015-05-05 09:41:59 +02:00
Stein Dale
eb30a51e54
Cleaned up odb interface.
...
Cleaned up interface. openFile() must be called before getting metadata,
results, or geometry. Running unit tests for only one reader instance
for the test file.
2015-05-05 09:41:57 +02:00
Jacob Støren
4e9f91274c
Fixing assert due to m_odb not set
...
There still are troubles closing two instances accessing same file.
2015-04-30 16:35:21 +02:00
Stein Dale
be2f261f9d
Made some functions private.
...
Made static member functions initializeOdbAPI() and finalizeOdbAPI()
private. Consider removing finalizeOdbAPI() since we don't use it.
2015-04-30 14:22:20 +02:00
Stein Dale
5a9f22bfd2
Renaming of geo mech interface, separated results reporting for different result positions
...
Reporting nodal, element nodal, and integration point result names
separately. Some functions in the geo mech interface were renamed.
Renamed "result" to "field" in function and parameter names in the
interface. TODO: Consider if we should report integration point results
as element node results too, and extrapolate when requested, if needed.
Fixed map handling in RifOdbReader::componentIndex().
2015-04-30 14:22:18 +02:00
Stein Dale
ebfad85b5b
Basic ODB reading, including results
...
Now reading nodal results and displacements. Reporting results meta data
(names with components).
2015-04-30 10:36:17 +02:00
Jacob Støren
0560457cd2
Added C3D8 elements. Removed unused close()
...
Close (or something similar) will be added when needed.
2015-04-28 09:21:27 +02:00
Jacob Støren
ea3d2dc40d
Fixed missing conversion to node indices from node ids
2015-04-27 13:47:41 +02:00
Jacob Støren
2b967d9ca1
Created FemPartCollection
...
Used that instead against reader to make a "results free" interface
regarding reading the element models.
2015-04-27 10:25:04 +02:00
Jacob Støren
b94ba6ca0b
Added nodal results reading to Femreader interface
...
Adjusted interface
Started to add control code to fire reader and visualization generation
2015-04-25 08:57:34 +02:00
Jacob Støren
4737807b7b
GeoMech data model and reader unit test framework.
2015-04-23 13:24:15 +02:00