-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fem: Load heat flux from CalculiX results - fixes #12117 #14019
Conversation
Thanks, it works as expected. But it seems that one test needs to be updated:
|
3bed526
to
d8397d5
Compare
Note that heat flux unit is |
With the input deck always in SI(mm) I would expect CalculiX to output it in mW/mm^2 and FreeCAD to convert it to SI(m) so W/m^2. Does it have to use kW instead of W? |
There is no coversion. Internally only displacements are converted from mm to m (the lengths are assumed to be in mm). |
I don't know how the result handling works internally but the effect is that all outputs in FreeCAD FEM are in SI(m) so displacements are in m, stresses in Pa and so on. This is definitely annoying in mechanical analyses and was introduced only to fix the issues with electromagnetic ones. It would be best to offer an option to change the units in results but using the SI(mm) system by default with a proper handling of all quantities should be possible as well. Currently, it's also confusing that you enter the data in mm and get the results in m without even an annotation next to the legend showing the quantity and unit (such labels themselves would greatly improve user-friendliness). |
Actually only displacement and stresses are rescaled. See: FreeCAD/src/Mod/Fem/App/FemVTKTools.cpp Lines 944 to 964 in b72a8c4
|
@marioalexis84 Ok, I see. Then it's even more confusing for the user than I thought. The unit display would definitely improve the situation. I would expect the heat flux to be in W/m^2 but it's actually in mW/mm^2 = kW/m^2. |
d8397d5
to
3323ba0
Compare
Fixes #12117.
The heat flux values are saved in the HeatFlux property of the FemResult object.
The visualization is accesible from the pipelines.
@FEA-eng