I stumbled over a problem I cannot resolve and need to know if this is either a bug in Elmer or if I have to edit my case.sif:
The mesh coordinates in FreeCAD are in mm. Therefore we pass to Elmer:
Code: Select all
Coordinate Scaling 0.001
This works well (electrostatics, stresses, flux etc.), except for the heat source.
I made the Elmer Tutorial 1 "3D – Temperature field of a solid object". When I input to FreeCAD the case.sif that ElmerGui generated, I get no temperature difference.
I only get the desired temperature difference wither:
- if I omit
Code: Select all
Coordinate Scaling 0.001
Code: Select all
Heat Source = Real 0.01
Code: Select all
Heat Source = Real 10000.0
Is this a bug in Elmer or do I have to tell the heat equation about the scaling?
Since the aim of FreeCAD is to provide full access to Elmer, we try that people can take a case.sif from other Elmer users and get the same results, i would like to avoid that FreeCAD has to recalculate the heat source by a factor of 1e6 and write this to the case.sif file to get the correct result because then an ElmerGUI user will get wrong results since his mesh is not scaled.
For reference here is the case.sif that FreeCAD generates for the heat tutorial case:
I tested with this Elmer version:
Code: Select all
Version: 9.0 (Rev: Release, Compiled: 2022-08-02)