From 012609969d1b4aa1cdcee70a6a6ce46c3347d4e8 Mon Sep 17 00:00:00 2001 From: FEA-eng <59876896+FEA-eng@users.noreply.github.com> Date: Sun, 14 Jul 2024 14:31:05 +0200 Subject: [PATCH] FEM: Update and rename thermomech_bimetall.py to thermomech_bimetal.py --- .../{thermomech_bimetall.py => thermomech_bimetal.py} | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) rename src/Mod/Fem/femexamples/{thermomech_bimetall.py => thermomech_bimetal.py} (96%) diff --git a/src/Mod/Fem/femexamples/thermomech_bimetall.py b/src/Mod/Fem/femexamples/thermomech_bimetal.py similarity index 96% rename from src/Mod/Fem/femexamples/thermomech_bimetall.py rename to src/Mod/Fem/femexamples/thermomech_bimetal.py index c66e711793..6b00686a11 100644 --- a/src/Mod/Fem/femexamples/thermomech_bimetall.py +++ b/src/Mod/Fem/femexamples/thermomech_bimetal.py @@ -23,7 +23,7 @@ # *************************************************************************** # to run the example use: """ -from femexamples.thermomech_bimetall import setup +from femexamples.thermomech_bimetal import setup setup() """ @@ -45,7 +45,7 @@ from .manager import init_doc def get_information(): return { - "name": "Thermomech Bimetall", + "name": "Thermomech Bimetal", "meshtype": "solid", "meshelement": "Tet10", "constraints": ["fixed", "initial temperature", "temperature"], @@ -61,14 +61,14 @@ def get_explanation(header=""): + """ To run the example from Python console use: -from femexamples.thermomech_bimetall import setup +from femexamples.thermomech_bimetal import setup setup() See forum topic post: https://forum.freecad.org/viewtopic.php?f=18&t=43040&start=10#p366664 -thermomechanical bimetall +thermomechanical bimetal analytical solution 7.05 mm deflection in the invar material direction see post in the forum link this file has 7.15 mm max deflection @@ -204,7 +204,7 @@ def setup(doc=None, solvertype="ccxtools"): analysis.addObject(con_temp) # mesh - from .meshes.mesh_thermomech_bimetall_tetra10 import create_nodes, create_elements + from .meshes.mesh_thermomech_bimetal_tetra10 import create_nodes, create_elements fem_mesh = Fem.FemMesh() control = create_nodes(fem_mesh)