FEM: constants, fix unit of permitivity of vacuum
This commit is contained in:
@@ -340,7 +340,8 @@ class Writer(object):
|
||||
def _handleElectrostaticConstants(self):
|
||||
self._constant(
|
||||
"Permittivity Of Vacuum",
|
||||
getConstant("PermittivityOfVacuum", "T^4*I^2/(L*M)"))
|
||||
getConstant("PermittivityOfVacuum", "T^4*I^2/(L^3*M)"))
|
||||
# https://forum.freecadweb.org/viewtopic.php?f=18&p=400959#p400959
|
||||
|
||||
def _handleElectrostaticMaterial(self, bodies):
|
||||
for obj in self._getMember("App::MaterialObject"):
|
||||
|
||||
@@ -41,7 +41,9 @@ def stefan_boltzmann():
|
||||
|
||||
|
||||
def permittivity_of_vakuum():
|
||||
return "8.8542e-12 s^4*A^2/(m*kg)"
|
||||
# https://forum.freecadweb.org/viewtopic.php?f=18&p=400959#p400959
|
||||
return "8.8542e-12 s^4*A^2 / (m**3 * kg)"
|
||||
|
||||
|
||||
|
||||
def boltzmann_constant():
|
||||
|
||||
Reference in New Issue
Block a user