Condition over linear elements by using customlib
Posted: Mon May 30, 2022 2:49 am
I am trying to run Maria's example in the following topic.
https://forum.gidsimulation.com/viewtop ... ine#p14164
But I don't have got information on beam condition in the calculation file.
Here is what I have tried.
But connectivities for the beam elements was not written.
I attached the problem type files and the output.
(I don't care the calculation result. I just want to know how to write information on linear elements)
Any comments are welcome.
https://forum.gidsimulation.com/viewtop ... ine#p14164
But I don't have got information on beam condition in the calculation file.
Here is what I have tried.
- load problem type
- apply beam condition to a line of the model
- apply material condition to the model
- generate mesh
- create boundary mesh
- save project
- run the calculation
Code: Select all
GiD_WriteCalculationFile all_connectivities -elemtype Linear "id: %d connnectivities: %d %d\n"
Code: Select all
set condition_name [list "beam"]
set condition_formats [list {"%3d" "element" "id"} {"%13.5e" "property" "beamV"}]
set formats [customlib::GetElementsFormats $condition_name $condition_formats]
GiD_WriteCalculationFile elements -elemtype Linear $formats
(I don't care the calculation result. I just want to know how to write information on linear elements)
Any comments are welcome.