I've tried to translate the comments in source to english. I hope it's all done and will be readable and well understood by others. In any doubts please contact. It's a long time when I worked on it so I don't remember all the clues but will try to help. The main idea which involved development of this piece of software was to use the Calculix for reinforced structures design. Is anyone also interested in that? Or in using FreeCAD for any other structural design i.e. steel structures? It would be nice to share our thinks and expectations. I see that FreeCAD, as it is, is really powerful and do poses the abilities to make some add-on to achieve great results in professional work.
Regards,
Maciek
The attached file contains improvements to Maciek's code that are at least useful to me:
A regular bug in line 176 of Eksporty.cs has been corrected.
The floating point time value of a solution item has been incorporated in its VTK name.
The main stresses S1, S2 and S3 are now three different scalar items instead of one vector item.
If a .frd solution item does not address all nodes, it will still be displayed properly (relevant for contact solution items).
I hope that these corrections are seen as valuable and in no conflict with other code modifications that I am not aware of.
Nice to see that this particular piece of software is somehow useful for somebody and still utilized and even tuned/developed. It really makes me happy. At the moment I think that “Kimr” posses better knowledge about the code than me. I’m not sure if in present I’m able to provide any help but I’m going to work on this. Anyway I wish You all the bests with utilizing end developing free (in every meaning) software.
How can I use this utility?, in Windows it only opens a command windows with press Enter at the end, but no conversion. The other zip-file in the thread have many .cs files I don't know how to use.
Any recommendation? I am trying to export the Von Mises results and the user @UR_ recommended me this utility: https://forum.freecadweb.org/viewtopic.php?f=18&t=23960
mamah wrote: ↑Fri Aug 11, 2017 7:15 pm
Nice to see that this particular piece of software is somehow useful for somebody...
Best Regards
Maciek mamah@wp.pl
Hi Maciek,
your converting-tool is very useful, thanks for your work and thanks
for contributing to the community. At the moment we use it here: https://forum.freecadweb.org/viewtopic. ... 1&start=40
best regards Thomas
This app was written using MonoDevelop for Mono on Xubuntu. If I do remember well it was stable version 14.4. I has never even tested if it will run on Windows. It is Linux application.
So, everything what You need to use it on Linux is just Mono and then just click... Or better way use Geany as I found when was testing Calculix. It works great with its integrated terminal and Abaqus syntax highlighting with ccx, cgx and any other converting tool added to common shortcut. I cannot help more becouse I do not remember many about that software and even cgx, ccx and Paraview using. Last days I’m trying to renew that knowledge and maybe I’ll continue the second attempt to use all of this for structural design. Maybe this time it will be more successful.
Thank you very much for creating the codes to convert 'frd' to 'vtk' after Calculix runs. I am using the files provided by kimrj after he had modified the original codes and the new set of compiled codes is working well for me using mono in Linux.
But I have run into a situation where the code is unable to complete the conversion. My Calculix model uses material with incremental plasticity that uses 13 internal state variables (SDV) in ccx. I also have material with user multiple defined internal variables. When I try to use mmh_ccx2vtk.exe on the frd files, I get an error like so:
: Nodal results block found:'SDV', defined number of result lines: 4404, defined number of items: 13
! (33) Can not read the results in line: 29898
I see where this ERTXT0033 is caught within the Program.cs (line 339) but I have no idea what to modify to allow for up to 13 internal state variables. I do not know how to program in C. I would really appreciate if you can provide some hints or suggestions of what to modify.
The reason for error is that Substring (85,12) returns error for following line:
-1 1 0.00000E+00 0.00000E+00 0.00000E+00 0.00000E+00 0.00000E+00 0.00000E+00
The line has only 86 characters so the substring fails.
I was thinking why there are substring being used? Would have been lots easier if String.Split was used OR it was done base don regular expressions.
Since you are the people who know the algrithm so will need your guidance whether to replace substrings with Split?