diff --git a/src/Mod/Fem/femsolver/calculix/writer.py b/src/Mod/Fem/femsolver/calculix/writer.py index 935de8c2ef..b2e6deafcc 100644 --- a/src/Mod/Fem/femsolver/calculix/writer.py +++ b/src/Mod/Fem/femsolver/calculix/writer.py @@ -33,7 +33,6 @@ __url__ = "https://www.freecadweb.org" import codecs import os import six -import sys import time from os.path import join @@ -293,7 +292,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self, f, femobjs, - caller_method_name="", write_before="", write_after="", con_module=None @@ -320,7 +318,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): write_name = con_module.get_sets_name() f.write("\n{}\n".format(59 * "*")) f.write("** {}\n".format(write_name.replace("_", " "))) - f.write("** written by {} function\n".format(caller_method_name)) if self.split_inpfile is True: file_name_split = "{}_{}.inp".format(self.mesh_name, write_name) @@ -338,7 +335,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self, f, femobjs, - caller_method_name="", write_before="", write_after="", con_module=None @@ -354,7 +350,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): # write constraint to file f.write("\n{}\n".format(59 * "*")) f.write("** {}\n".format(con_module.get_constraint_title())) - f.write("** written by {} function\n".format(caller_method_name)) if write_before != "": f.write(write_before) for femobj in femobjs: @@ -371,7 +366,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self.write_constraints_sets( f, femobjs=self.fixed_objects, - caller_method_name=sys._getframe().f_code.co_name, con_module=con_fixed ) @@ -379,7 +373,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self.write_constraints_data( f, femobjs=self.fixed_objects, - caller_method_name=sys._getframe().f_code.co_name, con_module=con_fixed ) @@ -389,7 +382,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self.write_constraints_sets( f, femobjs=self.displacement_objects, - caller_method_name=sys._getframe().f_code.co_name, con_module=con_displacement ) @@ -397,7 +389,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self.write_constraints_data( f, femobjs=self.displacement_objects, - caller_method_name=sys._getframe().f_code.co_name, write_after="\n", con_module=con_displacement ) @@ -408,7 +399,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self.write_constraints_sets( f, femobjs=self.planerotation_objects, - caller_method_name=sys._getframe().f_code.co_name, con_module=con_planerotation ) @@ -416,7 +406,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self.write_constraints_data( f, femobjs=self.planerotation_objects, - caller_method_name=sys._getframe().f_code.co_name, con_module=con_planerotation ) @@ -426,7 +415,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self.write_constraints_sets( f, femobjs=self.contact_objects, - caller_method_name=sys._getframe().f_code.co_name, con_module=con_contact ) @@ -434,7 +422,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self.write_constraints_data( f, femobjs=self.contact_objects, - caller_method_name=sys._getframe().f_code.co_name, con_module=con_contact ) @@ -444,7 +431,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self.write_constraints_sets( f, femobjs=self.tie_objects, - caller_method_name=sys._getframe().f_code.co_name, con_module=con_tie ) @@ -452,7 +438,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self.write_constraints_data( f, femobjs=self.tie_objects, - caller_method_name=sys._getframe().f_code.co_name, con_module=con_tie ) @@ -462,7 +447,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self.write_constraints_sets( f, femobjs=self.sectionprint_objects, - caller_method_name=sys._getframe().f_code.co_name, con_module=con_sectionprint ) @@ -470,7 +454,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self.write_constraints_data( f, femobjs=self.sectionprint_objects, - caller_method_name=sys._getframe().f_code.co_name, con_module=con_sectionprint ) @@ -480,7 +463,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self.write_constraints_sets( f, femobjs=self.transform_objects, - caller_method_name=sys._getframe().f_code.co_name, con_module=con_transform ) @@ -488,7 +470,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self.write_constraints_data( f, femobjs=self.transform_objects, - caller_method_name=sys._getframe().f_code.co_name, con_module=con_transform ) @@ -498,7 +479,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self.write_constraints_sets( f, femobjs=self.temperature_objects, - caller_method_name=sys._getframe().f_code.co_name, con_module=con_temperature ) @@ -506,7 +486,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self.write_constraints_data( f, femobjs=self.temperature_objects, - caller_method_name=sys._getframe().f_code.co_name, con_module=con_temperature ) @@ -521,7 +500,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): # write constraint to file f.write("\n***********************************************************\n") f.write("** Initial temperature constraint\n") - f.write("** written by {} function\n".format(sys._getframe().f_code.co_name)) f.write("*INITIAL CONDITIONS,TYPE=TEMPERATURE\n") for itobj in self.initialtemperature_objects: # Should only be one inittemp_obj = itobj["Object"] @@ -539,7 +517,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): # write constraint to file f.write("\n***********************************************************\n") f.write("** Self weight Constraint\n") - f.write("** written by {} function\n".format(sys._getframe().f_code.co_name)) for femobj in self.selfweight_objects: # femobj --> dict, FreeCAD document object is femobj["Object"] selwei_obj = femobj["Object"] @@ -568,7 +545,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self.write_constraints_sets( f, femobjs=self.centrif_objects, - caller_method_name=sys._getframe().f_code.co_name, con_module=con_centrif ) @@ -576,7 +552,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self.write_constraints_data( f, femobjs=self.centrif_objects, - caller_method_name=sys._getframe().f_code.co_name, con_module=con_centrif ) @@ -586,7 +561,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self.write_constraints_sets( f, femobjs=self.force_objects, - caller_method_name=sys._getframe().f_code.co_name, write_before="*CLOAD\n", con_module=con_force ) @@ -597,7 +571,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self.write_constraints_sets( f, femobjs=self.pressure_objects, - caller_method_name=sys._getframe().f_code.co_name, con_module=con_pressure ) @@ -607,7 +580,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): self.write_constraints_sets( f, femobjs=self.heatflux_objects, - caller_method_name=sys._getframe().f_code.co_name, con_module=con_heatflux ) @@ -719,7 +691,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): # write constraint to file f.write("\n***********************************************************\n") f.write("** FluidSection constraints\n") - f.write("** written by {} function\n".format(sys._getframe().f_code.co_name)) if os.path.exists(self.fluid_inout_nodes_file): inout_nodes_file = open(self.fluid_inout_nodes_file, "r") lines = inout_nodes_file.readlines() @@ -800,7 +771,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): def write_step_begin(self, f): f.write("\n***********************************************************\n") f.write("** At least one step is needed to run an CalculiX analysis of FreeCAD\n") - f.write("** written by {} function\n".format(sys._getframe().f_code.co_name)) # STEP line step = "*STEP" if self.solver_obj.GeometricalNonlinearity == "nonlinear": @@ -913,7 +883,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): def write_step_end(self, f): f.write("\n***********************************************************\n") - f.write("** written by {} function\n".format(sys._getframe().f_code.co_name)) f.write("*END STEP \n") # ******************************************************************************************** @@ -921,7 +890,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): def write_outputs_types(self, f): f.write("\n***********************************************************\n") f.write("** Outputs --> frd file\n") - f.write("** written by {} function\n".format(sys._getframe().f_code.co_name)) if self.beamsection_objects or self.shellthickness_objects or self.fluidsection_objects: if self.solver_obj.BeamShellResultOutput3D is False: f.write("*NODE FILE, OUTPUT=2d\n") @@ -971,9 +939,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): def write_footer(self, f): f.write("\n***********************************************************\n") f.write("** CalculiX Input file\n") - f.write("** written by {} function\n".format( - sys._getframe().f_code.co_name - )) f.write("** written by --> FreeCAD {}.{}.{}\n".format( self.fc_ver[0], self.fc_ver[1], @@ -1001,7 +966,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): # write ccx_elsets to file f.write("\n***********************************************************\n") f.write("** Element sets for materials and FEM element type (solid, shell, beam, fluid)\n") - f.write("** written by {} function\n".format(sys._getframe().f_code.co_name)) for ccx_elset in self.ccx_elsets: f.write("*ELSET,ELSET=" + ccx_elset["ccx_elset_name"] + "\n") # use six to be sure to be Python 2.7 and 3.x compatible @@ -1025,7 +989,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): def write_materials(self, f): f.write("\n***********************************************************\n") f.write("** Materials\n") - f.write("** written by {} function\n".format(sys._getframe().f_code.co_name)) f.write("** Young\'s modulus unit is MPa = N/mm2\n") if self.is_density_needed() is True: f.write("** Density\'s unit is t/mm^3\n") @@ -1104,7 +1067,6 @@ class FemInputWriterCcx(writerbase.FemInputWriter): def write_femelementsets(self, f): f.write("\n***********************************************************\n") f.write("** Sections\n") - f.write("** written by {} function\n".format(sys._getframe().f_code.co_name)) for ccx_elset in self.ccx_elsets: if ccx_elset["ccx_elset"]: if "beamsection_obj"in ccx_elset: # beam mesh diff --git a/src/Mod/Fem/femtest/data/calculix/box_frequency.inp b/src/Mod/Fem/femtest/data/calculix/box_frequency.inp index 8c2a6b3d31..f1c818739e 100644 --- a/src/Mod/Fem/femtest/data/calculix/box_frequency.inp +++ b/src/Mod/Fem/femtest/data/calculix/box_frequency.inp @@ -425,13 +425,11 @@ Evolumes *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=MechanicalMaterialSolid Evolumes *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** Density's unit is t/mm^3 ** FreeCAD material name: Steel-Generic @@ -444,12 +442,10 @@ Evolumes *********************************************************** ** Sections -** written by write_femelementsets function *SOLID SECTION, ELSET=MechanicalMaterialSolid, MATERIAL=MechanicalMaterial *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP *FREQUENCY 10,0.01,1000000.0 @@ -457,19 +453,16 @@ Evolumes *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE U *EL FILE S, E *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.17.9749 (Git) ** written on --> Sun Jan 22 14:32:18 2017 ** file name --> cube_static.fcstd diff --git a/src/Mod/Fem/femtest/data/calculix/box_static.inp b/src/Mod/Fem/femtest/data/calculix/box_static.inp index 97f24b42be..cc4cf2b5d1 100644 --- a/src/Mod/Fem/femtest/data/calculix/box_static.inp +++ b/src/Mod/Fem/femtest/data/calculix/box_static.inp @@ -425,13 +425,11 @@ Evolumes *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=MechanicalMaterialSolid Evolumes *********************************************************** ** constraints fixed node sets -** written by write_node_sets_constraints_fixed function ** FemConstraintFixed *NSET,NSET=FemConstraintFixed 1, @@ -478,7 +476,6 @@ Evolumes *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** FreeCAD material name: Steel-Generic ** MechanicalMaterial @@ -488,19 +485,16 @@ Evolumes *********************************************************** ** Sections -** written by write_femelementsets function *SOLID SECTION, ELSET=MechanicalMaterialSolid, MATERIAL=MechanicalMaterial *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP *STATIC *********************************************************** ** Fixed Constraints -** written by write_constraints_fixed function ** FemConstraintFixed *BOUNDARY FemConstraintFixed,1 @@ -510,7 +504,6 @@ FemConstraintFixed,3 *********************************************************** ** constraints force node loads -** written by write_constraints_force function *CLOAD ** FemConstraintForce ** node loads on shape: Box:Face6 @@ -560,7 +553,6 @@ FemConstraintFixed,3 *********************************************************** ** constraints pressure element face loads -** written by write_constraints_pressure function ** FemConstraintPressure *DLOAD ** FemConstraintPressure: face load @@ -583,7 +575,6 @@ FemConstraintFixed,3 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE U *EL FILE @@ -595,12 +586,10 @@ RF *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.17.9749 (Git) ** written on --> Sun Jan 22 14:28:56 2017 ** file name --> diff --git a/src/Mod/Fem/femtest/data/calculix/ccx_buckling_flexuralbuckling.inp b/src/Mod/Fem/femtest/data/calculix/ccx_buckling_flexuralbuckling.inp index e5a8a08e2a..6deabd5803 100644 --- a/src/Mod/Fem/femtest/data/calculix/ccx_buckling_flexuralbuckling.inp +++ b/src/Mod/Fem/femtest/data/calculix/ccx_buckling_flexuralbuckling.inp @@ -697,13 +697,11 @@ Evolumes *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=MechanicalMaterialSolid Evolumes *********************************************************** ** constraints fixed node sets -** written by write_node_sets_constraints_fixed function ** ConstraintFixed *NSET,NSET=ConstraintFixed 1, @@ -734,7 +732,6 @@ Evolumes *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** FreeCAD material name: CalculiX-Steel ** MechanicalMaterial @@ -744,12 +741,10 @@ Evolumes *********************************************************** ** Sections -** written by write_femelementsets function *SOLID SECTION, ELSET=MechanicalMaterialSolid, MATERIAL=MechanicalMaterial *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP *BUCKLE 10 @@ -757,7 +752,6 @@ Evolumes *********************************************************** ** Fixed Constraints -** written by write_constraints_fixed function ** ConstraintFixed *BOUNDARY ConstraintFixed,1 @@ -767,7 +761,6 @@ ConstraintFixed,3 *********************************************************** ** constraints force node loads -** written by write_constraints_force function *CLOAD ** ConstraintForce ** node loads on shape: Beam:Face6 @@ -801,7 +794,6 @@ ConstraintFixed,3 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE U *EL FILE @@ -813,12 +805,10 @@ RF *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.20.25065 (Git) ** written on --> Tue Jun 15 10:36:32 2021 ** file name --> ccx_buckling_flexuralbuckling.FCStd diff --git a/src/Mod/Fem/femtest/data/calculix/ccxcantilever_faceload.inp b/src/Mod/Fem/femtest/data/calculix/ccxcantilever_faceload.inp index 06258a9e06..213e371730 100644 --- a/src/Mod/Fem/femtest/data/calculix/ccxcantilever_faceload.inp +++ b/src/Mod/Fem/femtest/data/calculix/ccxcantilever_faceload.inp @@ -323,13 +323,11 @@ Evolumes *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=FemMaterialSolid Evolumes *********************************************************** ** constraints fixed node sets -** written by write_node_sets_constraints_fixed function ** ConstraintFixed *NSET,NSET=ConstraintFixed 5, @@ -348,7 +346,6 @@ Evolumes *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** FreeCAD material name: CalculiX-Steel ** FemMaterial @@ -358,19 +355,16 @@ Evolumes *********************************************************** ** Sections -** written by write_femelementsets function *SOLID SECTION, ELSET=FemMaterialSolid, MATERIAL=FemMaterial *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP *STATIC *********************************************************** ** Fixed Constraints -** written by write_constraints_fixed function ** ConstraintFixed *BOUNDARY ConstraintFixed,1 @@ -380,7 +374,6 @@ ConstraintFixed,3 *********************************************************** ** constraints force node loads -** written by write_constraints_force function *CLOAD ** ConstraintForce ** node loads on shape: Box:Face2 @@ -402,7 +395,6 @@ ConstraintFixed,3 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE U *EL FILE @@ -414,12 +406,10 @@ RF *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.19.21875 (Git) ** written on --> Tue Jul 7 07:19:22 2020 ** file name --> ccx_cantilever_faceload.FCStd diff --git a/src/Mod/Fem/femtest/data/calculix/ccxcantilever_hexa20.inp b/src/Mod/Fem/femtest/data/calculix/ccxcantilever_hexa20.inp index a6a43d5197..2534a89108 100644 --- a/src/Mod/Fem/femtest/data/calculix/ccxcantilever_hexa20.inp +++ b/src/Mod/Fem/femtest/data/calculix/ccxcantilever_hexa20.inp @@ -341,13 +341,11 @@ Evolumes *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=FemMaterialSolid Evolumes *********************************************************** ** constraints fixed node sets -** written by write_node_sets_constraints_fixed function ** ConstraintFixed *NSET,NSET=ConstraintFixed 1, @@ -374,7 +372,6 @@ Evolumes *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** FreeCAD material name: CalculiX-Steel ** FemMaterial @@ -384,19 +381,16 @@ Evolumes *********************************************************** ** Sections -** written by write_femelementsets function *SOLID SECTION, ELSET=FemMaterialSolid, MATERIAL=FemMaterial *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP *STATIC *********************************************************** ** Fixed Constraints -** written by write_constraints_fixed function ** ConstraintFixed *BOUNDARY ConstraintFixed,1 @@ -406,7 +400,6 @@ ConstraintFixed,3 *********************************************************** ** constraints force node loads -** written by write_constraints_force function *CLOAD ** ConstraintForce ** node loads on shape: Box:Face2 @@ -436,7 +429,6 @@ ConstraintFixed,3 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE U *EL FILE @@ -448,12 +440,10 @@ RF *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.19.19767 (Git) ** written on --> Sun Mar 1 22:34:34 2020 ** file name --> CantilverHexa20FaceLoad.FCStd diff --git a/src/Mod/Fem/femtest/data/calculix/ccxcantilever_nodeload.inp b/src/Mod/Fem/femtest/data/calculix/ccxcantilever_nodeload.inp index f3f3d1b9c6..dac5906b4c 100644 --- a/src/Mod/Fem/femtest/data/calculix/ccxcantilever_nodeload.inp +++ b/src/Mod/Fem/femtest/data/calculix/ccxcantilever_nodeload.inp @@ -323,13 +323,11 @@ Evolumes *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=FemMaterialSolid Evolumes *********************************************************** ** constraints fixed node sets -** written by write_node_sets_constraints_fixed function ** ConstraintFixed *NSET,NSET=ConstraintFixed 5, @@ -348,7 +346,6 @@ Evolumes *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** FreeCAD material name: CalculiX-Steel ** FemMaterial @@ -358,19 +355,16 @@ Evolumes *********************************************************** ** Sections -** written by write_femelementsets function *SOLID SECTION, ELSET=FemMaterialSolid, MATERIAL=FemMaterial *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP *STATIC *********************************************************** ** Fixed Constraints -** written by write_constraints_fixed function ** ConstraintFixed *BOUNDARY ConstraintFixed,1 @@ -380,7 +374,6 @@ ConstraintFixed,3 *********************************************************** ** constraints force node loads -** written by write_constraints_force function *CLOAD ** ConstraintForce ** node load on shape: Box:Vertex5 @@ -399,7 +392,6 @@ ConstraintFixed,3 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE U *EL FILE @@ -411,12 +403,10 @@ RF *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.19.21875 (Git) ** written on --> Tue Jul 7 07:19:27 2020 ** file name --> ccx_cantilever_nodeload.FCStd diff --git a/src/Mod/Fem/femtest/data/calculix/ccxcantilever_prescribeddisplacement.inp b/src/Mod/Fem/femtest/data/calculix/ccxcantilever_prescribeddisplacement.inp index 226960c613..4521c3f5d4 100644 --- a/src/Mod/Fem/femtest/data/calculix/ccxcantilever_prescribeddisplacement.inp +++ b/src/Mod/Fem/femtest/data/calculix/ccxcantilever_prescribeddisplacement.inp @@ -323,13 +323,11 @@ Evolumes *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=FemMaterialSolid Evolumes *********************************************************** ** constraints fixed node sets -** written by write_node_sets_constraints_fixed function ** ConstraintFixed *NSET,NSET=ConstraintFixed 5, @@ -348,7 +346,6 @@ Evolumes *********************************************************** ** constraints displacement node sets -** written by write_node_sets_constraints_displacement function ** ConstraintDisplacmentPrescribed *NSET,NSET=ConstraintDisplacmentPrescribed 1, @@ -367,7 +364,6 @@ Evolumes *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** FreeCAD material name: CalculiX-Steel ** FemMaterial @@ -377,19 +373,16 @@ Evolumes *********************************************************** ** Sections -** written by write_femelementsets function *SOLID SECTION, ELSET=FemMaterialSolid, MATERIAL=FemMaterial *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP *STATIC *********************************************************** ** Fixed Constraints -** written by write_constraints_fixed function ** ConstraintFixed *BOUNDARY ConstraintFixed,1 @@ -399,7 +392,6 @@ ConstraintFixed,3 *********************************************************** ** Displacement constraint applied -** written by write_constraints_displacement function ** ConstraintDisplacmentPrescribed *BOUNDARY ConstraintDisplacmentPrescribed,3,3,-250.0 @@ -407,7 +399,6 @@ ConstraintDisplacmentPrescribed,3,3,-250.0 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE U *EL FILE @@ -419,12 +410,10 @@ RF *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.19.21875 (Git) ** written on --> Tue Jul 7 07:19:31 2020 ** file name --> ccx_cantilever_prescribeddisplacement.FCStd diff --git a/src/Mod/Fem/femtest/data/calculix/constraint_centrif.inp b/src/Mod/Fem/femtest/data/calculix/constraint_centrif.inp index 02e6ef48cd..759f2637e0 100644 --- a/src/Mod/Fem/femtest/data/calculix/constraint_centrif.inp +++ b/src/Mod/Fem/femtest/data/calculix/constraint_centrif.inp @@ -10939,7 +10939,6 @@ Evolumes *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=Steel_ScottySolid 7737, 7738, @@ -18673,14 +18672,12 @@ Evolumes *********************************************************** ** constraints centrif element sets -** written by write_element_sets_constraints_centrif function ** ConstraintCentrif *ELSET,ELSET=ConstraintCentrif Evolumes *********************************************************** ** constraints fixed node sets -** written by write_node_sets_constraints_fixed function ** ConstraintFixed *NSET,NSET=ConstraintFixed 3, @@ -18726,7 +18723,6 @@ Evolumes *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** Density's unit is t/mm^3 ** FreeCAD material name: Steel_Scotty @@ -18746,20 +18742,17 @@ Evolumes *********************************************************** ** Sections -** written by write_femelementsets function *SOLID SECTION, ELSET=Steel_ScottySolid, MATERIAL=Steel_Scotty *SOLID SECTION, ELSET=Steel_StdSolid, MATERIAL=Steel_Std *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP *STATIC *********************************************************** ** Fixed Constraints -** written by write_constraints_fixed function ** ConstraintFixed *BOUNDARY ConstraintFixed,1 @@ -18769,7 +18762,6 @@ ConstraintFixed,3 *********************************************************** ** Centrif Constraints -** written by write_constraints_centrif function ** ConstraintCentrif *DLOAD ConstraintCentrif,CENTRIF,394784.1760436,0,0,0,0,0,1 @@ -18777,7 +18769,6 @@ ConstraintCentrif,CENTRIF,394784.1760436,0,0,0,0,0,1 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE U *EL FILE @@ -18789,12 +18780,10 @@ RF *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.20.25188 (Git) ** written on --> Mon Jul 5 15:41:32 2021 ** file name --> centrif.FCStd diff --git a/src/Mod/Fem/femtest/data/calculix/constraint_contact_shell_shell.inp b/src/Mod/Fem/femtest/data/calculix/constraint_contact_shell_shell.inp index 4accd664b5..ba57d47851 100644 --- a/src/Mod/Fem/femtest/data/calculix/constraint_contact_shell_shell.inp +++ b/src/Mod/Fem/femtest/data/calculix/constraint_contact_shell_shell.inp @@ -22994,13 +22994,11 @@ Efaces *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=MechanicalMaterialShellThickness Efaces *********************************************************** ** constraints fixed node sets -** written by write_node_sets_constraints_fixed function ** ConstraintFixed *NSET,NSET=ConstraintFixed 2, @@ -23070,7 +23068,6 @@ Efaces *********************************************************** ** constraints contact surface sets -** written by write_surfaces_constraints_contact function ** ConstraintContact *SURFACE, NAME=DEPConstraintContact 329,S2 @@ -38353,7 +38350,6 @@ Efaces *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** FreeCAD material name: AlCuMgPb ** MechanicalMaterial @@ -38363,13 +38359,11 @@ Efaces *********************************************************** ** Sections -** written by write_femelementsets function *SHELL SECTION, ELSET=MechanicalMaterialShellThickness, MATERIAL=MechanicalMaterial 0.5 *********************************************************** ** Contact Constraints -** written by write_constraints_contact function ** ConstraintContact *CONTACT PAIR, INTERACTION=INTConstraintContact,TYPE=SURFACE TO SURFACE DEPConstraintContact,INDConstraintContact @@ -38379,14 +38373,12 @@ DEPConstraintContact,INDConstraintContact *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP *STATIC *********************************************************** ** Fixed Constraints -** written by write_constraints_fixed function ** ConstraintFixed *BOUNDARY ConstraintFixed,1 @@ -38399,7 +38391,6 @@ ConstraintFixed,6 *********************************************************** ** constraints force node loads -** written by write_constraints_force function *CLOAD ** ConstraintForce ** node load on shape: Load_place_point:Vertex1 @@ -38409,7 +38400,6 @@ ConstraintFixed,6 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE, OUTPUT=3d U *EL FILE @@ -38421,12 +38411,10 @@ RF *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.19.19278 (Git) ** written on --> Tue Jan 14 20:17:09 2020 ** file name --> Contact_Shell_Shell.FCStd diff --git a/src/Mod/Fem/femtest/data/calculix/constraint_contact_solid_solid.inp b/src/Mod/Fem/femtest/data/calculix/constraint_contact_solid_solid.inp index 7787d6cbb5..8bc99c23d7 100644 --- a/src/Mod/Fem/femtest/data/calculix/constraint_contact_solid_solid.inp +++ b/src/Mod/Fem/femtest/data/calculix/constraint_contact_solid_solid.inp @@ -4315,13 +4315,11 @@ Evolumes *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=MechanicalMaterialSolid Evolumes *********************************************************** ** constraints fixed node sets -** written by write_node_sets_constraints_fixed function ** ConstraintFixed *NSET,NSET=ConstraintFixed 1, @@ -4431,7 +4429,6 @@ Evolumes *********************************************************** ** constraints contact surface sets -** written by write_surfaces_constraints_contact function ** ConstraintContact *SURFACE, NAME=DEPConstraintContact 1344,S4 @@ -5040,7 +5037,6 @@ Evolumes *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** FreeCAD material name: Steel-Generic ** MechanicalMaterial @@ -5050,12 +5046,10 @@ Evolumes *********************************************************** ** Sections -** written by write_femelementsets function *SOLID SECTION, ELSET=MechanicalMaterialSolid, MATERIAL=MechanicalMaterial *********************************************************** ** Contact Constraints -** written by write_constraints_contact function ** ConstraintContact *CONTACT PAIR, INTERACTION=INTConstraintContact,TYPE=SURFACE TO SURFACE DEPConstraintContact,INDConstraintContact @@ -5065,14 +5059,12 @@ DEPConstraintContact,INDConstraintContact *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP *STATIC *********************************************************** ** Fixed Constraints -** written by write_constraints_fixed function ** ConstraintFixed *BOUNDARY ConstraintFixed,1 @@ -5082,7 +5074,6 @@ ConstraintFixed,3 *********************************************************** ** constraints pressure element face loads -** written by write_constraints_pressure function ** ConstraintPressure *DLOAD ** ConstraintPressure: face load @@ -5341,7 +5332,6 @@ ConstraintFixed,3 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE U *EL FILE @@ -5353,12 +5343,10 @@ RF *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.19.19463 (Git) ** written on --> Mon Feb 3 23:28:02 2020 ** file name --> diff --git a/src/Mod/Fem/femtest/data/calculix/constraint_sectionprint.inp b/src/Mod/Fem/femtest/data/calculix/constraint_sectionprint.inp index 937740938d..1ee1f5f433 100644 --- a/src/Mod/Fem/femtest/data/calculix/constraint_sectionprint.inp +++ b/src/Mod/Fem/femtest/data/calculix/constraint_sectionprint.inp @@ -3230,13 +3230,11 @@ Evolumes *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=MaterialSolid Evolumes *********************************************************** ** constraints fixed node sets -** written by write_node_sets_constraints_fixed function ** ConstraintFixed *NSET,NSET=ConstraintFixed 9, @@ -3357,7 +3355,6 @@ Evolumes *********************************************************** ** constraints sectionprint surface sets -** written by write_surfaces_constraints_sectionprint function ** ConstraintSectionPrint *SURFACE, NAME=SECTIONFACEConstraintSectionPrint 811,S4 @@ -3391,7 +3388,6 @@ Evolumes *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** FreeCAD material name: CalculiX-Steel ** Material @@ -3401,19 +3397,16 @@ Evolumes *********************************************************** ** Sections -** written by write_femelementsets function *SOLID SECTION, ELSET=MaterialSolid, MATERIAL=Material *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP *STATIC *********************************************************** ** Fixed Constraints -** written by write_constraints_fixed function ** ConstraintFixed *BOUNDARY ConstraintFixed,1 @@ -3423,14 +3416,12 @@ ConstraintFixed,3 *********************************************************** ** SectionPrint Constraints -** written by write_constraints_sectionprint function ** ConstraintSectionPrint *SECTION PRINT, SURFACE=SECTIONFACEConstraintSectionPrint, NAME=SECTIONPRINTConstraintSectionPrint SOF, SOM, SOAREA *********************************************************** ** constraints pressure element face loads -** written by write_constraints_pressure function ** ConstraintPressure *DLOAD ** ConstraintPressure: face load @@ -3455,7 +3446,6 @@ SOF, SOM, SOAREA *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE U *EL FILE @@ -3467,12 +3457,10 @@ RF *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.19.21759 (Git) ** written on --> Wed Jun 24 09:14:56 2020 ** file name --> diff --git a/src/Mod/Fem/femtest/data/calculix/constraint_selfweight_cantilever.inp b/src/Mod/Fem/femtest/data/calculix/constraint_selfweight_cantilever.inp index 7c1ce57e7c..b65dc4574f 100644 --- a/src/Mod/Fem/femtest/data/calculix/constraint_selfweight_cantilever.inp +++ b/src/Mod/Fem/femtest/data/calculix/constraint_selfweight_cantilever.inp @@ -2115,13 +2115,11 @@ Evolumes *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=FemMaterialSolid Evolumes *********************************************************** ** constraints fixed node sets -** written by write_node_sets_constraints_fixed function ** ConstraintFixed *NSET,NSET=ConstraintFixed 1, @@ -2140,7 +2138,6 @@ Evolumes *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** Density's unit is t/mm^3 ** FreeCAD material name: CalculiX-Steel @@ -2153,19 +2150,16 @@ Evolumes *********************************************************** ** Sections -** written by write_femelementsets function *SOLID SECTION, ELSET=FemMaterialSolid, MATERIAL=FemMaterial *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP *STATIC *********************************************************** ** Fixed Constraints -** written by write_constraints_fixed function ** ConstraintFixed *BOUNDARY ConstraintFixed,1 @@ -2175,7 +2169,6 @@ ConstraintFixed,3 *********************************************************** ** Self weight Constraint -** written by write_constraints_selfweight function ** ConstraintSelfWeight *DLOAD Eall,GRAV,9806,0.0,0.0,-1.0 @@ -2183,7 +2176,6 @@ Eall,GRAV,9806,0.0,0.0,-1.0 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE U *EL FILE @@ -2195,12 +2187,10 @@ RF *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.19.21963 +19 (Git) ** written on --> Tue Jul 14 12:48:52 2020 ** file name --> diff --git a/src/Mod/Fem/femtest/data/calculix/constraint_tie.inp b/src/Mod/Fem/femtest/data/calculix/constraint_tie.inp index f9b53e0077..a05749e897 100644 --- a/src/Mod/Fem/femtest/data/calculix/constraint_tie.inp +++ b/src/Mod/Fem/femtest/data/calculix/constraint_tie.inp @@ -18530,13 +18530,11 @@ Evolumes *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=MechanicalMaterialSolid Evolumes *********************************************************** ** constraints fixed node sets -** written by write_node_sets_constraints_fixed function ** ConstraintFixed *NSET,NSET=ConstraintFixed 3, @@ -18545,7 +18543,6 @@ Evolumes *********************************************************** ** constraints tie surface sets -** written by write_surfaces_constraints_tie function ** ConstraintTie *SURFACE, NAME=TIE_DEPConstraintTie 4834,S1 @@ -18596,7 +18593,6 @@ Evolumes *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** FreeCAD material name: Calculix-Steel ** MechanicalMaterial @@ -18606,26 +18602,22 @@ Evolumes *********************************************************** ** Sections -** written by write_femelementsets function *SOLID SECTION, ELSET=MechanicalMaterialSolid, MATERIAL=MechanicalMaterial *********************************************************** ** Tie Constraints -** written by write_constraints_tie function ** ConstraintTie *TIE, POSITION TOLERANCE=25.0, ADJUST=NO, NAME=TIEConstraintTie TIE_DEPConstraintTie,TIE_INDConstraintTie *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP *STATIC *********************************************************** ** Fixed Constraints -** written by write_constraints_fixed function ** ConstraintFixed *BOUNDARY ConstraintFixed,1 @@ -18635,7 +18627,6 @@ ConstraintFixed,3 *********************************************************** ** constraints force node loads -** written by write_constraints_force function *CLOAD ** ConstraintForce ** node loads on shape: BooleanFragments:Edge2 @@ -18647,7 +18638,6 @@ ConstraintFixed,3 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE U *EL FILE @@ -18659,12 +18649,10 @@ RF *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.19.19481 (Git) ** written on --> Wed Feb 5 08:55:37 2020 ** file name --> diff --git a/src/Mod/Fem/femtest/data/calculix/constraint_transform_beam_hinged.inp b/src/Mod/Fem/femtest/data/calculix/constraint_transform_beam_hinged.inp index 4a46255ba7..759da9bbf0 100644 --- a/src/Mod/Fem/femtest/data/calculix/constraint_transform_beam_hinged.inp +++ b/src/Mod/Fem/femtest/data/calculix/constraint_transform_beam_hinged.inp @@ -3252,13 +3252,11 @@ Evolumes *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=FemMaterialSolid Evolumes *********************************************************** ** constraints displacement node sets -** written by write_node_sets_constraints_displacement function ** FemConstraintDisplacment *NSET,NSET=FemConstraintDisplacment 4, @@ -3438,7 +3436,6 @@ Evolumes *********************************************************** ** constraints transform node sets -** written by write_node_sets_constraints_transform function ** FemConstraintTransform1 *NSET,NSET=CylinFemConstraintTransform1 5, @@ -3620,7 +3617,6 @@ Evolumes *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** FreeCAD material name: CalculiX-Steel ** FemMaterial @@ -3630,12 +3626,10 @@ Evolumes *********************************************************** ** Sections -** written by write_femelementsets function *SOLID SECTION, ELSET=FemMaterialSolid, MATERIAL=FemMaterial *********************************************************** ** Transform Constraints -** written by write_constraints_transform function ** FemConstraintTransform1 *TRANSFORM, NSET=CylinFemConstraintTransform1, TYPE=C 10.000000,27.000000,10.000000,10.000000,7.000000,10.000000 @@ -3645,14 +3639,12 @@ Evolumes *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP *STATIC *********************************************************** ** Displacement constraint applied -** written by write_constraints_displacement function ** FemConstraintDisplacment *BOUNDARY FemConstraintDisplacment,1 @@ -3660,7 +3652,6 @@ FemConstraintDisplacment,1 *********************************************************** ** constraints pressure element face loads -** written by write_constraints_pressure function ** FemConstraintPressure *DLOAD ** FemConstraintPressure: face load @@ -3785,19 +3776,16 @@ FemConstraintDisplacment,1 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE U *EL FILE S, E *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.20.25211 (Git) ** written on --> Fri Jul 9 17:37:32 2021 ** file name --> constraint_transform_beam_hinged.FCStd diff --git a/src/Mod/Fem/femtest/data/calculix/constraint_transform_torque.inp b/src/Mod/Fem/femtest/data/calculix/constraint_transform_torque.inp index f6db1103b6..95ae0e890a 100644 --- a/src/Mod/Fem/femtest/data/calculix/constraint_transform_torque.inp +++ b/src/Mod/Fem/femtest/data/calculix/constraint_transform_torque.inp @@ -8707,13 +8707,11 @@ Evolumes *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=MechanicalMaterialSolid Evolumes *********************************************************** ** constraints fixed node sets -** written by write_node_sets_constraints_fixed function ** ConstraintFixed *NSET,NSET=ConstraintFixed 2, @@ -8812,7 +8810,6 @@ Evolumes *********************************************************** ** constraints transform node sets -** written by write_node_sets_constraints_transform function ** ConstraintTransform *NSET,NSET=CylinConstraintTransform 3, @@ -10964,7 +10961,6 @@ Evolumes *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** FreeCAD material name: Calculix-Steel ** MechanicalMaterial @@ -10974,26 +10970,22 @@ Evolumes *********************************************************** ** Sections -** written by write_femelementsets function *SOLID SECTION, ELSET=MechanicalMaterialSolid, MATERIAL=MechanicalMaterial *********************************************************** ** Transform Constraints -** written by write_constraints_transform function ** ConstraintTransform *TRANSFORM, NSET=CylinConstraintTransform, TYPE=C 0.000000,0.000000,-35.000000,0.000000,0.000000,-15.000000 *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP *STATIC *********************************************************** ** Fixed Constraints -** written by write_constraints_fixed function ** ConstraintFixed *BOUNDARY ConstraintFixed,1 @@ -11003,7 +10995,6 @@ ConstraintFixed,3 *********************************************************** ** constraints force node loads -** written by write_constraints_force function *CLOAD ** ConstraintForce ** node loads on shape: Cut:Face1 @@ -13158,7 +13149,6 @@ ConstraintFixed,3 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE U *EL FILE @@ -13170,12 +13160,10 @@ RF *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.20.25209 (Git) ** written on --> Fri Jul 9 13:15:23 2021 ** file name --> constraint_transform_torque.FCStd diff --git a/src/Mod/Fem/femtest/data/calculix/frequency_beamsimple.inp b/src/Mod/Fem/femtest/data/calculix/frequency_beamsimple.inp index c6976e95b5..d76c409872 100644 --- a/src/Mod/Fem/femtest/data/calculix/frequency_beamsimple.inp +++ b/src/Mod/Fem/femtest/data/calculix/frequency_beamsimple.inp @@ -16993,13 +16993,11 @@ Evolumes *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=MechanicalMaterialSolid Evolumes *********************************************************** ** constraints displacement node sets -** written by write_node_sets_constraints_displacement function ** Fix_XYZ *NSET,NSET=Fix_XYZ 1, @@ -17025,7 +17023,6 @@ Evolumes *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** Density's unit is t/mm^3 ** FreeCAD material name: Steel-Generic @@ -17038,12 +17035,10 @@ Evolumes *********************************************************** ** Sections -** written by write_femelementsets function *SOLID SECTION, ELSET=MechanicalMaterialSolid, MATERIAL=MechanicalMaterial *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP *FREQUENCY 10,0.01,1000000.0 @@ -17051,7 +17046,6 @@ Evolumes *********************************************************** ** Displacement constraint applied -** written by write_constraints_displacement function ** Fix_XYZ *BOUNDARY Fix_XYZ,1 @@ -17065,19 +17059,16 @@ Fix_YZ,3 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE U *EL FILE S, E *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.20.25028 (Git) ** written on --> Tue Jun 8 22:18:58 2021 ** file name --> test.FCStd diff --git a/src/Mod/Fem/femtest/data/calculix/material_multiple_bendingbeam_fiveboxes.inp b/src/Mod/Fem/femtest/data/calculix/material_multiple_bendingbeam_fiveboxes.inp index ad75fb0b7c..4f50a8f074 100644 --- a/src/Mod/Fem/femtest/data/calculix/material_multiple_bendingbeam_fiveboxes.inp +++ b/src/Mod/Fem/femtest/data/calculix/material_multiple_bendingbeam_fiveboxes.inp @@ -19961,7 +19961,6 @@ Evolumes *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=FemMaterial1Solid 819, 820, @@ -27283,7 +27282,6 @@ Evolumes *********************************************************** ** constraints fixed node sets -** written by write_node_sets_constraints_fixed function ** ConstraintFixed *NSET,NSET=ConstraintFixed 13, @@ -27611,7 +27609,6 @@ Evolumes *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** FreeCAD material name: Concrete-Generic ** FemMaterial1 @@ -27631,21 +27628,18 @@ Evolumes *********************************************************** ** Sections -** written by write_femelementsets function *SOLID SECTION, ELSET=FemMaterial1Solid, MATERIAL=FemMaterial1 *SOLID SECTION, ELSET=FemMaterial2Solid, MATERIAL=FemMaterial2 *SOLID SECTION, ELSET=FemMaterial3Solid, MATERIAL=FemMaterial3 *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP *STATIC *********************************************************** ** Fixed Constraints -** written by write_constraints_fixed function ** ConstraintFixed *BOUNDARY ConstraintFixed,1 @@ -27655,7 +27649,6 @@ ConstraintFixed,3 *********************************************************** ** constraints force node loads -** written by write_constraints_force function *CLOAD ** ConstraintForce ** node loads on shape: Box1:Face6 @@ -29183,7 +29176,6 @@ ConstraintFixed,3 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE U *EL FILE @@ -29195,12 +29187,10 @@ RF *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.19.21802 +11 (Git) ** written on --> Fri Jul 3 22:09:27 2020 ** file name --> diff --git a/src/Mod/Fem/femtest/data/calculix/material_multiple_bendingbeam_fivefaces.inp b/src/Mod/Fem/femtest/data/calculix/material_multiple_bendingbeam_fivefaces.inp index 250de8894d..4531ad8190 100644 --- a/src/Mod/Fem/femtest/data/calculix/material_multiple_bendingbeam_fivefaces.inp +++ b/src/Mod/Fem/femtest/data/calculix/material_multiple_bendingbeam_fivefaces.inp @@ -1897,7 +1897,6 @@ Efaces *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=FemMaterial1ShellThickness 367, 368, @@ -2494,7 +2493,6 @@ Efaces *********************************************************** ** constraints fixed node sets -** written by write_node_sets_constraints_fixed function ** ConstraintFixed *NSET,NSET=ConstraintFixed 1, @@ -2522,7 +2520,6 @@ Efaces *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** FreeCAD material name: Concrete-Generic ** FemMaterial1 @@ -2542,7 +2539,6 @@ Efaces *********************************************************** ** Sections -** written by write_femelementsets function *SHELL SECTION, ELSET=FemMaterial1ShellThickness, MATERIAL=FemMaterial1 10.0 *SHELL SECTION, ELSET=FemMaterial2ShellThickness, MATERIAL=FemMaterial2 @@ -2552,14 +2548,12 @@ Efaces *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP *STATIC *********************************************************** ** Fixed Constraints -** written by write_constraints_fixed function ** ConstraintFixed *BOUNDARY ConstraintFixed,1 @@ -2572,7 +2566,6 @@ ConstraintFixed,6 *********************************************************** ** constraints force node loads -** written by write_constraints_force function *CLOAD ** ConstraintForce ** node loads on shape: Face1:Edge4 @@ -2694,7 +2687,6 @@ ConstraintFixed,6 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE, OUTPUT=2d U *EL FILE @@ -2706,12 +2698,10 @@ RF *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.19.21802 +11 (Git) ** written on --> Sat Jul 4 00:18:53 2020 ** file name --> diff --git a/src/Mod/Fem/femtest/data/calculix/material_multiple_tensionrod_twoboxes.inp b/src/Mod/Fem/femtest/data/calculix/material_multiple_tensionrod_twoboxes.inp index aaa569e805..a29ad40db5 100644 --- a/src/Mod/Fem/femtest/data/calculix/material_multiple_tensionrod_twoboxes.inp +++ b/src/Mod/Fem/femtest/data/calculix/material_multiple_tensionrod_twoboxes.inp @@ -865,7 +865,6 @@ Evolumes *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=MechanicalMaterialLowSolid 149, 150, @@ -1167,7 +1166,6 @@ Evolumes *********************************************************** ** constraints fixed node sets -** written by write_node_sets_constraints_fixed function ** ConstraintFixed *NSET,NSET=ConstraintFixed 9, @@ -1214,7 +1212,6 @@ Evolumes *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** FreeCAD material name: Aluminium-Generic ** MechanicalMaterialLow @@ -1229,20 +1226,17 @@ Evolumes *********************************************************** ** Sections -** written by write_femelementsets function *SOLID SECTION, ELSET=MechanicalMaterialLowSolid, MATERIAL=MechanicalMaterialLow *SOLID SECTION, ELSET=MechanicalMaterialUppSolid, MATERIAL=MechanicalMaterialUpp *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP *STATIC *********************************************************** ** Fixed Constraints -** written by write_constraints_fixed function ** ConstraintFixed *BOUNDARY ConstraintFixed,1 @@ -1252,7 +1246,6 @@ ConstraintFixed,3 *********************************************************** ** constraints pressure element face loads -** written by write_constraints_pressure function ** ConstraintPressure *DLOAD ** ConstraintPressure: face load @@ -1275,7 +1268,6 @@ ConstraintFixed,3 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE U *EL FILE @@ -1287,12 +1279,10 @@ RF *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.19.19432 (Git) ** written on --> Fri Jan 31 08:06:05 2020 ** file name --> diff --git a/src/Mod/Fem/femtest/data/calculix/material_nonlinear.inp b/src/Mod/Fem/femtest/data/calculix/material_nonlinear.inp index 6aa3d5d639..3469e8d6af 100644 --- a/src/Mod/Fem/femtest/data/calculix/material_nonlinear.inp +++ b/src/Mod/Fem/femtest/data/calculix/material_nonlinear.inp @@ -19774,13 +19774,11 @@ Evolumes *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=Material_linSolid Evolumes *********************************************************** ** constraints fixed node sets -** written by write_node_sets_constraints_fixed function ** ConstraintFixed *NSET,NSET=ConstraintFixed 1, @@ -19989,7 +19987,6 @@ Evolumes *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** FreeCAD material name: CalculiX-Steel ** Material_lin @@ -20003,19 +20000,16 @@ Evolumes *********************************************************** ** Sections -** written by write_femelementsets function *SOLID SECTION, ELSET=Material_linSolid, MATERIAL=Material_lin *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP, NLGEOM *STATIC *********************************************************** ** Fixed Constraints -** written by write_constraints_fixed function ** ConstraintFixed *BOUNDARY ConstraintFixed,1 @@ -20025,7 +20019,6 @@ ConstraintFixed,3 *********************************************************** ** constraints pressure element face loads -** written by write_constraints_pressure function ** ConstraintPressure *DLOAD ** ConstraintPressure: face load @@ -20112,7 +20105,6 @@ ConstraintFixed,3 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE U *EL FILE @@ -20124,12 +20116,10 @@ RF *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.19.19432 (Git) ** written on --> Fri Jan 31 08:04:49 2020 ** file name --> diff --git a/src/Mod/Fem/femtest/data/calculix/square_pipe_end_twisted_edgeforces.inp b/src/Mod/Fem/femtest/data/calculix/square_pipe_end_twisted_edgeforces.inp index 3f8ba1e1c9..d681a77175 100644 --- a/src/Mod/Fem/femtest/data/calculix/square_pipe_end_twisted_edgeforces.inp +++ b/src/Mod/Fem/femtest/data/calculix/square_pipe_end_twisted_edgeforces.inp @@ -2488,13 +2488,11 @@ Efaces *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=FemMaterialShellThickness Efaces *********************************************************** ** constraints fixed node sets -** written by write_node_sets_constraints_fixed function ** ConstraintFixed *NSET,NSET=ConstraintFixed 3, @@ -2548,7 +2546,6 @@ Efaces *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** FreeCAD material name: Steel-Generic ** FemMaterial @@ -2558,20 +2555,17 @@ Efaces *********************************************************** ** Sections -** written by write_femelementsets function *SHELL SECTION, ELSET=FemMaterialShellThickness, MATERIAL=FemMaterial 15.0 *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP *STATIC *********************************************************** ** Fixed Constraints -** written by write_constraints_fixed function ** ConstraintFixed *BOUNDARY ConstraintFixed,1 @@ -2584,7 +2578,6 @@ ConstraintFixed,6 *********************************************************** ** constraints force node loads -** written by write_constraints_force function *CLOAD ** ConstraintForce1 ** node loads on shape: SquareTube:Edge9 @@ -2657,7 +2650,6 @@ ConstraintFixed,6 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE, OUTPUT=2d U *EL FILE @@ -2669,12 +2661,10 @@ RF *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.19.21972 +18 (Git) ** written on --> Fri Jul 17 22:12:38 2020 ** file name --> diff --git a/src/Mod/Fem/femtest/data/calculix/square_pipe_end_twisted_nodeforces.inp b/src/Mod/Fem/femtest/data/calculix/square_pipe_end_twisted_nodeforces.inp index 20c6d9404a..9b6f00e217 100644 --- a/src/Mod/Fem/femtest/data/calculix/square_pipe_end_twisted_nodeforces.inp +++ b/src/Mod/Fem/femtest/data/calculix/square_pipe_end_twisted_nodeforces.inp @@ -2488,13 +2488,11 @@ Efaces *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=FemMaterialShellThickness Efaces *********************************************************** ** constraints fixed node sets -** written by write_node_sets_constraints_fixed function ** ConstraintFixed *NSET,NSET=ConstraintFixed 3, @@ -2548,7 +2546,6 @@ Efaces *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** FreeCAD material name: Steel-Generic ** FemMaterial @@ -2558,20 +2555,17 @@ Efaces *********************************************************** ** Sections -** written by write_femelementsets function *SHELL SECTION, ELSET=FemMaterialShellThickness, MATERIAL=FemMaterial 15.0 *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP *STATIC *********************************************************** ** Fixed Constraints -** written by write_constraints_fixed function ** ConstraintFixed *BOUNDARY ConstraintFixed,1 @@ -2584,7 +2578,6 @@ ConstraintFixed,6 *********************************************************** ** constraints force node loads -** written by write_constraints_force function *CLOAD ** ConstraintForce1 ** node load on shape: Forces:Vertex1 @@ -2769,7 +2762,6 @@ ConstraintFixed,6 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE, OUTPUT=2d U *EL FILE @@ -2781,12 +2773,10 @@ RF *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.19.21972 +18 (Git) ** written on --> Fri Jul 17 22:14:04 2020 ** file name --> diff --git a/src/Mod/Fem/femtest/data/calculix/thermomech_bimetall.inp b/src/Mod/Fem/femtest/data/calculix/thermomech_bimetall.inp index 46c0d42a1c..337ccada1a 100644 --- a/src/Mod/Fem/femtest/data/calculix/thermomech_bimetall.inp +++ b/src/Mod/Fem/femtest/data/calculix/thermomech_bimetall.inp @@ -4609,7 +4609,6 @@ Evolumes *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=MaterialCopperSolid 1431, 1432, @@ -6115,7 +6114,6 @@ Evolumes *********************************************************** ** constraints fixed node sets -** written by write_node_sets_constraints_fixed function ** ConstraintFixed *NSET,NSET=ConstraintFixed 1, @@ -6162,7 +6160,6 @@ Evolumes *********************************************************** ** constraints temperature node sets -** written by write_node_sets_constraints_temperature function ** ConstraintTemperature *NSET,NSET=ConstraintTemperature 1, @@ -8178,7 +8175,6 @@ Evolumes *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** Thermal conductivity unit is kW/mm/K = t*mm/K*s^3 ** Specific Heat unit is kJ/t/K = mm^2/s^2/K @@ -8207,26 +8203,22 @@ Evolumes *********************************************************** ** Initial temperature constraint -** written by write_constraints_initialtemperature function *INITIAL CONDITIONS,TYPE=TEMPERATURE Nall,273.0 *********************************************************** ** Sections -** written by write_femelementsets function *SOLID SECTION, ELSET=MaterialCopperSolid, MATERIAL=MaterialCopper *SOLID SECTION, ELSET=MaterialInvarSolid, MATERIAL=MaterialInvar *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP, INC=2000 *COUPLED TEMPERATURE-DISPLACEMENT, SOLVER=SPOOLES, STEADY STATE 1.0,1.0 *********************************************************** ** Fixed Constraints -** written by write_constraints_fixed function ** ConstraintFixed *BOUNDARY ConstraintFixed,1 @@ -8236,7 +8228,6 @@ ConstraintFixed,3 *********************************************************** ** Fixed temperature constraint applied -** written by write_constraints_temperature function ** ConstraintTemperature *BOUNDARY ConstraintTemperature,11,11,373.0 @@ -8244,7 +8235,6 @@ ConstraintTemperature,11,11,373.0 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE U, NT *EL FILE @@ -8256,12 +8246,10 @@ RF *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.19.19501 (Git) ** written on --> Thu Feb 6 23:22:33 2020 ** file name --> diff --git a/src/Mod/Fem/femtest/data/calculix/thermomech_flow1D.inp b/src/Mod/Fem/femtest/data/calculix/thermomech_flow1D.inp index e6ceb8cee9..ff2fb052fd 100644 --- a/src/Mod/Fem/femtest/data/calculix/thermomech_flow1D.inp +++ b/src/Mod/Fem/femtest/data/calculix/thermomech_flow1D.inp @@ -57,7 +57,6 @@ Eedges *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=M0F0 1, *ELSET,ELSET=M0F1 @@ -85,7 +84,6 @@ Eedges *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** Density's unit is t/mm^3 ** Thermal conductivity unit is kW/mm/K = t*mm/K*s^3 @@ -100,7 +98,6 @@ Eedges *********************************************************** ** Sections -** written by write_femelementsets function *FLUID SECTION, ELSET=M0F0, TYPE=PIPE INOUT, MATERIAL=FluidMaterial *FLUID SECTION, ELSET=M0F1, TYPE=PIPE ENTRANCE, MATERIAL=FluidMaterial 31416.0,25133.0 @@ -124,14 +121,12 @@ Eedges *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP, INC=2000 *COUPLED TEMPERATURE-DISPLACEMENT, STEADY STATE 1.0,1.0 *********************************************************** ** Self weight Constraint -** written by write_constraints_selfweight function ** ConstraintSelfWeight *DLOAD Eall,GRAV,9806,0.0,0.0,-1.0 @@ -139,7 +134,6 @@ Eall,GRAV,9806,0.0,0.0,-1.0 *********************************************************** ** FluidSection constraints -** written by write_constraints_fluidsection function ** ElementFluid1D **Fluid Section Inlet *BOUNDARY @@ -160,17 +154,14 @@ Eall,GRAV,9806,0.0,0.0,-1.0 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE, OUTPUT=2d MF, PS *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.17.11265 (Git) ** written on --> Fri Jun 9 11:49:27 2017 ** file name --> Resevoir_rev1.fcstd diff --git a/src/Mod/Fem/femtest/data/calculix/thermomech_spine.inp b/src/Mod/Fem/femtest/data/calculix/thermomech_spine.inp index c3510dee50..41e21bf692 100644 --- a/src/Mod/Fem/femtest/data/calculix/thermomech_spine.inp +++ b/src/Mod/Fem/femtest/data/calculix/thermomech_spine.inp @@ -73,13 +73,11 @@ Evolumes *********************************************************** ** Element sets for materials and FEM element type (solid, shell, beam, fluid) -** written by write_element_sets_material_and_femelement_type function *ELSET,ELSET=MechanicalMaterialSolid Evolumes *********************************************************** ** constraints fixed node sets -** written by write_node_sets_constraints_fixed function ** FemConstraintFixed *NSET,NSET=FemConstraintFixed 5, @@ -94,7 +92,6 @@ Evolumes *********************************************************** ** constraints temperature node sets -** written by write_node_sets_constraints_temperature function ** FemConstraintTemperature *NSET,NSET=FemConstraintTemperature 5, @@ -109,7 +106,6 @@ Evolumes *********************************************************** ** Materials -** written by write_materials function ** Young's modulus unit is MPa = N/mm2 ** Thermal conductivity unit is kW/mm/K = t*mm/K*s^3 ** Specific Heat unit is kJ/t/K = mm^2/s^2/K @@ -127,18 +123,15 @@ Evolumes *********************************************************** ** Initial temperature constraint -** written by write_constraints_initialtemperature function *INITIAL CONDITIONS,TYPE=TEMPERATURE Nall,300.0 *********************************************************** ** Sections -** written by write_femelementsets function *SOLID SECTION, ELSET=MechanicalMaterialSolid, MATERIAL=MechanicalMaterial *********************************************************** ** At least one step is needed to run an CalculiX analysis of FreeCAD -** written by write_step_begin function *STEP, INC=2000 *CONTROLS, PARAMETERS=TIME INCREMENTATION 4,8,9,200,10,400,,200,, @@ -148,7 +141,6 @@ Nall,300.0 *********************************************************** ** Fixed Constraints -** written by write_constraints_fixed function ** FemConstraintFixed *BOUNDARY FemConstraintFixed,1 @@ -158,7 +150,6 @@ FemConstraintFixed,3 *********************************************************** ** Fixed temperature constraint applied -** written by write_constraints_temperature function ** FemConstraintTemperature *BOUNDARY FemConstraintTemperature,11,11,310.93 @@ -166,7 +157,6 @@ FemConstraintTemperature,11,11,310.93 *********************************************************** ** constraints heatflux element face heatflux -** written by write_constraints_heatflux function ** FemConstraintHeatflux *FILM ** Heat flux on face Box:Face3 @@ -192,7 +182,6 @@ FemConstraintTemperature,11,11,310.93 *********************************************************** ** Outputs --> frd file -** written by write_outputs_types function *NODE FILE U, NT *EL FILE @@ -204,12 +193,10 @@ RF *********************************************************** -** written by write_step_end function *END STEP *********************************************************** ** CalculiX Input file -** written by write_footer function ** written by --> FreeCAD 0.17.9749 (Git) ** written on --> Sun Jan 22 14:33:57 2017 ** file name -->