Ejemplo n.º 1
0
        static void test3()
        {
            List <string> bs = new List <string>();

            bs.AddRange(new string[] { "IN", "UP", "SYM",
                                       "OUT1", "OUT2", "OUT3", "OUT4",
                                       "SHELL" });
            SteelFlowProjectFile p = new SteelFlowProjectFile(-1.23, 0.3312, 6.3, bs);
            //p.ControlDict.SetLibs("hha1.so", "hah2.so");
            RasModel tm = p.TurbulenceProperties.Model as RasModel;

            //tm.SetCoeffes("cmu", 0.9);
            p.Write("e:\\hope\\test2\\test1.flp");
            p.ControlDict.ClearLibs();
        }
Ejemplo n.º 2
0
        static void test4()
        {
            SteelFlowProjectFile p = ProjectFile.ReadBinProjectFile("e:\\hope\\test2\\nb1.flp") as SteelFlowProjectFile;

            p.Write("e:\\hope\\test2\\nb1_bak.flp");
        }