FEM: calculix writer, improve floats writing for femelement material

This commit is contained in:
Bernd Hahnebach
2021-07-14 09:58:37 +02:00
parent fef8689c48
commit e7efd877d8
26 changed files with 70 additions and 65 deletions

View File

@@ -436,9 +436,9 @@ Evolumes
** MechanicalMaterial
*MATERIAL, NAME=MechanicalMaterial
*ELASTIC
200000, 0.300
200000,0.3
*DENSITY
7.900e-09
7.9E-09
***********************************************************
** Sections

View File

@@ -481,7 +481,7 @@ Evolumes
** MechanicalMaterial
*MATERIAL, NAME=MechanicalMaterial
*ELASTIC
200000, 0.300
200000,0.3
***********************************************************
** Sections

View File

@@ -737,7 +737,7 @@ Evolumes
** MechanicalMaterial
*MATERIAL, NAME=MechanicalMaterial
*ELASTIC
210000, 0.300
210000,0.3
***********************************************************
** Sections

View File

@@ -351,7 +351,7 @@ Evolumes
** FemMaterial
*MATERIAL, NAME=FemMaterial
*ELASTIC
210000, 0.300
210000,0.3
***********************************************************
** Sections

View File

@@ -377,7 +377,7 @@ Evolumes
** FemMaterial
*MATERIAL, NAME=FemMaterial
*ELASTIC
210000, 0.300
210000,0.3
***********************************************************
** Sections

View File

@@ -351,7 +351,7 @@ Evolumes
** FemMaterial
*MATERIAL, NAME=FemMaterial
*ELASTIC
210000, 0.300
210000,0.3
***********************************************************
** Sections

View File

@@ -369,7 +369,7 @@ Evolumes
** FemMaterial
*MATERIAL, NAME=FemMaterial
*ELASTIC
210000, 0.300
210000,0.3
***********************************************************
** Sections

View File

@@ -18729,16 +18729,16 @@ Evolumes
** Steel_Scotty
*MATERIAL, NAME=Steel_Scotty
*ELASTIC
210000, 0.300
210000,0.3
*DENSITY
4.000e-09
4E-09
** FreeCAD material name: Steel_Std
** Steel_Std
*MATERIAL, NAME=Steel_Std
*ELASTIC
210000, 0.300
210000,0.3
*DENSITY
8.000e-09
8E-09
***********************************************************
** Sections

View File

@@ -38355,7 +38355,7 @@ Efaces
** MechanicalMaterial
*MATERIAL, NAME=MechanicalMaterial
*ELASTIC
72000, 0.300
72000,0.3
***********************************************************
** Sections

View File

@@ -5042,7 +5042,7 @@ Evolumes
** MechanicalMaterial
*MATERIAL, NAME=MechanicalMaterial
*ELASTIC
200000, 0.300
200000,0.3
***********************************************************
** Sections

View File

@@ -3393,7 +3393,7 @@ Evolumes
** Material
*MATERIAL, NAME=Material
*ELASTIC
210000, 0.300
210000,0.3
***********************************************************
** Sections

View File

@@ -2144,9 +2144,9 @@ Evolumes
** FemMaterial
*MATERIAL, NAME=FemMaterial
*ELASTIC
210000, 0.300
210000,0.3
*DENSITY
7.900e-09
7.9E-09
***********************************************************
** Sections

View File

@@ -18598,7 +18598,7 @@ Evolumes
** MechanicalMaterial
*MATERIAL, NAME=MechanicalMaterial
*ELASTIC
210000, 0.300
210000,0.3
***********************************************************
** Sections

View File

@@ -3622,7 +3622,7 @@ Evolumes
** FemMaterial
*MATERIAL, NAME=FemMaterial
*ELASTIC
210000, 0.300
210000,0.3
***********************************************************
** Sections

View File

@@ -10966,7 +10966,7 @@ Evolumes
** MechanicalMaterial
*MATERIAL, NAME=MechanicalMaterial
*ELASTIC
210000, 0.300
210000,0.3
***********************************************************
** Sections

View File

@@ -17029,9 +17029,9 @@ Evolumes
** MechanicalMaterial
*MATERIAL, NAME=MechanicalMaterial
*ELASTIC
200000, 0.300
200000,0.3
*DENSITY
7.900e-09
7.9E-09
***********************************************************
** Sections

View File

@@ -27614,17 +27614,17 @@ Evolumes
** FemMaterial1
*MATERIAL, NAME=FemMaterial1
*ELASTIC
32000, 0.170
32000,0.17
** FreeCAD material name: PLA
** FemMaterial2
*MATERIAL, NAME=FemMaterial2
*ELASTIC
3640, 0.360
3640,0.36
** FreeCAD material name: Steel-Generic
** FemMaterial3
*MATERIAL, NAME=FemMaterial3
*ELASTIC
200000, 0.300
200000,0.3
***********************************************************
** Sections

View File

@@ -2525,17 +2525,17 @@ Efaces
** FemMaterial1
*MATERIAL, NAME=FemMaterial1
*ELASTIC
32000, 0.170
32000,0.17
** FreeCAD material name: PLA
** FemMaterial2
*MATERIAL, NAME=FemMaterial2
*ELASTIC
3640, 0.360
3640,0.36
** FreeCAD material name: Steel-Generic
** FemMaterial3
*MATERIAL, NAME=FemMaterial3
*ELASTIC
200000, 0.300
200000,0.3
***********************************************************
** Sections

View File

@@ -1217,12 +1217,12 @@ Evolumes
** MechanicalMaterialLow
*MATERIAL, NAME=MechanicalMaterialLow
*ELASTIC
70000, 0.350
70000,0.35
** FreeCAD material name: Steel-Generic
** MechanicalMaterialUpp
*MATERIAL, NAME=MechanicalMaterialUpp
*ELASTIC
200000, 0.300
200000,0.3
***********************************************************
** Sections

View File

@@ -19992,7 +19992,7 @@ Evolumes
** Material_lin
*MATERIAL, NAME=Material_lin
*ELASTIC
210000, 0.300
210000,0.3
*PLASTIC
240.0, 0.0
270.0, 0.025

View File

@@ -2551,7 +2551,7 @@ Efaces
** FemMaterial
*MATERIAL, NAME=FemMaterial
*ELASTIC
200000, 0.300
200000,0.3
***********************************************************
** Sections

View File

@@ -2551,7 +2551,7 @@ Efaces
** FemMaterial
*MATERIAL, NAME=FemMaterial
*ELASTIC
200000, 0.300
200000,0.3
***********************************************************
** Sections

View File

@@ -8182,24 +8182,24 @@ Evolumes
** MaterialCopper
*MATERIAL, NAME=MaterialCopper
*ELASTIC
130000, 0.354
130000,0.354
*CONDUCTIVITY
200.000
200
*EXPANSION
2.000e-05
2E-05
*SPECIFIC HEAT
3.850e+08
385000000
** FreeCAD material name: Invar
** MaterialInvar
*MATERIAL, NAME=MaterialInvar
*ELASTIC
137000, 0.280
137000,0.28
*CONDUCTIVITY
13.000
13
*EXPANSION
1.200e-06
1.2E-06
*SPECIFIC HEAT
5.100e+08
510000000
***********************************************************
** Initial temperature constraint

View File

@@ -92,9 +92,9 @@ Eedges
** FluidMaterial
*MATERIAL, NAME=FluidMaterial
*DENSITY
9.980e-10
9.98E-10
*FLUID CONSTANTS
4.182e+06, 1.003e-09
4182000,1.003E-09
***********************************************************
** Sections

View File

@@ -113,13 +113,13 @@ Evolumes
** MechanicalMaterial
*MATERIAL, NAME=MechanicalMaterial
*ELASTIC
200000, 0.300
200000,0.3
*CONDUCTIVITY
43.270
43.27
*EXPANSION
1.200e-05
1.2E-05
*SPECIFIC HEAT
5.000e+08
500000000
***********************************************************
** Initial temperature constraint