/// <summary>初期化処理</summary> /// <param name="name">素材名称</param> /// <param name="thermalConductivity">熱伝導率[W/mK]</param> /// <param name="volumetricSpecificHeat">容積比熱[kJ/m3K]</param> /// <param name="pMaterial">素材タイプ</param> private void initialize(string name, double thermalConductivity, double volumetricSpecificHeat, PredefinedMaterials pMaterial) { this.name = name; this.thermalConductivity = thermalConductivity; this.volumetricSpecificHeat = volumetricSpecificHeat; this.pMaterial = pMaterial; }
/// <summary>初期化処理</summary> /// <param name="mType">素材タイプ</param> public void Initialize(PredefinedMaterials mType) { switch (mType) { case PredefinedMaterials.Mortar: initialize("Mortar", 1.512, 1591.0, mType); break; case PredefinedMaterials.ReinforcedConcrete: initialize("Reinforced Concrete", 1.600, 1896.0, mType); break; case PredefinedMaterials.LightweightAggregateConcrete1: initialize("Lightweight Aggregate Concrete 1", 0.810, 1900.0, mType); break; case PredefinedMaterials.LightweightAggregateConcrete2: initialize("Lightweight Aggregate Concrete 2", 0.580, 1599.0, mType); break; case PredefinedMaterials.AutomaticLevelControl: initialize("Automatic Level Control", 0.170, 661.4, mType); break; case PredefinedMaterials.Brick: initialize("Brick", 0.620, 1386.0, mType); break; case PredefinedMaterials.FireBrick: initialize("FireBrick", 0.990, 1553.0, mType); break; case PredefinedMaterials.Copper: initialize("Copper", 370.100, 3144.0, mType); break; case PredefinedMaterials.Aluminum: initialize("Aluminum", 200.000, 2428.0, mType); break; case PredefinedMaterials.Steel: initialize("Steel", 53.010, 3759.0, mType); break; case PredefinedMaterials.Lead: initialize("Lead", 35.010, 1469.0, mType); break; case PredefinedMaterials.StainlessSteel: initialize("Stainless Steel", 15.000, 3479.0, mType); break; case PredefinedMaterials.FloatGlass: initialize("Float Glass", 1.000, 1914.0, mType); break; case PredefinedMaterials.PolyvinylChloride: initialize("Polyvinyl Chloride", 0.170, 1023.0, mType); break; case PredefinedMaterials.Wood1: initialize("Wood (Cedar)", 0.120, 519.1, mType); break; case PredefinedMaterials.Wood2: initialize("Wood (Pine, Lauan)", 0.150, 648.8, mType); break; case PredefinedMaterials.Wood3: initialize("Wood (Cherry, Fagaceae)", 0.190, 845.6, mType); break; case PredefinedMaterials.Plywood: initialize("Plywood", 0.190, 716.0, mType); break; case PredefinedMaterials.WoodWoolCement: initialize("Wood Wool Cement", 0.100, 841.4, mType); break; case PredefinedMaterials.WoodChipCement: initialize("Wood Chip Cement", 0.170, 1679.0, mType); break; case PredefinedMaterials.HardBoard: initialize("Hard Board", 0.170, 1233.0, mType); break; case PredefinedMaterials.ParticleBoard: initialize("Particle Board", 0.150, 715.8, mType); break; case PredefinedMaterials.PlasterBoard: initialize("Plaster Board", 0.170, 1030.0, mType); break; case PredefinedMaterials.GypsumPlaster: initialize("Gypsum Plaster", 0.600, 1637.0, mType); break; case PredefinedMaterials.WhiteWash: initialize("White Wash", 0.700, 1093.0, mType); break; case PredefinedMaterials.SoilWall: initialize("Soil Wall", 0.690, 1126.0, mType); break; case PredefinedMaterials.FiberCoating: initialize("Fiber Coating", 0.120, 4.2, mType); break; case PredefinedMaterials.Tatami: initialize("Tatami", 0.110, 527.4, mType); break; case PredefinedMaterials.Tile: initialize("Tile", 1.300, 2018.0, mType); break; case PredefinedMaterials.PlasticTile: initialize("Plastic Tile", 0.190, 4.2, mType); break; case PredefinedMaterials.GlassWoolInsulation_10K: initialize("Glass Wool Insulation 10kg/m3", 0.050, 8.4, mType); break; case PredefinedMaterials.GlassWoolInsulation_16K: initialize("Glass Wool Insulation 16kg/m3", 0.045, 13.4, mType); break; case PredefinedMaterials.GlassWoolInsulation_24K: initialize("Glass Wool Insulation 24kg/m3", 0.038, 20.1, mType); break; case PredefinedMaterials.GlassWoolInsulation_34K: initialize("Glass Wool Insulation 32kg/m3", 0.036, 26.8, mType); break; case PredefinedMaterials.HighGradeGlassWoolInsulation_16K: initialize("High Grade Glass Wool Insulation 16kg/m3", 0.038, 13.4, mType); break; case PredefinedMaterials.HighGradeGlassWoolInsulation_24K: initialize("High Grade Glass Wool Insulation 24kg/m3", 0.036, 20.1, mType); break; case PredefinedMaterials.BlowingGlassWoolInsulation_13K: initialize("Blowing Glass Wool Insulation 13kg/m3", 0.052, 10.9, mType); break; case PredefinedMaterials.BlowingGlassWoolInsulation_18K: initialize("Blowing Glass Wool Insulation 18kg/m3", 0.052, 16.7, mType); break; case PredefinedMaterials.BlowingGlassWoolInsulation_30K: initialize("Blowing Glass Wool Insulation 30kg/m3", 0.040, 29.3, mType); break; case PredefinedMaterials.BlowingGlassWoolInsulation_35K: initialize("Blowing Glass Wool Insulation 35kg/m3", 0.040, 37.7, mType); break; case PredefinedMaterials.RockWoolInsulationMat: initialize("Rock Wool Insulation Mat", 0.038, 33.5, mType); break; case PredefinedMaterials.RockWoolInsulationFelt: initialize("Rock Wool Insulation Felt", 0.038, 41.9, mType); break; case PredefinedMaterials.RockWoolInsulationBoard: initialize("Rock Wool Insulation Board", 0.036, 58.6, mType); break; case PredefinedMaterials.BlowingRockWoolInsulation_25K: initialize("Blowing Rock Wool Insulation 25kg/m3", 0.047, 20.9, mType); break; case PredefinedMaterials.BlowingRockWoolInsulation_35K: initialize("Blowing Rock Wool Insulation 35kg/m3", 0.051, 29.3, mType); break; case PredefinedMaterials.RockWoolAcousticBoard: initialize("Rock Wool Acoustic Board", 0.058, 293.9, mType); break; case PredefinedMaterials.SprayedRockWool: initialize("Sprayed Rock Wool", 0.047, 167.9, mType); break; case PredefinedMaterials.BeadMethodPolystyreneFoam_S: initialize("Bead Method Polystyrene Foam S", 0.034, 33.9, mType); break; case PredefinedMaterials.BeadMethodPolystyreneFoam_1: initialize("Bead Method Polystyrene Foam 1", 0.036, 37.7, mType); break; case PredefinedMaterials.BeadMethodPolystyreneFoam_2: initialize("Bead Method Polystyrene Foam 2", 0.037, 31.4, mType); break; case PredefinedMaterials.BeadMethodPolystyreneFoam_3: initialize("Bead Method Polystyrene Foam 3", 0.040, 25.1, mType); break; case PredefinedMaterials.BeadMethodPolystyreneFoam_4: initialize("Bead Method Polystyrene Foam 4", 0.043, 18.8, mType); break; case PredefinedMaterials.ExtrudedPolystyreneFoam_1: initialize("Extruded Polystyrene Foam 1", 0.040, 25.1, mType); break; case PredefinedMaterials.ExtrudedPolystyreneFoam_2: initialize("Extruded Polystyrene Foam 2", 0.034, 25.1, mType); break; case PredefinedMaterials.ExtrudedPolystyreneFoam_3: initialize("Extruded Polystyrene Foam 3", 0.028, 25.1, mType); break; case PredefinedMaterials.RigidUrethaneFoam_1_1: initialize("Rigid Urethane Foam 1_1", 0.024, 56.1, mType); break; case PredefinedMaterials.RigidUrethaneFoam_1_2: initialize("Rigid Urethane Foam 1_2", 0.024, 44.0, mType); break; case PredefinedMaterials.RigidUrethaneFoam_1_3: initialize("Rigid Urethane Foam 1_3", 0.026, 31.4, mType); break; case PredefinedMaterials.RigidUrethaneFoam_2_1: initialize("Rigid Urethane Foam 2_1", 0.023, 56.1, mType); break; case PredefinedMaterials.RigidUrethaneFoam_2_2: initialize("Rigid Urethane Foam 2_2", 0.023, 44.0, mType); break; case PredefinedMaterials.RigidUrethaneFoam_2_3: initialize("Rigid Urethane Foam 2_3", 0.024, 31.4, mType); break; case PredefinedMaterials.RigidUrethaneFoam_OnSite: initialize("Rigid Urethane Foam (OnSite)", 0.026, 49.8, mType); break; case PredefinedMaterials.PolyethyleneFoam_A: initialize("Polyethylene Foam A", 0.038, 62.8, mType); break; case PredefinedMaterials.PolyethyleneFoam_B: initialize("Polyethylene Foam B", 0.042, 62.8, mType); break; case PredefinedMaterials.PhenolicFoam_1_1: initialize("Phenolic Foam 1_1", 0.033, 37.7, mType); break; case PredefinedMaterials.PhenolicFoam_1_2: initialize("Phenolic Foam 1_2", 0.030, 37.7, mType); break; case PredefinedMaterials.PhenolicFoam_2_1: initialize("Phenolic Foam 2_1", 0.036, 56.5, mType); break; case PredefinedMaterials.PhenolicFoam_2_2: initialize("Phenolic Foam 2_2", 0.034, 56.5, mType); break; case PredefinedMaterials.InsulationBoard_A: initialize("Insulation Board A", 0.049, 324.8, mType); break; case PredefinedMaterials.TatamiBoard: initialize("Tatami Board", 0.045, 15.1, mType); break; case PredefinedMaterials.SheathingInsulationBoard: initialize("Sheathing Insulation Board", 0.052, 390.1, mType); break; case PredefinedMaterials.CelluloseFiberInsulation_1: initialize("Cellulose Fiber Insulation 1", 0.040, 37.7, mType); break; case PredefinedMaterials.CelluloseFiberInsulation_2: initialize("Cellulose Fiber Insulation 2", 0.040, 62.8, mType); break; case PredefinedMaterials.Soil: initialize("Soil", 1.047, 3340.0, mType); break; case PredefinedMaterials.ExpandedPolystyrene: initialize("Expanded Polystyrene", 0.035, 300.0, mType); break; case PredefinedMaterials.CoveringMaterial: initialize("Covering Material", 0.140, 1680.0, mType); break; case PredefinedMaterials.Linoleum: initialize("Linoleum", 0.190, 1470.0, mType); break; case PredefinedMaterials.Carpet: initialize("Carpet", 0.080, 318.0, mType); break; case PredefinedMaterials.AsbestosPlate: initialize("Asbestos Plate", 1.200, 1820.0, mType); break; case PredefinedMaterials.SealedAirGap: initialize("Sealed AirGap", 5.800, 0.0, mType); break; case PredefinedMaterials.AirGap: initialize("Air Gap", 11.600, 0.0, mType); break; case PredefinedMaterials.PolystyreneFoam: initialize("Polystyrene Foam", 0.035, 80.0, mType); break; case PredefinedMaterials.StyreneFoam: initialize("Styrene Foam", 0.035, 10.0, mType); break; case PredefinedMaterials.RubberTile: initialize("Rubber Tile", 0.400, 784.0, mType); break; case PredefinedMaterials.Kawara: initialize("Kawara", 1.000, 1506.0, mType); break; case PredefinedMaterials.LightweightConcrete: initialize("Lightweight Concrete", 0.780, 1607.0, mType); break; case PredefinedMaterials.Asphalt: initialize("Asphalt", 0.110, 920.0, mType); break; case PredefinedMaterials.FrexibleBoard: initialize("Frexible Board", 0.350, 1600.0, mType); break; case PredefinedMaterials.CalciumSilicateBoard: initialize("Calcium Silicate Board", 0.130, 680.0, mType); break; case PredefinedMaterials.PhenolicFoam: initialize("Phenolic Foam", 0.020, 37.7, mType); break; case PredefinedMaterials.Granite: initialize("Granite", 4.300, 2.9, mType); break; case PredefinedMaterials.AcrylicResin: initialize("Acrylic Resin", 0.210, 1666.0, mType); break; case PredefinedMaterials.Other: initialize("Other materials", 0.0, 0.0, mType); break; default: throw new Exception("wall material is not defined"); } }
/// <summary>コピーConstructor</summary> /// <param name="wallMaterial">コピーする壁素材</param> public WallMaterial(ImmutableWallMaterial wallMaterial) { this.id = wallMaterial.ID; this.name = wallMaterial.Name; this.thermalConductivity = wallMaterial.ThermalConductivity; this.volumetricSpecificHeat = wallMaterial.VolumetricSpecificHeat; this.pMaterial = wallMaterial.Material; }
/// <summary>デシリアライズ用Constructor</summary> /// <param name="sInfo"></param> /// <param name="context"></param> protected WallMaterial(SerializationInfo sInfo, StreamingContext context) { //バージョン情報 uint version = sInfo.GetUInt32("S_Version"); //素材ID id = sInfo.GetInt32("id"); //素材名称 name = sInfo.GetString("name"); //熱伝導率[W/mK] thermalConductivity = sInfo.GetDouble("thermalConductivity"); //容積比熱[kJ/m3K] volumetricSpecificHeat = sInfo.GetDouble("volumetricSpecificHeat"); //素材タイプ pMaterial = (PredefinedMaterials)sInfo.GetValue("mType", typeof(PredefinedMaterials)); }
/// <summary>デフォルトConstructor</summary> /// <param name="mType">素材タイプ</param> public WallMaterial(PredefinedMaterials mType) { Initialize(mType); }