Is it possible to fetch boundary data from the odb?
Is it possible to fetch boundary data from the odb?
(OP)
via scripting interface?
in theory it should be, since i can just click view, odb display options and show boundary info, but i haven't been able to find it in the OdbAccess section of the scripting reference.
I don't have a cae file, only an INP, but parsing it would be my last step.
in theory it should be, since i can just click view, odb display options and show boundary info, but i haven't been able to find it in the OdbAccess section of the scripting reference.
I don't have a cae file, only an INP, but parsing it would be my last step.





RE: Is it possible to fetch boundary data from the odb?
bcDisplay=ON)
... I hope this is it.
In general you can look at the abaqus.rpy file in the temporary folder. There all your actions in the cae session are recorded as a python file.
Best regards,
Rupert.
RE: Is it possible to fetch boundary data from the odb?
this displays the data in the cae, but i want to extract it in python scripting, as i need it for some vector calc (manually entering it is cumbersome and esp. error-prone, as i've recently discovered).
RE: Is it possible to fetch boundary data from the odb?
If you want to use Abaqus Scripting Interface (API) then there is no option to do it. A set with nodes with boundary conditions is internal set and API can not read the internal sets.
Unfortunately API does not cover in 100% all Abaqus/CAE or Abaqus/Viewer capabilities.
The sets you can display with:
Tools->Creat Display Group->Item:Nodes->Method:Internal sets. I am not sure does abaqus always use the same name but usually it is "TYPE 7 1" or names started with "U0" name.
If you need to get only node labels you can do it with python command which are use by Abaqus/CAE.
First find which internal set contain the nodes, display only these nodes, and use "getActiveNodeLabels()" method from viewport object.
This way has one disadvantaged, script has to bu run with abaqus/CAE or abaqus/Viewer but it should work and CAE or Viewer can be run in background mode.
Regards,
akaBarten