haha same problem here. I stopped promising to much ...
missing units in value expression parser
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: missing units in value expression parser
Just had a look, unit Volt is fully implemented. It is called electric potential.
- https://github.com/FreeCAD/FreeCAD/blob ... nit.h#L111
- https://github.com/FreeCAD/FreeCAD/blob ... t.cpp#L440
- https://github.com/FreeCAD/FreeCAD/blob ... t.cpp#L477
- https://github.com/FreeCAD/FreeCAD/blob ... it.py#L354
- https://github.com/FreeCAD/FreeCAD/blob ... it.py#L320
It is just not implemented as a material constant in material editor. AFAIK electric is not a material constant. Am I wrong?
- https://github.com/FreeCAD/FreeCAD/blob ... nit.h#L111
- https://github.com/FreeCAD/FreeCAD/blob ... t.cpp#L440
- https://github.com/FreeCAD/FreeCAD/blob ... t.cpp#L477
- https://github.com/FreeCAD/FreeCAD/blob ... it.py#L354
- https://github.com/FreeCAD/FreeCAD/blob ... it.py#L320
It is just not implemented as a material constant in material editor. AFAIK electric is not a material constant. Am I wrong?
Re: missing units in value expression parser
But for sure the electrical conductivity is a material constant https://en.wikipedia.org/wiki/Electrica ... nductivity and not implemented in FreeCAD unit system. Would this be needed?
Re: missing units in value expression parser
but to be honest I am a concrete guy ... I know how to put in a light bulb but my knowledge does not go much further
Re: missing units in value expression parser
FEM has a constraint electrostatic potential which uses Volt and you are right since it is not implemented it is not possible to use mV.
Re: missing units in value expression parser
It does not work for me because the parser doesn't recognize it. I had a loot and to me it seems it is missing in 3 files:
https://forum.freecadweb.org/viewtopic. ... 34#p315856
Re: missing units in value expression parser
Here some more/ others : https://www.electrical4u.com/electrical ... materials/
- Resistivity
- Conductivity
- Temperature coefficient of Resistance
- Permittivity
- Thermoelectricity