calculix / ccx2paraview

CalculiX to Paraview converter (frd to vtk/vtu). Makes possible to view and postprocess CalculiX analysis results in Paraview. Generates Mises and Principal components for stress and strain tensors.
GNU General Public License v3.0
95 stars 22 forks source link

Flow velocity of incompressible 3D-CFD cannot be converted. #41

Open kominamiHIDEAKI opened 4 months ago

kominamiHIDEAKI commented 4 months ago

Thank you for this wonderful software. I'm Japanese and use translation software, so please excuse my strange English.

There is a problem when converting the results of 3D-CFD calculations with CalculiX.

There is no problem with compressible fluids, but with incompressible fluids, the flow velocity is not converted.

I used CaluculiX's standard post software(cgx) to confirm that the flow velocity(V3DF) is displayed correctly in the calculation results for incompressible fluids. I used the editor to make sure that the result file(*.frd) contains the flow velocity variable(V3DF).

Could you confirm this behaviour on your side?

imirzov commented 4 months ago

Hi and thanks for posting the issue. Perfect English! Please, attach your FRD file (if it's small enough) and tell, which element type have you been using?

kominamiHIDEAKI commented 4 months ago

http://www.dhondt.de/ Available downloads for the solver (CalculiX CrunchiX: ccx):

I pulled out something related to 3D-CFD from the archive-file above, and modified so that node-value is output.

I ran them on Windows version. (http://www.dhondt.de/calculix_2.21_4win.zip)

Element type is F3D8.

--- Contents in attach files ----

compressible coucylcentcomp coucylcomp

incompressible coucylcent coucylcent2


ccx2paraview_github_mail.tar.gz ccx2paraview_github_mail.zip

imirzov commented 4 months ago

Ok, elements of type F3D8 are supported by the converter. Right now I have no installed Calculix and wouldn't like to run all tests, sorry. Would you post also converter's console output for your model? I need to see if it prints some error.

kominamiHIDEAKI commented 4 months ago

I will post converter's console output for my models.(movie) And,I will post also vtk file, which is the result. movie_mp4.tar.gz movie_mp4.zip VTK_File.tar.gz VTK_File.zip

imirzov commented 4 months ago

Dear Hideaki Kominami, I've looked through the files you've provided. Thank you for all of them. I've converted all your models (2 compressible, 2 incompressible) with the actual converter's version and with an older one. I can confirm the bug: V3DF is skipped while processing /incompressible/coucylcent and /incompressible/coucylcent2 jobs.