Add uncoupled temp-disp and heat transfer CalculiX FEM analysis types#13296
Add uncoupled temp-disp and heat transfer CalculiX FEM analysis types#13296yorikvanhavre merged 4 commits intoFreeCAD:mainfrom
Conversation
|
@marioalexis84 Could you take a look at this? The input file is written properly and the analysis is submitted but when it's set to I would expect it to fail because there are no mechanical results in this analysis (only temperature) but the errors suggest issues with node numbering for some reason. The generated .frd file is correct, I can open it with other postprocessors. |
|
can you share your test file? |
Sure, here's the file: |
|
I only get the |
|
@marioalexis84 you can temporarily remove the FreeCAD/src/Mod/Fem/femtaskpanels/task_solver_ccxtools.py Lines 297 to 300 in 495a96a Getting the same error as @FEA-eng |
|
I didn't mean to avoid the loading error, just reproduce the one reported by @FEA-eng . |
|
You won't avoid it, on the contrary, you will get the stack trace, since you would no longer catch the exception By removing |
|
Now I understand. I misunderstood your comment before being edited. |
|
Sorry for the confusion, glad it's been cleared up |
|
@FEA-eng, I guess, I tracked it down to this code FreeCAD/src/Mod/Fem/feminout/importToolsFem.py Lines 433 to 452 in 7a44179 This is what I get, when running If we had "disp" in result_set, we would've set FreeCAD/src/Mod/Fem/feminout/importToolsFem.py Lines 356 to 359 in 7a44179 In other two modes, we have "disp" in I did as it was written in the comments for the above mentioned function and made a PR (FEA-eng#1) to your repo. With these changes I managed to get a result: So I guess, a user shouldn't be able to activate the displacement slider, if there are no displacements |
FEM: fix temperature only analysis
Thanks a lot, PR merged. The issue with the slider is not that bad, maybe we could even fix it separately if it's hard to do now. @marioalexis84 What do you think? |
|
Ok to me. In a next PR we can add the heat flux variable to the .inp writer and to the .frd reader. |
Do you mean #12117 ? Yes, that could be the next step. I've tried to add this some time ago but I've only managed to prepare a code that will write HFL to the input file: but supporting it in results objects will be more tricky. Especially since it's a vector quantity. |
I will work on it as soon as possible. |

fixes #11646 and also adds uncoupled temp-disp analysis type
a new property
Thermo Mech Typeis added; by default, it's set tocoupled- nothing changes, but it can be also set touncoupled(then the analysis type is uncoupled temperature-displacement) orpure heat transfer(then the analysis type is heat transfer)