CalculiX results 'frd' to Paraview 'vtk' converter

About the development of the FEM module/workbench.

Moderator: bernd

mamah
Posts: 5
Joined: Sat Jun 20, 2015 12:18 pm

CalculiX results 'frd' to Paraview 'vtk' converter

Postby mamah » Sun Jul 05, 2015 6:28 pm

Hello there!

Please find the app using following link:

https://drive.google.com/file/d/0B9ZH5M ... sp=sharing

If it will be find useful and may some usage in FreeCAD development I will provide the code (C#, mono/.net).

regards,

Maciek
User avatar
yorik
Site Admin
Posts: 11514
Joined: Tue Feb 17, 2009 9:16 pm
Location: São Paulo, Brazil
Contact:

Re: CalculiX results 'frd' to Paraview 'vtk' converter

Postby yorik » Sun Jul 05, 2015 8:38 pm

I approved your post because it looks coherent and your googledrive username matches, but you must be careful when posting just a link to an executable file... It REALLY looks like a malware spam... I almost rejected it.
kwahoo
Posts: 230
Joined: Fri Nov 29, 2013 3:09 pm
Contact:

Re: CalculiX results 'frd' to Paraview 'vtk' converter

Postby kwahoo » Sun Jul 05, 2015 8:51 pm

Looks like a real tool.

Code: Select all

adi@vladimir:~/Pobrane$ file mmh_ccx2vtk.exe 
mmh_ccx2vtk.exe: PE32 executable (console) Intel 80386 Mono/.Net assembly, for MS Windows
adi@vladimir:~/Pobrane$ ./mmh_ccx2vtk.exe 
*** CalculiX output file ".frd" to vtk format converter by [edited]
: Running on Unix 3.19.0.21
! (00) argument not found...
:  
:  Usage:
:  
:  mmh_ccx2vtk.exe [path]CalculiXoutputFileName.frd
:  
:  The [path] string is optional, if not provided assembly will
:  try to open specified "frd" file in current directory.
:  
:  After succesful conversion the new file will be created using input file name 
:  with suffix: "_mmh.vtk" in the input directory
:  
:  Conversion supports all CalculiX element types and defined number of steps.
:  The vector results are transalated as vectors, any other data are treat as scalar
:  The name of Nodal Result Block in 'vtk' file and displayed in ParaView is as:
:      '[stepn_number]-block_name-item_name' where:
:  
:            'step_number' is the user step number,
:            'block_name' is the name i.e. "DISPR"
:            'item_name' is the item name i.e. "D1"
:  
:  It is the .NET/MONO assembly and it should work properly in Linux/Windows environment.
:  
:  Please inform me about bugs on mail: [edited]
:  
;) Have a nice step!
:  
:  <<<MMH>>>
:  

: press Enter...
adi@vladimir:~/Pobrane$ 
but still, publishing links to a random executable is very unprofessional.
mamah
Posts: 5
Joined: Sat Jun 20, 2015 12:18 pm

Re: CalculiX results 'frd' to Paraview 'vtk' converter

Postby mamah » Mon Jul 06, 2015 9:34 pm

I am not professional, so sorry for such a way to share this file. Stil hope someone will find it useful.
Maciek.
User avatar
PrzemoF
Posts: 2649
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: CalculiX results 'frd' to Paraview 'vtk' converter

Postby PrzemoF » Tue Jul 07, 2015 3:14 pm

Cześć Maciek,
First of all thanks for sharing the binary! A part of the open source culture is to be extra careful when someone is providing just a binary file with no code as there is no way to tell what the binary does without running it. If you run it you may find out that it's something that you didn't want to run!
If you can provide the code maybe someone (or you?) can port it to C++/python, especially that there were some attempts to use vtk before [1]

[1] viewtopic.php?t=10587
User avatar
makkemal
Posts: 395
Joined: Wed Apr 29, 2015 12:41 pm
Location: South Africa
Contact:

Re: CalculiX results 'frd' to Paraview 'vtk' converter

Postby makkemal » Thu Apr 14, 2016 8:26 am

Hi Maciek
Could you please provide the source code since it will greatly assist in
viewtopic.php?f=18&t=10587&p=121559#p121559

Regards
Michael
mamah
Posts: 5
Joined: Sat Jun 20, 2015 12:18 pm

Re: CalculiX results 'frd' to Paraview 'vtk' converter

Postby mamah » Wed Apr 20, 2016 5:30 am

Hello!

Please find the link to Google disc to the packed Monodevelop project:

https://drive.google.com/file/d/0B9ZH5M ... sp=sharing

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
User avatar
bernd
Posts: 8332
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland

Re: CalculiX results 'frd' to Paraview 'vtk' converter

Postby bernd » Wed Apr 20, 2016 1:08 pm

mamah wrote: 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?
Here, Here, Here !!! Do you really use solid geometry in calculix to design reinforced concrete structures and steel structures ? Since I'm structural engineer for concrete structures I'm really really interested in sharing knowledge in this regard.
fandaL
Posts: 339
Joined: Thu Jul 24, 2014 8:29 am

Re: CalculiX results 'frd' to Paraview 'vtk' converter

Postby fandaL » Wed Apr 20, 2016 9:50 pm

...to use the Calculix for reinforced structures design. Is anyone also interested in that?
I'm interested in composite structures. I have only read about CalculiX possibilities, not tried calculations yet. From my point of view there is a limitation for composites to use quadrilateral elements (S8R) - I will lack a triangular element for complex geometries.
User avatar
saso
Posts: 1310
Joined: Fri May 16, 2014 1:14 pm
Contact:

Re: CalculiX results 'frd' to Paraview 'vtk' converter

Postby saso » Wed Apr 20, 2016 10:52 pm

Funny thing, I was just today thinking (wondering) how the reinforced concrete FEM calculations work (the logic/methods behind it) :)