From 619e90920288c31c8e355e8a5190405f8e3f0d7c Mon Sep 17 00:00:00 2001 From: Uwe Date: Fri, 17 Mar 2023 16:41:10 +0100 Subject: [PATCH] [FEM] fix 1D thermomech example - the heat capacity of water was wrong - also specify just thermal expansion, this make that water is recognized as material and then all water parameters will be available (that the analysis fail despite CalculiX reports everything went well s is another issue, I will investigate later) --- src/Mod/Fem/femexamples/thermomech_flow1d.py | 4 ++-- src/Mod/Fem/femtest/data/calculix/thermomech_flow1D.inp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/Fem/femexamples/thermomech_flow1d.py b/src/Mod/Fem/femexamples/thermomech_flow1d.py index 402350ce9d..48c186ed18 100644 --- a/src/Mod/Fem/femexamples/thermomech_flow1d.py +++ b/src/Mod/Fem/femexamples/thermomech_flow1d.py @@ -148,9 +148,9 @@ def setup(doc=None, solvertype="ccxtools"): mat = material_obj.Material mat["Name"] = "Water" mat["Density"] = "998 kg/m^3" - mat["SpecificHeat"] = "4.182 J/kg/K" + mat["SpecificHeat"] = "4182 J/kg/K" mat["DynamicViscosity"] = "1.003e-3 kg/m/s" - mat["VolumetricThermalExpansionCoefficient"] = "2.07e-4 m/m/K" + mat["ThermalExpansionCoefficient"] = "2.07e-4 m/m/K" mat["ThermalConductivity"] = "0.591 W/m/K" material_obj.Material = mat analysis.addObject(material_obj) diff --git a/src/Mod/Fem/femtest/data/calculix/thermomech_flow1D.inp b/src/Mod/Fem/femtest/data/calculix/thermomech_flow1D.inp index d8b7b7b0e2..436321a863 100644 --- a/src/Mod/Fem/femtest/data/calculix/thermomech_flow1D.inp +++ b/src/Mod/Fem/femtest/data/calculix/thermomech_flow1D.inp @@ -91,7 +91,7 @@ Eedges *DENSITY 9.98E-10 *FLUID CONSTANTS -4182000,1.003E-09 +4182000000,1.003E-09 *********************************************************** ** Sections