/*
 * ModelFromTroy_R8_June14YR24.java
 */

import com.comsol.model.*;
import com.comsol.model.util.*;

/** Model exported on Jun 18 2024, 09:04 by COMSOL 6.1.0.357. */
public class ModelFromTroy_R8_June14YR24 {

  public static Model run() {
    Model model = ModelUtil.create("Model");

    model.modelPath("/Users/tmbouman/Downloads");

    model.component().create("comp1", true);

    model.component("comp1").geom().create("geom1", 2);

    model.component("comp1").mesh().create("mesh1");

    model.component("comp1").physics().create("actd", "TransientPressureAcoustics", "geom1");

    model.study().create("std1");
    model.study("std1").create("time", "Transient");
    model.study("std1").feature("time").activate("actd", true);

    model.component("comp1").coordSystem().create("pml1", "PML");

    model.component("comp1").geom("geom1").run();

    model.component("comp1").coordSystem("pml1").set("ScalingType", "Cylindrical");

    model.param().set("R", "3[m]", "Radius of circle");
    model.param().set("a", "0.1[m]", "Amplitude of waves");
    model.param().set("lam", "1[m]", "Spatial lambda");
    model.param().set("N2", "3*R/lam+1", "Number of cycles in boundary");
    model.param().set("d", "R/2", "Distance between boundary and source");
    model.param().set("x0", "-1.5*R", "Horizontal position of boundary");
    model.param().set("y0", "d/2", "Vertical position of boundary");
    model.param().set("phi", "-45[deg]", "Angle of source");
    model.param().set("x1", "-R/4", "Position of center point of source");
    model.param().set("y1", "-d/2");
    model.param().set("L", "2[m]", "Length of source");
    model.param().set("f", "200[Hz]", "Frequency of sound");
    model.param().set("vela", "343[m/s]", "Velocity of sound in air");
    model.param().set("lam0a", "vela/f", "Wavelength of sound in air");
    model.param().set("velw", "1500[m/s]", "Velocity of sound in water");
    model.param().set("lam0w", "velw/f", "Wavelength of sound in water");
    model.param().set("num", "8", "Number of elements per wavelength");
    model.param().set("k", "4[rad/m]", "Wave number");
    model.param().set("c", "500[m/s]");
    model.param().set("T", "2*pi/k/c");
    model.param().set("N", "1024", "Number of components in spectrum");
    model.param().set("Tf", "1/f");
    model.param().set("x2", "0.759934*R", "x coordinate of last point of boundary (see surface)");
    model.param().set("Dx", "0.1[m]");

    model.component("comp1").func().create("rm1", "Ramp");
    model.component("comp1").func("rm1").set("location", "T/10");
    model.component("comp1").func("rm1").set("slope", "5/T[1/s]");
    model.component("comp1").func("rm1").set("cutoffactive", true);
    model.component("comp1").func("rm1").set("smoothzonelocactive", true);
    model.component("comp1").func("rm1").set("smoothzonecutoffactive", true);
    model.component("comp1").func("rm1").set("smoothzoneloc", "T/10");
    model.component("comp1").func("rm1").set("smoothzonecutoff", "T/10");
    model.component("comp1").func().create("int1", "Interpolation");
    model.component("comp1").func("int1").set("source", "file");
    model.component("comp1").func("int1").set("filename", "A.txt");
    model.component("comp1").func("int1").set("argunit", "1");
    model.component("comp1").func("int1").set("fununit", "m");
    model.component("comp1").func("int1").importData();
    model.component("comp1").func().create("int2", "Interpolation");
    model.component("comp1").func("int2").set("source", "file");
    model.component("comp1").func("int2").set("filename", "k.txt");
    model.component("comp1").func("int2").setIndex("funcs", "kf", 0, 0);
    model.component("comp1").func("int2").set("argunit", "1");
    model.component("comp1").func("int2").set("fununit", "rad/m");
    model.component("comp1").func("int2").importData();
    model.component("comp1").func("int1").setIndex("funcs", "Af", 0, 0);
    model.component("comp1").func().create("int3", "Interpolation");
    model.component("comp1").func("int3").set("source", "file");
    model.component("comp1").func("int3")
         .set("filename", "D:\\Dropbox\\JOBS\\68_MShahroozAmin_Periodic_Acoustic\\4th_project_Dec2018\\c.txt");
    model.component("comp1").func("int3").setIndex("funcs", "cf", 0, 0);
    model.component("comp1").func("int3").set("argunit", "1");
    model.component("comp1").func("int3").set("fununit", "m/s");
    model.component("comp1").func("int3").set("filename", "c.txt");
    model.component("comp1").func("int3").importData();
    model.component("comp1").func().create("int4", "Interpolation");
    model.component("comp1").func("int4").set("source", "file");
    model.component("comp1").func("int4")
         .set("filename", "D:\\Dropbox\\JOBS\\68_MShahroozAmin_Periodic_Acoustic\\4th_project_Dec2018\\delta.txt");
    model.component("comp1").func("int4").set("argunit", "1");
    model.component("comp1").func("int4").set("fununit", "rad");
    model.component("comp1").func("int4").setIndex("funcs", "deltaf", 0, 0);
    model.component("comp1").func("int4").set("filename", "delta.txt");
    model.component("comp1").func("int4").importData();
    model.component("comp1").func().create("rm2", "Ramp");
    model.component("comp1").func("rm2").set("location", 0.2);
    model.component("comp1").func("rm2").set("slope", 1.4);
    model.component("comp1").func("rm2").set("cutoffactive", true);
    model.component("comp1").func("rm2").set("smoothzonelocactive", true);
    model.component("comp1").func("rm2").set("smoothzonecutoffactive", true);
    model.component("comp1").func("rm2").set("smoothzoneloc", 0.3);
    model.component("comp1").func("rm2").set("smoothzonecutoff", 0.3);

    model.component("comp1").geom("geom1").create("c1", "Circle");
    model.component("comp1").geom("geom1").feature("c1").set("r", "1.2*R");
    model.component("comp1").geom("geom1").run("c1");
    model.component("comp1").geom("geom1").feature("c1").setIndex("layer", "0.2*R", 0);
    model.component("comp1").geom("geom1").feature("c1").setIndex("layer", "0.2*R", 1);
    model.component("comp1").geom("geom1").run("c1");
    model.component("comp1").geom("geom1").run("c1");
    model.component("comp1").geom("geom1").create("pc1", "ParametricCurve");
    model.component("comp1").geom("geom1").feature("pc1").set("parmax", "N2*lam");
    model.component("comp1").geom("geom1").feature("pc1").set("coord", new String[]{"s", "0"});
    model.component("comp1").geom("geom1").feature("pc1").set("pos", new String[]{"x0", "y0"});
    model.component("comp1").geom("geom1").run("pc1");
    model.component("comp1").geom("geom1").run("pc1");
    model.component("comp1").geom("geom1").create("par1", "Partition");
    model.component("comp1").geom("geom1").feature("par1").selection("input").set(new String[]{"pc1"});
    model.component("comp1").geom("geom1").feature("par1").set("keepinput", true);
    model.component("comp1").geom("geom1").feature("par1").selection("tool").set(new String[]{"c1"});
    model.component("comp1").geom("geom1").feature("par1").set("keeptool", true);
    model.component("comp1").geom("geom1").run("par1");
    model.component("comp1").geom("geom1").run("par1");
    model.component("comp1").geom("geom1").create("del1", "Delete");
    model.component("comp1").geom("geom1").feature("del1").selection("input").set("par1", new int[]{1, 7});
    model.component("comp1").geom("geom1").feature("del1").selection("input").set("pc1", new int[]{1});
    model.component("comp1").geom("geom1").run("del1");
    model.component("comp1").geom("geom1").run("del1");
    model.component("comp1").geom("geom1").create("r1", "Rectangle");
    model.component("comp1").geom("geom1").feature("r1").set("size", new String[]{"0.6*R", "0.1*R"});
    model.component("comp1").geom("geom1").feature("r1").set("pos", new String[]{"x1", "y1"});
    model.component("comp1").geom("geom1").feature("r1").set("rot", "phi");
    model.component("comp1").geom("geom1").run("r1");
    model.component("comp1").geom("geom1").feature("r1").set("base", "center");
    model.component("comp1").geom("geom1").run("r1");
    model.component("comp1").geom("geom1").run("r1");
    model.component("comp1").geom("geom1").create("fil1", "Fillet");
    model.component("comp1").geom("geom1").feature("fil1").selection("point").set("r1", new int[]{1, 2, 3, 4});
    model.component("comp1").geom("geom1").feature("fil1").set("radius", "0.05*R");
    model.component("comp1").geom("geom1").run("fil1");
    model.component("comp1").geom("geom1").run("fin");

    model.component("comp1").material().create("mat1", "Common");
    model.component("comp1").material("mat1").label("Air");
    model.component("comp1").material("mat1").set("family", "air");
    model.component("comp1").material("mat1").propertyGroup("def").set("relpermeability", "1");
    model.component("comp1").material("mat1").propertyGroup("def").set("relpermittivity", "1");
    model.component("comp1").material("mat1").propertyGroup("def").set("dynamicviscosity", "eta(T[1/K])[Pa*s]");
    model.component("comp1").material("mat1").propertyGroup("def").set("ratioofspecificheat", "1.4");
    model.component("comp1").material("mat1").propertyGroup("def").set("electricconductivity", "0[S/m]");
    model.component("comp1").material("mat1").propertyGroup("def").set("heatcapacity", "Cp(T[1/K])[J/(kg*K)]");
    model.component("comp1").material("mat1").propertyGroup("def").set("density", "rho(pA[1/Pa],T[1/K])[kg/m^3]");
    model.component("comp1").material("mat1").propertyGroup("def").set("thermalconductivity", "k(T[1/K])[W/(m*K)]");
    model.component("comp1").material("mat1").propertyGroup("def").set("soundspeed", "cs(T[1/K])[m/s]");
    model.component("comp1").material("mat1").propertyGroup("def").func().create("eta", "Piecewise");
    model.component("comp1").material("mat1").propertyGroup("def").func("eta").set("funcname", "eta");
    model.component("comp1").material("mat1").propertyGroup("def").func("eta").set("arg", "T");
    model.component("comp1").material("mat1").propertyGroup("def").func("eta").set("extrap", "constant");
    model.component("comp1").material("mat1").propertyGroup("def").func("eta")
         .set("pieces", new String[][]{{"200.0", "1600.0", "-8.38278E-7+8.35717342E-8*T^1-7.69429583E-11*T^2+4.6437266E-14*T^3-1.06585607E-17*T^4"}});
    model.component("comp1").material("mat1").propertyGroup("def").func().create("Cp", "Piecewise");
    model.component("comp1").material("mat1").propertyGroup("def").func("Cp").set("funcname", "Cp");
    model.component("comp1").material("mat1").propertyGroup("def").func("Cp").set("arg", "T");
    model.component("comp1").material("mat1").propertyGroup("def").func("Cp").set("extrap", "constant");
    model.component("comp1").material("mat1").propertyGroup("def").func("Cp")
         .set("pieces", new String[][]{{"200.0", "1600.0", "1047.63657-0.372589265*T^1+9.45304214E-4*T^2-6.02409443E-7*T^3+1.2858961E-10*T^4"}});
    model.component("comp1").material("mat1").propertyGroup("def").func().create("rho", "Analytic");
    model.component("comp1").material("mat1").propertyGroup("def").func("rho").set("funcname", "rho");
    model.component("comp1").material("mat1").propertyGroup("def").func("rho").set("args", new String[]{"pA", "T"});
    model.component("comp1").material("mat1").propertyGroup("def").func("rho")
         .set("expr", "pA*0.02897/R_const[K*mol/J]/T");
    model.component("comp1").material("mat1").propertyGroup("def").func("rho").set("dermethod", "manual");
    model.component("comp1").material("mat1").propertyGroup("def").func("rho")
         .set("argders", new String[][]{{"pA", "d(pA*0.02897/R_const/T,pA)"}, {"T", "d(pA*0.02897/R_const/T,T)"}});
    model.component("comp1").material("mat1").propertyGroup("def").func().create("k", "Piecewise");
    model.component("comp1").material("mat1").propertyGroup("def").func("k").set("funcname", "k");
    model.component("comp1").material("mat1").propertyGroup("def").func("k").set("arg", "T");
    model.component("comp1").material("mat1").propertyGroup("def").func("k").set("extrap", "constant");
    model.component("comp1").material("mat1").propertyGroup("def").func("k")
         .set("pieces", new String[][]{{"200.0", "1600.0", "-0.00227583562+1.15480022E-4*T^1-7.90252856E-8*T^2+4.11702505E-11*T^3-7.43864331E-15*T^4"}});
    model.component("comp1").material("mat1").propertyGroup("def").func().create("cs", "Analytic");
    model.component("comp1").material("mat1").propertyGroup("def").func("cs").set("funcname", "cs");
    model.component("comp1").material("mat1").propertyGroup("def").func("cs").set("args", new String[]{"T"});
    model.component("comp1").material("mat1").propertyGroup("def").func("cs").set("expr", "sqrt(1.4*287*T)");
    model.component("comp1").material("mat1").propertyGroup("def").func("cs").set("dermethod", "manual");
    model.component("comp1").material("mat1").propertyGroup("def").func("cs")
         .set("argders", new String[][]{{"T", "d(sqrt(1.4*287*T),T)"}});
    model.component("comp1").material("mat1").propertyGroup("def").addInput("temperature");
    model.component("comp1").material("mat1").propertyGroup("def").addInput("pressure");
    model.component("comp1").material("mat1").propertyGroup().create("RefractiveIndex", "Refractive index");
    model.component("comp1").material("mat1").propertyGroup("RefractiveIndex").set("n", "1");
    model.component("comp1").material("mat1").set("family", "air");
    model.component("comp1").material().create("mat2", "Common");
    model.component("comp1").material("mat2").label("Water, liquid");
    model.component("comp1").material("mat2").set("family", "water");
    model.component("comp1").material("mat2").propertyGroup("def").set("dynamicviscosity", "eta(T[1/K])[Pa*s]");
    model.component("comp1").material("mat2").propertyGroup("def").set("ratioofspecificheat", "1.0");
    model.component("comp1").material("mat2").propertyGroup("def").set("electricconductivity", "5.5e-6[S/m]");
    model.component("comp1").material("mat2").propertyGroup("def").set("heatcapacity", "Cp(T[1/K])[J/(kg*K)]");
    model.component("comp1").material("mat2").propertyGroup("def").set("density", "rho(T[1/K])[kg/m^3]");
    model.component("comp1").material("mat2").propertyGroup("def").set("thermalconductivity", "k(T[1/K])[W/(m*K)]");
    model.component("comp1").material("mat2").propertyGroup("def").set("soundspeed", "cs(T[1/K])[m/s]");
    model.component("comp1").material("mat2").propertyGroup("def").func().create("eta", "Piecewise");
    model.component("comp1").material("mat2").propertyGroup("def").func("eta").set("funcname", "eta");
    model.component("comp1").material("mat2").propertyGroup("def").func("eta").set("arg", "T");
    model.component("comp1").material("mat2").propertyGroup("def").func("eta").set("extrap", "constant");
    model.component("comp1").material("mat2").propertyGroup("def").func("eta")
         .set("pieces", new String[][]{{"273.15", "413.15", "1.3799566804-0.021224019151*T^1+1.3604562827E-4*T^2-4.6454090319E-7*T^3+8.9042735735E-10*T^4-9.0790692686E-13*T^5+3.8457331488E-16*T^6"}, {"413.15", "553.75", "0.00401235783-2.10746715E-5*T^1+3.85772275E-8*T^2-2.39730284E-11*T^3"}});
    model.component("comp1").material("mat2").propertyGroup("def").func().create("Cp", "Piecewise");
    model.component("comp1").material("mat2").propertyGroup("def").func("Cp").set("funcname", "Cp");
    model.component("comp1").material("mat2").propertyGroup("def").func("Cp").set("arg", "T");
    model.component("comp1").material("mat2").propertyGroup("def").func("Cp").set("extrap", "constant");
    model.component("comp1").material("mat2").propertyGroup("def").func("Cp")
         .set("pieces", new String[][]{{"273.15", "553.75", "12010.1471-80.4072879*T^1+0.309866854*T^2-5.38186884E-4*T^3+3.62536437E-7*T^4"}});
    model.component("comp1").material("mat2").propertyGroup("def").func().create("rho", "Piecewise");
    model.component("comp1").material("mat2").propertyGroup("def").func("rho").set("funcname", "rho");
    model.component("comp1").material("mat2").propertyGroup("def").func("rho").set("arg", "T");
    model.component("comp1").material("mat2").propertyGroup("def").func("rho").set("extrap", "constant");
    model.component("comp1").material("mat2").propertyGroup("def").func("rho")
         .set("pieces", new String[][]{{"273.15", "553.75", "838.466135+1.40050603*T^1-0.0030112376*T^2+3.71822313E-7*T^3"}});
    model.component("comp1").material("mat2").propertyGroup("def").func().create("k", "Piecewise");
    model.component("comp1").material("mat2").propertyGroup("def").func("k").set("funcname", "k");
    model.component("comp1").material("mat2").propertyGroup("def").func("k").set("arg", "T");
    model.component("comp1").material("mat2").propertyGroup("def").func("k").set("extrap", "constant");
    model.component("comp1").material("mat2").propertyGroup("def").func("k")
         .set("pieces", new String[][]{{"273.15", "553.75", "-0.869083936+0.00894880345*T^1-1.58366345E-5*T^2+7.97543259E-9*T^3"}});
    model.component("comp1").material("mat2").propertyGroup("def").func().create("cs", "Interpolation");
    model.component("comp1").material("mat2").propertyGroup("def").func("cs").set("sourcetype", "user");
    model.component("comp1").material("mat2").propertyGroup("def").func("cs").set("source", "table");
    model.component("comp1").material("mat2").propertyGroup("def").func("cs").set("funcname", "cs");
    model.component("comp1").material("mat2").propertyGroup("def").func("cs")
         .set("table", new String[][]{{"273", "1403"}, 
         {"278", "1427"}, 
         {"283", "1447"}, 
         {"293", "1481"}, 
         {"303", "1507"}, 
         {"313", "1526"}, 
         {"323", "1541"}, 
         {"333", "1552"}, 
         {"343", "1555"}, 
         {"353", "1555"}, 
         {"363", "1550"}, 
         {"373", "1543"}});
    model.component("comp1").material("mat2").propertyGroup("def").func("cs").set("interp", "piecewisecubic");
    model.component("comp1").material("mat2").propertyGroup("def").func("cs").set("extrap", "const");
    model.component("comp1").material("mat2").propertyGroup("def").addInput("temperature");
    model.component("comp1").material("mat2").set("family", "water");
    model.component("comp1").material("mat2").selection().set(new int[]{1, 2, 3, 4, 5, 7, 8, 13, 14});

    model.component("comp1").physics().create("dg", "DeformedGeometry", "geom1");

    model.study("std1").feature("time").activate("dg", true);

    model.component("comp1").physics().move("dg", 0);

    model.component("comp1").coordSystem("pml1").selection().set(new int[]{1, 2, 7, 11, 12, 14});

    model.component("comp1").physics("dg").create("free1", "FreeDeformation", 2);
    model.component("comp1").physics("dg").feature("free1").selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});
    model.component("comp1").physics("dg").feature().duplicate("disp2", "disp1");
    model.component("comp1").physics("dg").feature("disp2").selection().set(new int[]{35});
    model.component("comp1").physics("dg").feature("disp2")
         .setIndex("dx", "0.1*sum(Af(i)*sin(kf(i)*(x-cf(i)*t)+deltaf(i)),i,1,N)*rm2((x2-x)/Dx)*rm2((x2+x)/Dx)*rm1(10*t[1/s])", 1);
    model.component("comp1").physics("actd").selection()
         .set(new int[]{1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15});
    model.component("comp1").physics("actd").create("ssb1", "SoundSoft", 1);
    model.component("comp1").physics("actd").feature("ssb1").selection()
         .set(new int[]{3, 11, 12, 13, 20, 21, 22, 23, 24, 29, 32});
    model.component("comp1").physics("actd").create("pr1", "Pressure", 1);
    model.component("comp1").physics("actd").feature("pr1").selection().set(new int[]{4});
    model.component("comp1").physics("actd").feature("pr1").set("p0", "100*sin(2*pi*f*t)");

    model.study("std1").feature("time").set("tlist", "range(0,Tf/5,100*Tf)");

    model.sol().create("sol1");

    model.component("comp1").coordSystem("pml1").set("analysisCaseDeactivated", false);

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.sol("sol1").study("std1");

    model.study("std1").feature("time").set("notlistsolnum", 1);
    model.study("std1").feature("time").set("notsolnum", "1");
    model.study("std1").feature("time").set("listsolnum", 1);
    model.study("std1").feature("time").set("solnum", "1");

    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "time");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").feature("comp1_material_disp").set("scalemethod", "manual");
    model.sol("sol1").feature("v1").feature("comp1_material_disp").set("scaleval", "0.03516819585932721");
    model.sol("sol1").feature("v1").set("control", "time");
    model.sol("sol1").create("t1", "Time");
    model.sol("sol1").feature("t1").set("tlist", "range(0,Tf/5,100*Tf)");
    model.sol("sol1").feature("t1").set("plot", "off");
    model.sol("sol1").feature("t1").set("plotgroup", "Default");
    model.sol("sol1").feature("t1").set("plotfreq", "tout");
    model.sol("sol1").feature("t1").set("probesel", "all");
    model.sol("sol1").feature("t1").set("probes", new String[]{});
    model.sol("sol1").feature("t1").set("probefreq", "tsteps");
    model.sol("sol1").feature("t1").set("rtol", 1.0E-4);
    model.sol("sol1").feature("t1").set("atolglobalvaluemethod", "factor");
    model.sol("sol1").feature("t1").set("timestepgenalpha", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("timestepbdf", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("maxorder", 2);
    model.sol("sol1").feature("t1").set("initialstepbdfactive", true);
    model.sol("sol1").feature("t1").set("initialstepbdf", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("initialstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("initialstepgenalpha", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepbdfactive", true);
    model.sol("sol1").feature("t1").set("maxstepbdf", "(3.3333333333333335E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("maxstepgenalpha", "(3.3333333333333335E-5)[s]");

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.sol("sol1").feature("t1").set("control", "time");
    model.sol("sol1").feature("t1").create("seDef", "Segregated");
    model.sol("sol1").feature("t1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("t1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("t1").feature().remove("fcDef");
    model.sol("sol1").feature("t1").feature().remove("seDef");
    model.sol("sol1").attach("std1");

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.component("comp1").coordSystem("pml1").set("analysisCaseDeactivated", false);

    model.result().create("pg1", "PlotGroup2D");
    model.result("pg1").label("Acoustic Pressure (actd)");
    model.result("pg1").set("data", "dset1");
    model.result("pg1").feature().create("surf1", "Surface");
    model.result("pg1").feature("surf1").label("Surface");
    model.result("pg1").feature("surf1").set("smooth", "internal");
    model.result("pg1").feature("surf1").set("data", "parent");
    model.result().remove("pg1");

    model.study("std1").feature("time").set("plot", true);
    model.study("std1").feature("time").set("plotfreq", "tsteps");

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.sol("sol1").study("std1");

    model.study("std1").feature("time").set("notlistsolnum", 1);
    model.study("std1").feature("time").set("notsolnum", "1");
    model.study("std1").feature("time").set("listsolnum", 1);
    model.study("std1").feature("time").set("solnum", "1");

    model.sol("sol1").feature().remove("t1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "time");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").feature("comp1_material_disp").set("scalemethod", "manual");
    model.sol("sol1").feature("v1").feature("comp1_material_disp").set("scaleval", "0.03516819585932721");
    model.sol("sol1").feature("v1").set("control", "time");
    model.sol("sol1").create("t1", "Time");
    model.sol("sol1").feature("t1").set("tlist", "range(0,Tf/5,100*Tf)");
    model.sol("sol1").feature("t1").set("plot", "on");
    model.sol("sol1").feature("t1").set("plotgroup", "Default");
    model.sol("sol1").feature("t1").set("plotfreq", "tsteps");
    model.sol("sol1").feature("t1").set("probesel", "all");
    model.sol("sol1").feature("t1").set("probes", new String[]{});
    model.sol("sol1").feature("t1").set("probefreq", "tsteps");
    model.sol("sol1").feature("t1").set("rtol", 1.0E-4);
    model.sol("sol1").feature("t1").set("atolglobalvaluemethod", "factor");
    model.sol("sol1").feature("t1").set("timestepgenalpha", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("timestepbdf", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("maxorder", 2);
    model.sol("sol1").feature("t1").set("initialstepbdfactive", true);
    model.sol("sol1").feature("t1").set("initialstepbdf", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("initialstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("initialstepgenalpha", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepbdfactive", true);
    model.sol("sol1").feature("t1").set("maxstepbdf", "(3.3333333333333335E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("maxstepgenalpha", "(3.3333333333333335E-5)[s]");

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.sol("sol1").feature("t1").set("control", "time");
    model.sol("sol1").feature("t1").create("seDef", "Segregated");
    model.sol("sol1").feature("t1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("t1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("t1").feature().remove("fcDef");
    model.sol("sol1").feature("t1").feature().remove("seDef");
    model.sol("sol1").attach("std1");

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.component("comp1").coordSystem("pml1").set("analysisCaseDeactivated", false);

    model.result().create("pg1", "PlotGroup2D");
    model.result("pg1").label("Acoustic Pressure (actd)");
    model.result("pg1").set("showlooplevel", new String[]{"off", "off", "off"});
    model.result("pg1").set("data", "dset1");
    model.result("pg1").feature().create("surf1", "Surface");
    model.result("pg1").feature("surf1").label("Surface");
    model.result("pg1").feature("surf1").set("smooth", "internal");
    model.result("pg1").feature("surf1").set("data", "parent");

    model.component("comp1").mesh("mesh1").automatic(false);
    model.component("comp1").mesh("mesh1").feature("ftri1").selection().geom("geom1", 2);
    model.component("comp1").mesh("mesh1").feature("ftri1").selection().set(new int[]{9, 10, 15});
    model.component("comp1").mesh("mesh1").feature("ftri1").create("size1", "Size");
    model.component("comp1").mesh("mesh1").feature("ftri1").feature("size1").set("custom", true);
    model.component("comp1").mesh("mesh1").feature("ftri1").feature("size1").set("hmaxactive", true);
    model.component("comp1").mesh("mesh1").feature("ftri1").feature("size1").set("hmax", "lam0a/20");
    model.component("comp1").mesh("mesh1").feature("ftri1").create("size2", "Size");
    model.component("comp1").mesh("mesh1").feature("ftri1").feature("size2").selection().geom("geom1", 1);
    model.component("comp1").mesh("mesh1").feature("ftri1").feature("size2").selection().set(new int[]{35});
    model.component("comp1").mesh("mesh1").feature("ftri1").feature("size2").set("custom", true);
    model.component("comp1").mesh("mesh1").feature("ftri1").feature("size2").set("hmaxactive", true);
    model.component("comp1").mesh("mesh1").feature("ftri1").feature("size2").set("hmax", 0.005);
    model.component("comp1").mesh("mesh1").run("ftri1");
    model.component("comp1").mesh("mesh1").create("ftri2", "FreeTri");
    model.component("comp1").mesh("mesh1").feature("ftri2").selection().geom("geom1");
    model.component("comp1").mesh("mesh1").feature("ftri2").selection().geom("geom1", 2);
    model.component("comp1").mesh("mesh1").feature("ftri2").selection().set(new int[]{3, 4, 5, 8, 13});
    model.component("comp1").mesh("mesh1").feature("ftri2").create("size1", "Size");
    model.component("comp1").mesh("mesh1").feature("ftri2").feature("size1").set("custom", true);
    model.component("comp1").mesh("mesh1").feature("ftri2").feature("size1").set("hmaxactive", true);
    model.component("comp1").mesh("mesh1").feature("ftri2").feature("size1").set("hmax", "lam0w/20");
    model.component("comp1").mesh("mesh1").run("ftri2");
    model.component("comp1").mesh("mesh1").create("map1", "Map");
    model.component("comp1").mesh("mesh1").feature("map1").selection().geom("geom1", 2);
    model.component("comp1").mesh("mesh1").feature("map1").selection().set(new int[]{1, 2, 7, 11, 12, 14});
    model.component("comp1").mesh("mesh1").feature("map1").create("dis1", "Distribution");
    model.component("comp1").mesh("mesh1").feature("map1").feature("dis1").set("numelem", "round(0.2*R/(lam0a/20))");
    model.component("comp1").mesh("mesh1").feature("map1").feature("dis1").selection().set(new int[]{1, 5, 8, 10});
    model.component("comp1").mesh("mesh1").run();
    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.sol("sol1").study("std1");

    model.study("std1").feature("time").set("notlistsolnum", 1);
    model.study("std1").feature("time").set("notsolnum", "1");
    model.study("std1").feature("time").set("listsolnum", 1);
    model.study("std1").feature("time").set("solnum", "1");

    model.sol("sol1").feature().remove("t1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "time");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").feature("comp1_material_disp").set("scalemethod", "manual");
    model.sol("sol1").feature("v1").feature("comp1_material_disp").set("scaleval", "0.005041671349860084");
    model.sol("sol1").feature("v1").set("control", "time");
    model.sol("sol1").create("t1", "Time");
    model.sol("sol1").feature("t1").set("tlist", "range(0,Tf/5,100*Tf)");
    model.sol("sol1").feature("t1").set("plot", "on");
    model.sol("sol1").feature("t1").set("plotgroup", "pg1");
    model.sol("sol1").feature("t1").set("plotfreq", "tsteps");
    model.sol("sol1").feature("t1").set("probesel", "all");
    model.sol("sol1").feature("t1").set("probes", new String[]{});
    model.sol("sol1").feature("t1").set("probefreq", "tsteps");
    model.sol("sol1").feature("t1").set("rtol", 1.0E-4);
    model.sol("sol1").feature("t1").set("atolglobalvaluemethod", "factor");
    model.sol("sol1").feature("t1").set("timestepgenalpha", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("timestepbdf", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("maxorder", 2);
    model.sol("sol1").feature("t1").set("initialstepbdfactive", true);

    return model;
  }

  public static Model run2(Model model) {
    model.sol("sol1").feature("t1").set("initialstepbdf", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("initialstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("initialstepgenalpha", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepbdfactive", true);
    model.sol("sol1").feature("t1").set("maxstepbdf", "(3.3333333333333335E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("maxstepgenalpha", "(3.3333333333333335E-5)[s]");

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.sol("sol1").feature("t1").set("control", "time");
    model.sol("sol1").feature("t1").create("seDef", "Segregated");
    model.sol("sol1").feature("t1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("t1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("t1").feature().remove("fcDef");
    model.sol("sol1").feature("t1").feature().remove("seDef");
    model.sol("sol1").attach("std1");

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.component("comp1").coordSystem("pml1").set("analysisCaseDeactivated", false);

    model.study("std1").feature("time").set("usertol", true);
    model.study("std1").feature("time").set("rtol", 1.0E-5);

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.sol("sol1").study("std1");

    model.study("std1").feature("time").set("notlistsolnum", 1);
    model.study("std1").feature("time").set("notsolnum", "1");
    model.study("std1").feature("time").set("listsolnum", 1);
    model.study("std1").feature("time").set("solnum", "1");

    model.sol("sol1").feature().remove("t1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "time");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").feature("comp1_material_disp").set("scalemethod", "manual");
    model.sol("sol1").feature("v1").feature("comp1_material_disp").set("scaleval", "0.005041671349860084");
    model.sol("sol1").feature("v1").set("control", "time");
    model.sol("sol1").create("t1", "Time");
    model.sol("sol1").feature("t1").set("tlist", "range(0,Tf/5,100*Tf)");
    model.sol("sol1").feature("t1").set("plot", "on");
    model.sol("sol1").feature("t1").set("plotgroup", "pg1");
    model.sol("sol1").feature("t1").set("plotfreq", "tsteps");
    model.sol("sol1").feature("t1").set("probesel", "all");
    model.sol("sol1").feature("t1").set("probes", new String[]{});
    model.sol("sol1").feature("t1").set("probefreq", "tsteps");
    model.sol("sol1").feature("t1").set("rtol", 1.0E-5);
    model.sol("sol1").feature("t1").set("atolglobalvaluemethod", "factor");
    model.sol("sol1").feature("t1").set("timestepgenalpha", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("timestepbdf", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("maxorder", 2);
    model.sol("sol1").feature("t1").set("initialstepbdfactive", true);
    model.sol("sol1").feature("t1").set("initialstepbdf", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("initialstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("initialstepgenalpha", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepbdfactive", true);
    model.sol("sol1").feature("t1").set("maxstepbdf", "(3.3333333333333335E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("maxstepgenalpha", "(3.3333333333333335E-5)[s]");

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.sol("sol1").feature("t1").set("control", "time");
    model.sol("sol1").feature("t1").create("seDef", "Segregated");
    model.sol("sol1").feature("t1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("t1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("t1").feature().remove("fcDef");
    model.sol("sol1").feature("t1").feature().remove("seDef");
    model.sol("sol1").attach("std1");

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.component("comp1").coordSystem("pml1").set("analysisCaseDeactivated", false);

    model.sol("sol1").feature("t1").feature("fc1").set("jtech", "once");

    model.study("std1").feature("time").set("rtol", 1.0E-4);

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.component("comp1").coordSystem("pml1").set("analysisCaseDeactivated", false);

    model.sol("sol1").feature("t1").feature("fc1").set("dtech", "auto");

    model.component("comp1").coordSystem("pml1").set("analysisCaseDeactivated", false);

    model.component("comp1").mesh("mesh1").feature("ftri1").label("Free Triangular 1: AIR");
    model.component("comp1").mesh("mesh1").feature("ftri2").label("Free Triangular 2: WATER");

    model.param().descr("Tf", "Period");

    model.study("std1").feature("time").set("tlist", "range(0,Tf/10,40*Tf)");
    model.study("std1").feature("time").set("rtol", 1.0E-5);

    model.component("comp1").mesh("mesh1").feature("ftri2").feature("size1").set("hmax", "lam0w/40");
    model.component("comp1").mesh("mesh1").feature("ftri1").feature("size1").set("hmax", "lam0a/30");
    model.component("comp1").mesh("mesh1").run();
    model.component("comp1").mesh("mesh1").feature("ftri2").feature("size1").set("hmax", "lam0w/50");
    model.component("comp1").mesh("mesh1").run();
    model.component("comp1").mesh("mesh1").feature("ftri2").feature().duplicate("size2", "size1");
    model.component("comp1").mesh("mesh1").feature("ftri2").feature("size2").selection().geom("geom1", 1);
    model.component("comp1").mesh("mesh1").feature("ftri2").feature("size2").selection().set(new int[]{4});
    model.component("comp1").mesh("mesh1").feature("ftri2").feature("size2").set("hmax", "lam0w/100");
    model.component("comp1").mesh("mesh1").run();
    model.component("comp1").mesh("mesh1").feature("ftri2").feature("size2").set("hgradactive", true);
    model.component("comp1").mesh("mesh1").feature("ftri2").feature("size2").set("hgrad", 1.2);
    model.component("comp1").mesh("mesh1").run();
    model.component("comp1").mesh("mesh1").feature("ftri2").feature("size2").set("hgrad", 1.15);
    model.component("comp1").mesh("mesh1").run();
    model.component("comp1").mesh("mesh1").feature("ftri2").feature("size2").set("hgrad", 1.1);
    model.component("comp1").mesh("mesh1").run();
    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.component("comp1").coordSystem("pml1").set("analysisCaseDeactivated", false);

    model.component("comp1").mesh("mesh1").feature("ftri2").selection().set(new int[]{3, 4, 5, 6, 8, 13});
    model.component("comp1").mesh("mesh1").run();

    model.result("pg1").run();
    model.result("pg1").create("line1", "Line");
    model.result("pg1").feature("line1").create("sel1", "Selection");
    model.result("pg1").feature("line1").feature("sel1").selection().set(new int[]{35});
    model.result("pg1").run();

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.component("comp1").coordSystem("pml1").set("analysisCaseDeactivated", false);

    model.component("comp1").physics("dg").feature("disp2")
         .setIndex("dx", "0.02*sum(Af(i)*sin(kf(i)*(x-cf(i)*t)+deltaf(i)),i,1,N)*rm2((x2-x)/Dx)*rm2((x2+x)/Dx)*rm1(10*t[1/s])", 1);

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.component("comp1").coordSystem("pml1").set("analysisCaseDeactivated", false);

    model.result("pg1").run();
    model.result("pg1").create("mesh1", "Mesh");
    model.result("pg1").run();
    model.result("pg1").set("allowtableupdate", false);
    model.result().dataset("dset1").set("hasbeenevaluated", true);
    model.result("pg1").set("xlabel", "");
    model.result("pg1").set("ylabel", "");
    model.result("pg1").feature("surf1").set("rangeunit", "Pa");
    model.result("pg1").feature("surf1").set("rangecolormin", 0);
    model.result("pg1").feature("surf1").set("rangecolormax", 0);
    model.result("pg1").feature("surf1").set("rangecoloractive", "off");
    model.result("pg1").feature("surf1").set("rangedatamin", 0);
    model.result("pg1").feature("surf1").set("rangedatamax", 0);
    model.result("pg1").feature("surf1").set("rangedataactive", "off");
    model.result("pg1").feature("surf1").set("rangeactualminmax", new double[]{0, 0});
    model.result("pg1").feature("line1").set("rangeunit", "Pa");
    model.result("pg1").feature("line1").set("rangecolormin", 0);
    model.result("pg1").feature("line1").set("rangecolormax", 0);
    model.result("pg1").feature("line1").set("rangecoloractive", "off");
    model.result("pg1").feature("line1").set("rangedatamin", 0);
    model.result("pg1").feature("line1").set("rangedatamax", 0);
    model.result("pg1").feature("line1").set("rangedataactive", "off");
    model.result("pg1").feature("line1").set("rangeactualminmax", new double[]{0, 0});
    model.result("pg1").set("allowtableupdate", true);
    model.result("pg1").run();
    model.result("pg1").feature("line1").set("colorlegend", false);
    model.result("pg1").feature("line1").set("coloring", "uniform");
    model.result("pg1").run();
    model.result("pg1").feature("mesh1").create("def1", "Deform");
    model.result("pg1").run();
    model.result("pg1").feature("mesh1").feature("def1").set("scaleactive", true);
    model.result("pg1").feature("mesh1").feature("def1").set("scale", 1);
    model.result("pg1").feature("mesh1").feature("def1").set("expr", new String[]{"6", "0"});
    model.result("pg1").run();
    model.result("pg1").feature("mesh1").feature("def1").set("expr", new String[]{"8", "0"});
    model.result("pg1").run();

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.component("comp1").coordSystem("pml1").set("analysisCaseDeactivated", false);

    model.result().export().create("anim1", "Animation");
    model.result().export("anim1").set("target", "player");
    model.result().export("anim1").set("title", "on");
    model.result().export("anim1").set("legend", "on");
    model.result().export("anim1").set("logo", "off");
    model.result().export("anim1").set("options", "on");
    model.result().export("anim1").set("fontsize", "9");
    model.result().export("anim1").set("customcolor", new double[]{1, 1, 1});
    model.result().export("anim1").set("background", "color");
    model.result().export("anim1").set("axisorientation", "on");
    model.result().export("anim1").set("grid", "on");
    model.result().export("anim1").set("axes", "on");
    model.result().export("anim1").set("showgrid", "on");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("framesel", "all");
    model.result().export("anim1").run();
    model.result().export("anim1").run();

    model.component("comp1").physics("dg").feature("disp2")
         .setIndex("dx", "0.1*sum(Af(i)*sin(kf(i)*(x-cf(i)*t)+deltaf(i)),i,1,N)*rm2((x2-x)/Dx)*rm2((x2+x)/Dx)*rm1(10*t[1/s])", 1);

    model.study("std1").feature("time").set("tlist", "range(0,Tf/5,40*Tf)");
    model.study("std1").feature("time").set("rtol", 1.0E-4);

    model.component("comp1").mesh("mesh1").feature("ftri1").feature("size1").set("hmax", "lam0a/10");
    model.component("comp1").mesh("mesh1").feature("ftri1").feature("size2").set("hmax", 0.01);
    model.component("comp1").mesh("mesh1").feature("ftri2").feature("size1").set("hmax", "lam0w/20");
    model.component("comp1").mesh("mesh1").feature("ftri2").feature("size2").set("hmax", "lam0w/50");
    model.component("comp1").mesh("mesh1").run();
    model.component("comp1").mesh("mesh1").feature("ftri1").feature("size2").set("hmax", 0.05);
    model.component("comp1").mesh("mesh1").run();
    model.component("comp1").mesh("mesh1").feature("ftri1").feature("size2").set("hmax", 0.02);
    model.component("comp1").mesh("mesh1").run();

    model.study("std1").feature("time").set("rtol", "1.0E-3");

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.component("comp1").coordSystem("pml1").set("analysisCaseDeactivated", false);

    model.component("comp1").physics("dg").feature("disp2").setIndex("useDx", 0, 0);

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.component("comp1").coordSystem("pml1").set("analysisCaseDeactivated", false);

    model.sol("sol1").runAll();

    model.result("pg1").run();
    model.result().export("anim1").set("solnumtype", "level1");
    model.result().export("anim1").set("framesel", "number");
    model.result().export("anim1").set("maxframes", 50);
    model.result().export("anim1").run();
    model.result().export("anim1").run();

    model.component("comp1").func().move("rm2", 1);

    model.component("comp1").geom("geom1").runPre("par1");
    model.component("comp1").geom("geom1").runPre("del1");

    model.result("pg1").run();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").run();
    model.result().export("anim1").run();

    model.component("comp1").geom("geom1").run("del1");
    model.component("comp1").geom("geom1").run("r1");
    model.component("comp1").geom("geom1").run("fin");

    model.component("comp1").mesh("mesh1").run();

    model.sol("sol1").feature("t1").set("fieldselection", "comp1_actd_tpam1_pmlU");

    model.result("pg1").run();
    model.result().create("pg2", "PlotGroup1D");
    model.result("pg2").run();
    model.result("pg2").create("lngr1", "LineGraph");
    model.result("pg2").feature("lngr1").selection().set(new int[]{35});

    model.label("Model_007b_REDONE_COMSOL5.3a_SOLUTION.mph");

    model.result("pg1").run();
    model.result("pg1").setIndex("looplevel", 1, 0);
    model.result("pg1").run();
    model.result("pg1").setIndex("looplevel", 2, 0);
    model.result("pg1").run();
    model.result("pg1").setIndex("looplevel", 3, 0);
    model.result("pg1").run();
    model.result("pg1").setIndex("looplevel", 4, 0);
    model.result("pg1").run();
    model.result("pg1").setIndex("looplevel", 5, 0);
    model.result("pg1").run();
    model.result("pg1").setIndex("looplevel", 6, 0);
    model.result("pg1").run();
    model.result("pg1").setIndex("looplevel", 7, 0);
    model.result("pg1").run();
    model.result("pg1").setIndex("looplevel", 8, 0);
    model.result("pg1").run();
    model.result("pg1").setIndex("looplevel", 9, 0);
    model.result("pg1").run();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").run();

    model.param().set("L", "100[mm]");

    model.component("comp1").geom("geom1").run("fin");
    model.component("comp1").geom("geom1").run("c1");
    model.component("comp1").geom("geom1").run("pc1");
    model.component("comp1").geom("geom1").run("par1");
    model.component("comp1").geom("geom1").run("del1");
    model.component("comp1").geom("geom1").run("r1");
    model.component("comp1").geom("geom1").run("fil1");
    model.component("comp1").geom("geom1").run("fin");
    model.component("comp1").geom("geom1").feature("r1").set("size", new String[]{"L", "0.1*R"});
    model.component("comp1").geom("geom1").run("r1");
    model.component("comp1").geom("geom1").run("fil1");
    model.component("comp1").geom("geom1").feature("fil1").set("radius", "0.1*L");
    model.component("comp1").geom("geom1").run("fil1");
    model.component("comp1").geom("geom1").feature("r1").set("size", new String[]{"L", "0.4*L"});
    model.component("comp1").geom("geom1").run("r1");
    model.component("comp1").geom("geom1").feature("r1").set("rot", "phi*0");
    model.component("comp1").geom("geom1").run("r1");
    model.component("comp1").geom("geom1").feature("fil1").set("radius", "0.2*L");
    model.component("comp1").geom("geom1").run("fil1");
    model.component("comp1").geom("geom1").feature("r1").set("rot", "phi");
    model.component("comp1").geom("geom1").run("r1");
    model.component("comp1").geom("geom1").run("fil1");
    model.component("comp1").geom("geom1").run("fin");

    model.study("std1").feature("time").set("tlist", "range(0,Tf/5,20*Tf)");

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.component("comp1").coordSystem("pml1").set("analysisCaseDeactivated", false);

    model.component("comp1").func("int1").discardData();
    model.component("comp1").func("int1")
         .set("filename", "F:\\Dropbox\\JOBS\\68_MShahroozAmin_Periodic_Acoustic\\4th_project_Dec2018\\A.txt");
    model.component("comp1").func("int1").importData();
    model.component("comp1").func("int2").discardData();
    model.component("comp1").func("int2").importData();
    model.component("comp1").func("int3").discardData();
    model.component("comp1").func("int3").importData();
    model.component("comp1").func("int4").discardData();
    model.component("comp1").func("int4").importData();

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.component("comp1").coordSystem("pml1").set("analysisCaseDeactivated", false);

    model.sol("sol1").runAll();

    model.result().export("anim1").set("solnumtype", "level1");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").run();

    model.component("comp1").func("int1").discardData();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").run();

    model.component("comp1").func("int1").setIndex("funcs", 2, 0, 1);
    model.component("comp1").func("int1").setIndex("funcs", 1, 0, 1);
    model.component("comp1").func("int1")
         .set("filename", "F:\\Dropbox\\JOBS\\68_MShahroozAmin_Periodic_Acoustic\\4th_project_Dec2018\\Amp_Pierson2.txt");
    model.component("comp1").func("int1").set("nargs", 1);
    model.component("comp1").func("int2").discardData();
    model.component("comp1").func("int2")
         .set("filename", "F:\\Dropbox\\JOBS\\68_MShahroozAmin_Periodic_Acoustic\\4th_project_Dec2018\\k_Pierson2.txt");
    model.component("comp1").func("int2").importData();
    model.component("comp1").func("int3").discardData();
    model.component("comp1").func("int3")
         .set("filename", "F:\\Dropbox\\JOBS\\68_MShahroozAmin_Periodic_Acoustic\\4th_project_Dec2018\\c_Pierson2.txt");
    model.component("comp1").func("int3").importData();
    model.component("comp1").func("int4").discardData();
    model.component("comp1").func("int4")
         .set("filename", "F:\\Dropbox\\JOBS\\68_MShahroozAmin_Periodic_Acoustic\\4th_project_Dec2018\\phase_Pierson2.txt");
    model.component("comp1").func("int4").importData();

    model.study("std1").feature("time").set("tlist", "range(0,Tf/5,40*Tf)");

    model.result().export("anim1").showFrame();
    model.result("pg1").feature("mesh1").active(false);
    model.result("pg1").run();

    model.study("std1").feature("time").set("tlist", "range(0,Tf/5,20*Tf)");

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.component("comp1").coordSystem("pml1").set("analysisCaseDeactivated", false);

    model.sol("sol1").runAll();

    model.result("pg1").run();
    model.result("pg1").setIndex("looplevel", 1, 0);
    model.result("pg1").run();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").run();
    model.result().export("anim1").run();

    model.label("Model_007d_COMSOL5.3a_SOL.mph");

    model.result().export("anim1").showFrame();

    model.component("comp1").func("int1")
         .set("filename", "D:\\Dropbox\\JOBS\\68_MShahroozAmin_Periodic_Acoustic\\4th_project_Dec2018\\File\\Amp_Pierson2.txt");
    model.component("comp1").func("int1").importData();
    model.component("comp1").func("int2").discardData();
    model.component("comp1").func("int2")
         .set("filename", "D:\\Dropbox\\JOBS\\68_MShahroozAmin_Periodic_Acoustic\\4th_project_Dec2018\\File\\k_Pierson2.txt");
    model.component("comp1").func("int2").importData();
    model.component("comp1").func("int3").discardData();
    model.component("comp1").func("int3")
         .set("filename", "D:\\Dropbox\\JOBS\\68_MShahroozAmin_Periodic_Acoustic\\4th_project_Dec2018\\File\\c_Pierson2.txt");
    model.component("comp1").func("int3").importData();
    model.component("comp1").func("int4").discardData();
    model.component("comp1").func("int4")
         .set("filename", "D:\\Dropbox\\JOBS\\68_MShahroozAmin_Periodic_Acoustic\\4th_project_Dec2018\\File\\phase_Pierson2.txt");
    model.component("comp1").func("int4").importData();

    model.component("comp1").geom("geom1").run("fin");

    model.label("Model_007f_COMSOL5.3a_SOL.mph");

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.component("comp1").coordSystem("pml1").set("analysisCaseDeactivated", false);

    model.param().rename("T", "tau");

    model.component("comp1").func("rm1").set("location", "tau/10");
    model.component("comp1").func("rm1").set("slope", "5/tau[1/s]");

    model.param().set("ca", "330[m/s]");
    model.param().descr("ca", "Speed of sound in air");
    model.param().set("cw", "1500[m/s]");
    model.param().descr("cw", "Speed of sound in water");

    model.component("comp1").physics("actd").feature().duplicate("tpam2", "tpam1");
    model.component("comp1").physics("actd").feature("tpam1").label("Transient Pressure Acoustics Model 1: AIR");
    model.component("comp1").physics("actd").feature("tpam2").selection()
         .set(new int[]{1, 2, 3, 4, 5, 6, 7, 8, 13, 14});
    model.component("comp1").physics("actd").feature("tpam2").label("Transient Pressure Acoustics Model 2: WATER");
    model.component("comp1").physics("actd").feature("tpam1").set("c_mat", "userdef");
    model.component("comp1").physics("actd").feature("tpam1").set("c", "ca");
    model.component("comp1").physics("actd").feature("tpam2").set("c_mat", "userdef");
    model.component("comp1").physics("actd").feature("tpam2").set("c", "cw");

    model.component("comp1").mesh("mesh1").run();
    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.component("comp1").coordSystem("pml1").set("analysisCaseDeactivated", false);

    model.component("comp1").func("rm1").set("smoothzoneloc", "tau/10");
    model.component("comp1").func("rm1").set("smoothzonecutoff", "tau/10");

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.component("comp1").coordSystem("pml1").set("analysisCaseDeactivated", false);

    model.sol("sol1").runAll();

    model.result("pg1").run();
    model.result("pg1").setIndex("looplevel", 1, 0);
    model.result("pg1").run();
    model.result("pg1").setIndex("looplevel", 2, 0);
    model.result("pg1").run();
    model.result("pg1").setIndex("looplevel", 3, 0);
    model.result("pg1").run();
    model.result("pg1").setIndex("looplevel", 4, 0);
    model.result("pg1").run();
    model.result("pg1").setIndex("looplevel", 5, 0);
    model.result("pg1").run();
    model.result("pg1").setIndex("looplevel", 6, 0);
    model.result("pg1").run();
    model.result("pg1").setIndex("looplevel", 7, 0);
    model.result("pg1").run();
    model.result("pg1").setIndex("looplevel", 8, 0);
    model.result("pg1").run();
    model.result("pg1").setIndex("looplevel", 9, 0);
    model.result("pg1").run();
    model.result("pg1").setIndex("looplevel", 10, 0);
    model.result("pg1").run();
    model.result().export().create("anim2", "Animation");
    model.result().export("anim2").set("target", "player");
    model.result().export("anim2").set("title", "on");
    model.result().export("anim2").set("legend", "on");
    model.result().export("anim2").set("logo", "off");
    model.result().export("anim2").set("options", "on");
    model.result().export("anim2").set("fontsize", "9");
    model.result().export("anim2").set("customcolor", new double[]{1, 1, 1});
    model.result().export("anim2").set("background", "color");
    model.result().export("anim2").set("axisorientation", "on");
    model.result().export("anim2").set("grid", "on");
    model.result().export("anim2").set("axes", "on");
    model.result().export("anim2").set("showgrid", "on");
    model.result().export("anim2").showFrame();
    model.result().export("anim2").showFrame();
    model.result().export("anim2").run();
    model.result().export("anim2").set("framesel", "all");
    model.result().export("anim2").run();
    model.result("pg1").setIndex("looplevel", 101, 0);
    model.result("pg1").run();

    model.label("Model_007f2_COMSOL5.3a_SOL.mph");
    model.label("Model_007f2_COMSOL5.3a_SOL.mph");

    model.component("comp1").func("int1").discardData();
    model.component("comp1").func("int1")
         .set("filename", "F:\\Dropbox\\JOBS\\68_MShahroozAmin_Periodic_Acoustic\\4th_project_Dec2018\\Simulation_20JAN2023\\Amp_Pierson_2col.txt");
    model.component("comp1").func("int1").importData();
    model.component("comp1").func("int2").discardData();
    model.component("comp1").func("int2")
         .set("filename", "F:\\Dropbox\\JOBS\\68_MShahroozAmin_Periodic_Acoustic\\4th_project_Dec2018\\Simulation_20JAN2023\\k_Pierson_2col.txt");
    model.component("comp1").func("int2").importData();
    model.component("comp1").func("int3").discardData();
    model.component("comp1").func("int3")
         .set("filename", "F:\\Dropbox\\JOBS\\68_MShahroozAmin_Periodic_Acoustic\\4th_project_Dec2018\\Simulation_20JAN2023\\c_Pierson_2col.txt");
    model.component("comp1").func("int3").importData();
    model.component("comp1").func("int4").discardData();
    model.component("comp1").func("int4")
         .set("filename", "F:\\Dropbox\\JOBS\\68_MShahroozAmin_Periodic_Acoustic\\4th_project_Dec2018\\Simulation_20JAN2023\\phase_Pierson_2col.txt");
    model.component("comp1").func("int4").importData();

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.component("comp1").coordSystem("pml1").set("analysisCaseDeactivated", false);

    model.component("comp1").func("int3").discardData();
    model.component("comp1").func("int3").importData();

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.component("comp1").coordSystem("pml1").set("analysisCaseDeactivated", false);

    model.sol("sol1").runAll();

    model.label("Model_007g_COMSOL5.3a_SOL.mph");

    model.result("pg1").run();

    model.component("comp1").physics("actd").prop("ReferencePressure").set("ReferenceType", "ReferencePressureWater");
    model.component("comp1").physics("actd").feature("pr1").set("p0", "0.3162*sin(2*pi*8000*t)");

    model.study("std1").feature("time").set("plotfreq", "tout");

    model.param().set("fs", "8000[Hz]");

    model.component("comp1").physics("actd").feature("pr1").set("p0", "0.885*sin(2*pi*fs*t)");

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(new int[]{3, 4, 5, 8, 9, 10, 13, 15});

    model.component("comp1").coordSystem("pml1").set("analysisCaseDeactivated", false);

    model.sol("sol1").runAll();

    model.result("pg1").run();
    model.result().export("anim1")
         .set("solnum", new int[]{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101});
    model.result().export("anim1").run();
    model.result().export("anim1").run();
    model.result().export("anim1").run();
    model.result().export("anim1").set("solnum", new int[]{2, 3, 4, 5});
    model.result().export("anim1").run();
    model.result("pg1").run();
    model.result("pg1").set("showlegendsunit", true);
    model.result("pg1").run();
    model.result().export().create("img1", "pg1", "Image2D");
    model.result().export("img1").set("printunit", "mm");
    model.result().export("img1").set("webunit", "px");
    model.result().export("img1").set("printheight", "90");
    model.result().export("img1").set("webheight", "480");
    model.result().export("img1").set("printwidth", "120");
    model.result().export("img1").set("webwidth", "640");
    model.result().export("img1").set("printlockratio", "off");
    model.result().export("img1").set("weblockratio", "off");
    model.result().export("img1").set("printresolution", "300");
    model.result().export("img1").set("webresolution", "96");
    model.result().export("img1").set("size", "manualweb");
    model.result().export("img1").set("antialias", "off");
    model.result().export("img1").set("zoomextents", "off");
    model.result().export("img1").set("title", "on");
    model.result().export("img1").set("legend", "on");
    model.result().export("img1").set("logo", "on");
    model.result().export("img1").set("options", "on");
    model.result().export("img1").set("fontsize", "9");
    model.result().export("img1").set("customcolor", new double[]{1, 1, 1});
    model.result().export("img1").set("background", "color");
    model.result().export("img1").set("axes", "on");
    model.result().export("img1").set("qualitylevel", "92");
    model.result().export("img1").set("qualityactive", "off");
    model.result().export("img1").set("imagetype", "png");
    model.result().export("img1")
         .set("pngfilename", "C:\\Users\\mshah\\Documents\\COMSOL\\COMSOL_Optics\\SeaSurface\\Pierson\\Results\\AcousticPressure__June14yr23.png");
    model.result().export("img1").run();
    model.result("pg2").run();
    model.result().export("anim2").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("solnum", new int[]{1});
    model.result().export("anim1").set("target", "file");
    model.result().export("anim1")
         .set("solnum", new int[]{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101});

    return model;
  }

  public static Model run3(Model model) {
    model.result().export("anim1")
         .set("giffilename", "C:\\Users\\mshah\\Documents\\COMSOL\\COMSOL_Optics\\SeaSurface\\Pierson\\Results\\Video_Pierson_June14Yr23.gif");
    model.result().export("anim1").run();
    model.result().param().clear();
    model.result().create("pg3", "PlotGroup1D");
    model.result("pg3").create("ptgr1", "PointGraph");
    model.result("pg3").feature("ptgr1").set("expr", "arg(p)");
    model.result("pg3").feature("ptgr1").selection().all();
    model.result("pg3").feature("ptgr1").selection().set(new int[]{});
    model.result("pg3").create("lngr1", "LineGraph");
    model.result("pg3").feature("lngr1").selection().all();
    model.result("pg3").feature("lngr1").selection().set(new int[]{});
    model.result("pg3").feature("lngr1").selection().all();
    model.result("pg3").feature("lngr1").selection().set(new int[]{35});
    model.result("pg3").feature("lngr1").set("expr", "arg(p)");
    model.result("pg3").setIndex("looplevelinput", "manualindices", 0);
    model.result("pg3").setIndex("looplevelinput", "manual", 0);
    model.result("pg3").setIndex("looplevel", new int[]{101}, 0);
    model.result("pg3").run();
    model.result("pg3").feature("ptgr1").selection().all();
    model.result("pg3").feature().remove("ptgr1");
    model.result("pg1").run();

    model.label("Model_007g_COMSOL5.3a_June14Yr23.mph");

    model.component("comp1").physics().remove("dg");
    model.component("comp1").physics().remove("actd");

    model.component("comp1").mesh().remove("mesh1");

    model.study().remove("std1");

    model.label("Model_007g_COMSOL5.3a_May19YR24.mph");

    model.setGroupByType(false);
    model.component("comp1").setGroupByType(false);

    model.component("comp1").geom("geom1").run("fin");
    model.component("comp1").geom("geom1").feature("fil1").set("selectinsketch", true);
    model.component("comp1").geom("geom1").run("fin");
    model.component("comp1").geom("geom1").exportFinal("E:\\COMSOL_Shahrooz\\Geometry.mphbin");

    model.component("comp1").physics().create("actd", "TransientPressureAcoustics", "geom1");
    model.component("comp1").physics().create("acpr", "PressureAcoustics", "geom1");
    model.component("comp1").physics("actd").create("ms1", "MonopoleSource", 2);
    model.component("comp1").physics("actd").feature("ms1").selection().set(6);
    model.component("comp1").physics("actd").create("pwr1", "PlaneWaveRadiation", 1);
    model.component("comp1").physics("actd").feature().remove("pwr1");

    model.param().rename("vela", "c_air");
    model.param().set("lam0a", "c_air/f");
    model.param().rename("c_air", "vela");
    model.param().set("lam0a", "vela/f");

    model.component("comp1").physics("actd").prop("ReferencePressure").set("ReferenceType", "ReferencePressureAir");
    model.component("comp1").physics("acpr").create("ms1", "MonopoleSource", 2);
    model.component("comp1").physics("actd").create("pr1", "Pressure", 1);
    model.component("comp1").physics("actd").feature().remove("pr1");
    model.component("comp1").physics("actd").create("mls1", "TransientMonopoleLineSource", 0);
    model.component("comp1").physics("actd").feature("mls1").set("Type", "Flow");
    model.component("comp1").physics("actd").feature().remove("mls1");
    model.component("comp1").physics("actd").create("pwr1", "PlaneWaveRadiation", 1);
    model.component("comp1").physics("actd").feature().remove("pwr1");
    model.component("comp1").physics("actd").create("nvel1", "NormalVelocity", 1);
    model.component("comp1").physics("actd").feature("nvel1").set("Type", "nvel");
    model.component("comp1").physics("actd").feature().remove("nvel1");
    model.component("comp1").physics("acpr").feature().remove("ms1");
    model.component("comp1").physics("actd").feature().remove("ms1");
    model.component("comp1").physics("actd").create("tpam2", "TransientPressureAcousticsModel", 2);
    model.component("comp1").physics("actd").feature().remove("tpam2");
    model.component("comp1").physics("actd").create("mls1", "TransientMonopoleLineSource", 0);
    model.component("comp1").physics("actd").feature().remove("mls1");
    model.component("comp1").physics("acpr").active(false);

    model.component("comp1").geom("geom1").run("fil1");
    model.component("comp1").geom("geom1").create("pt1", "Point");
    model.component("comp1").geom("geom1").feature("pt1").label("Source Point");
    model.component("comp1").geom("geom1").feature("pt1").setIndex("p", "x1", 0);
    model.component("comp1").geom("geom1").feature("pt1").setIndex("p", "y1", 1);
    model.component("comp1").geom("geom1").run("pt1");
    model.component("comp1").geom("geom1").run();

    model.component("comp1").physics("actd").create("ms1", "MonopoleSource", 2);
    model.component("comp1").physics("actd").feature("ms1").selection().set(6);
    model.component("comp1").physics("actd").active(false);
    model.component("comp1").physics().remove("actd");
    model.component("comp1").physics("acpr").active(true);
    model.component("comp1").physics("acpr").create("pwr1", "PlaneWaveRadiation", 1);
    model.component("comp1").physics("acpr").feature().remove("pwr1");
    model.component("comp1").physics("acpr").create("nvel1", "NormalVelocity", 1);
    model.component("comp1").physics("acpr").feature("nvel1").set("Type", "nvel");
    model.component("comp1").physics("acpr").feature().remove("nvel1");
    model.component("comp1").physics("acpr").create("pr1", "Pressure", 1);
    model.component("comp1").physics("acpr").feature("pr1").selection().set(3, 4, 20, 21, 22, 23);
    model.component("comp1").physics("acpr").feature("pr1").set("p0", 1);

    model.study().create("std1");
    model.study("std1").create("freq", "Frequency");
    model.study("std1").feature("freq").setSolveFor("/physics/acpr", true);
    model.study().create("std2");
    model.study("std2").create("freq", "Frequency");
    model.study("std2").feature("freq").setSolveFor("/physics/acpr", true);
    model.study().remove("std2");
    model.study("std1").feature("freq").set("plist", 200);

    model.sol().create("sol1");
    model.sol("sol1").study("std1");

    model.study("std1").feature("freq").set("notlistsolnum", 1);
    model.study("std1").feature("freq").set("notsolnum", "auto");
    model.study("std1").feature("freq").set("listsolnum", 1);
    model.study("std1").feature("freq").set("solnum", "auto");

    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "freq");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "freq");
    model.sol("sol1").create("s1", "Stationary");
    model.sol("sol1").feature("s1").set("stol", 0.001);
    model.sol("sol1").feature("s1").create("p1", "Parametric");
    model.sol("sol1").feature("s1").feature().remove("pDef");
    model.sol("sol1").feature("s1").feature("p1").set("pname", new String[]{"freq"});
    model.sol("sol1").feature("s1").feature("p1").set("plistarr", new String[]{"200"});
    model.sol("sol1").feature("s1").feature("p1").set("punit", new String[]{"Hz"});
    model.sol("sol1").feature("s1").feature("p1").set("pcontinuationmode", "no");
    model.sol("sol1").feature("s1").feature("p1").set("preusesol", "auto");
    model.sol("sol1").feature("s1").feature("p1").set("pdistrib", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plot", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plotgroup", "Default");
    model.sol("sol1").feature("s1").feature("p1").set("probesel", "all");
    model.sol("sol1").feature("s1").feature("p1").set("probes", new String[]{});
    model.sol("sol1").feature("s1").feature("p1").set("control", "freq");
    model.sol("sol1").feature("s1").set("linpmethod", "sol");
    model.sol("sol1").feature("s1").set("linpsol", "zero");
    model.sol("sol1").feature("s1").set("control", "freq");
    model.sol("sol1").feature("s1").feature("aDef").set("complexfun", true);
    model.sol("sol1").feature("s1").feature("aDef").set("cachepattern", false);
    model.sol("sol1").feature("s1").feature("aDef").set("matherr", true);
    model.sol("sol1").feature("s1").feature("aDef").set("blocksizeactive", false);
    model.sol("sol1").feature("s1").feature("aDef").set("nullfun", "auto");
    model.sol("sol1").feature("s1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("s1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("s1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");

    model.result().create("pg1", "PlotGroup2D");
    model.result("pg1").set("data", "dset1");
    model.result("pg1").create("surf1", "Surface");
    model.result("pg1").feature("surf1").set("expr", new String[]{"acpr.p_t"});
    model.result("pg1").feature("surf1").set("colortable", "Wave");
    model.result("pg1").feature("surf1").set("colorscalemode", "linearsymmetric");
    model.result("pg1").set("showlegendsunit", true);
    model.result("pg1").label("Acoustic Pressure (acpr)");
    model.result().create("pg2", "PlotGroup2D");
    model.result("pg2").set("data", "dset1");
    model.result("pg2").create("surf1", "Surface");
    model.result("pg2").feature("surf1").set("expr", new String[]{"acpr.Lp_t"});
    model.result("pg2").set("showlegendsunit", true);
    model.result("pg2").label("Sound Pressure Level (acpr)");

    model.sol("sol1").runAll();

    model.result("pg2").run();

    model.component("comp1").mesh().create("mesh1");
    model.component("comp1").mesh("mesh1").run();

    model.sol("sol1").study("std1");

    model.study("std1").feature("freq").set("notlistsolnum", 1);
    model.study("std1").feature("freq").set("notsolnum", "auto");
    model.study("std1").feature("freq").set("listsolnum", 1);
    model.study("std1").feature("freq").set("solnum", "auto");

    model.sol("sol1").feature().remove("s1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "freq");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "freq");
    model.sol("sol1").create("s1", "Stationary");
    model.sol("sol1").feature("s1").set("stol", 0.001);
    model.sol("sol1").feature("s1").create("p1", "Parametric");
    model.sol("sol1").feature("s1").feature().remove("pDef");
    model.sol("sol1").feature("s1").feature("p1").set("pname", new String[]{"freq"});
    model.sol("sol1").feature("s1").feature("p1").set("plistarr", new String[]{"200"});
    model.sol("sol1").feature("s1").feature("p1").set("punit", new String[]{"Hz"});
    model.sol("sol1").feature("s1").feature("p1").set("pcontinuationmode", "no");
    model.sol("sol1").feature("s1").feature("p1").set("preusesol", "auto");
    model.sol("sol1").feature("s1").feature("p1").set("pdistrib", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plot", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plotgroup", "pg1");
    model.sol("sol1").feature("s1").feature("p1").set("probesel", "all");
    model.sol("sol1").feature("s1").feature("p1").set("probes", new String[]{});
    model.sol("sol1").feature("s1").feature("p1").set("control", "freq");
    model.sol("sol1").feature("s1").set("linpmethod", "sol");
    model.sol("sol1").feature("s1").set("linpsol", "zero");
    model.sol("sol1").feature("s1").set("control", "freq");
    model.sol("sol1").feature("s1").feature("aDef").set("complexfun", true);
    model.sol("sol1").feature("s1").feature("aDef").set("cachepattern", false);
    model.sol("sol1").feature("s1").feature("aDef").set("matherr", true);
    model.sol("sol1").feature("s1").feature("aDef").set("blocksizeactive", false);
    model.sol("sol1").feature("s1").feature("aDef").set("nullfun", "auto");
    model.sol("sol1").feature("s1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("s1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("s1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();
    model.sol("sol1").study("std1");

    model.study("std1").feature("freq").set("notlistsolnum", 1);
    model.study("std1").feature("freq").set("notsolnum", "auto");
    model.study("std1").feature("freq").set("listsolnum", 1);
    model.study("std1").feature("freq").set("solnum", "auto");

    model.sol("sol1").feature().remove("s1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "freq");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "freq");
    model.sol("sol1").create("s1", "Stationary");
    model.sol("sol1").feature("s1").set("stol", 0.001);
    model.sol("sol1").feature("s1").create("p1", "Parametric");
    model.sol("sol1").feature("s1").feature().remove("pDef");
    model.sol("sol1").feature("s1").feature("p1").set("pname", new String[]{"freq"});
    model.sol("sol1").feature("s1").feature("p1").set("plistarr", new String[]{"200"});
    model.sol("sol1").feature("s1").feature("p1").set("punit", new String[]{"Hz"});
    model.sol("sol1").feature("s1").feature("p1").set("pcontinuationmode", "no");
    model.sol("sol1").feature("s1").feature("p1").set("preusesol", "auto");
    model.sol("sol1").feature("s1").feature("p1").set("pdistrib", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plot", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plotgroup", "pg1");
    model.sol("sol1").feature("s1").feature("p1").set("probesel", "all");
    model.sol("sol1").feature("s1").feature("p1").set("probes", new String[]{});
    model.sol("sol1").feature("s1").feature("p1").set("control", "freq");
    model.sol("sol1").feature("s1").set("linpmethod", "sol");
    model.sol("sol1").feature("s1").set("linpsol", "zero");
    model.sol("sol1").feature("s1").set("control", "freq");
    model.sol("sol1").feature("s1").feature("aDef").set("complexfun", true);
    model.sol("sol1").feature("s1").feature("aDef").set("cachepattern", false);
    model.sol("sol1").feature("s1").feature("aDef").set("matherr", true);
    model.sol("sol1").feature("s1").feature("aDef").set("blocksizeactive", false);
    model.sol("sol1").feature("s1").feature("aDef").set("nullfun", "auto");
    model.sol("sol1").feature("s1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("s1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("s1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.component("comp1").physics("acpr").feature("pr1").active(false);
    model.component("comp1").physics("acpr").create("mls1", "FrequencyMonopoleLineSource", 0);
    model.component("comp1").physics("acpr").feature("mls1").selection().set(10);
    model.component("comp1").physics("acpr").feature("mls1").set("Type", "Power");
    model.component("comp1").physics("acpr").feature("mls1").set("P_rms", ".1");

    model.sol("sol1").study("std1");

    model.study("std1").feature("freq").set("notlistsolnum", 1);
    model.study("std1").feature("freq").set("notsolnum", "auto");
    model.study("std1").feature("freq").set("listsolnum", 1);
    model.study("std1").feature("freq").set("solnum", "auto");

    model.sol("sol1").feature().remove("s1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "freq");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "freq");
    model.sol("sol1").create("s1", "Stationary");
    model.sol("sol1").feature("s1").set("stol", 0.001);
    model.sol("sol1").feature("s1").create("p1", "Parametric");
    model.sol("sol1").feature("s1").feature().remove("pDef");
    model.sol("sol1").feature("s1").feature("p1").set("pname", new String[]{"freq"});
    model.sol("sol1").feature("s1").feature("p1").set("plistarr", new String[]{"200"});
    model.sol("sol1").feature("s1").feature("p1").set("punit", new String[]{"Hz"});
    model.sol("sol1").feature("s1").feature("p1").set("pcontinuationmode", "no");
    model.sol("sol1").feature("s1").feature("p1").set("preusesol", "auto");
    model.sol("sol1").feature("s1").feature("p1").set("pdistrib", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plot", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plotgroup", "pg1");
    model.sol("sol1").feature("s1").feature("p1").set("probesel", "all");
    model.sol("sol1").feature("s1").feature("p1").set("probes", new String[]{});
    model.sol("sol1").feature("s1").feature("p1").set("control", "freq");
    model.sol("sol1").feature("s1").set("linpmethod", "sol");
    model.sol("sol1").feature("s1").set("linpsol", "zero");
    model.sol("sol1").feature("s1").set("control", "freq");
    model.sol("sol1").feature("s1").feature("aDef").set("complexfun", true);
    model.sol("sol1").feature("s1").feature("aDef").set("cachepattern", false);
    model.sol("sol1").feature("s1").feature("aDef").set("matherr", true);
    model.sol("sol1").feature("s1").feature("aDef").set("blocksizeactive", false);
    model.sol("sol1").feature("s1").feature("aDef").set("nullfun", "auto");
    model.sol("sol1").feature("s1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("s1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("s1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.component("comp1").material("mat2").selection().set(1, 2, 3, 4, 5, 6, 7, 8, 13, 14);

    model.sol("sol1").study("std1");

    model.study("std1").feature("freq").set("notlistsolnum", 1);
    model.study("std1").feature("freq").set("notsolnum", "auto");
    model.study("std1").feature("freq").set("listsolnum", 1);
    model.study("std1").feature("freq").set("solnum", "auto");

    model.sol("sol1").feature().remove("s1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "freq");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "freq");
    model.sol("sol1").create("s1", "Stationary");
    model.sol("sol1").feature("s1").set("stol", 0.001);
    model.sol("sol1").feature("s1").create("p1", "Parametric");
    model.sol("sol1").feature("s1").feature().remove("pDef");
    model.sol("sol1").feature("s1").feature("p1").set("pname", new String[]{"freq"});
    model.sol("sol1").feature("s1").feature("p1").set("plistarr", new String[]{"200"});
    model.sol("sol1").feature("s1").feature("p1").set("punit", new String[]{"Hz"});
    model.sol("sol1").feature("s1").feature("p1").set("pcontinuationmode", "no");
    model.sol("sol1").feature("s1").feature("p1").set("preusesol", "auto");
    model.sol("sol1").feature("s1").feature("p1").set("pdistrib", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plot", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plotgroup", "pg1");
    model.sol("sol1").feature("s1").feature("p1").set("probesel", "all");
    model.sol("sol1").feature("s1").feature("p1").set("probes", new String[]{});
    model.sol("sol1").feature("s1").feature("p1").set("control", "freq");
    model.sol("sol1").feature("s1").set("linpmethod", "sol");
    model.sol("sol1").feature("s1").set("linpsol", "zero");
    model.sol("sol1").feature("s1").set("control", "freq");
    model.sol("sol1").feature("s1").feature("aDef").set("complexfun", true);
    model.sol("sol1").feature("s1").feature("aDef").set("cachepattern", false);
    model.sol("sol1").feature("s1").feature("aDef").set("matherr", true);
    model.sol("sol1").feature("s1").feature("aDef").set("blocksizeactive", false);
    model.sol("sol1").feature("s1").feature("aDef").set("nullfun", "auto");
    model.sol("sol1").feature("s1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("s1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("s1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.component("comp1").physics("acpr").create("pmb1", "PerfectlyMatchedBoundary", 1);
    model.component("comp1").physics("acpr").feature("pmb1").selection().set(11, 12, 13, 24, 29, 32);

    model.component("comp1").coordSystem().remove("pml1");

    model.sol("sol1").study("std1");

    model.study("std1").feature("freq").set("notlistsolnum", 1);
    model.study("std1").feature("freq").set("notsolnum", "auto");
    model.study("std1").feature("freq").set("listsolnum", 1);
    model.study("std1").feature("freq").set("solnum", "auto");

    model.sol("sol1").feature().remove("s1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "freq");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "freq");
    model.sol("sol1").create("s1", "Stationary");
    model.sol("sol1").feature("s1").set("stol", 0.001);
    model.sol("sol1").feature("s1").create("p1", "Parametric");
    model.sol("sol1").feature("s1").feature().remove("pDef");
    model.sol("sol1").feature("s1").feature("p1").set("pname", new String[]{"freq"});
    model.sol("sol1").feature("s1").feature("p1").set("plistarr", new String[]{"200"});
    model.sol("sol1").feature("s1").feature("p1").set("punit", new String[]{"Hz"});
    model.sol("sol1").feature("s1").feature("p1").set("pcontinuationmode", "no");
    model.sol("sol1").feature("s1").feature("p1").set("preusesol", "auto");
    model.sol("sol1").feature("s1").feature("p1").set("pdistrib", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plot", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plotgroup", "pg1");
    model.sol("sol1").feature("s1").feature("p1").set("probesel", "all");
    model.sol("sol1").feature("s1").feature("p1").set("probes", new String[]{});
    model.sol("sol1").feature("s1").feature("p1").set("control", "freq");
    model.sol("sol1").feature("s1").set("linpmethod", "sol");
    model.sol("sol1").feature("s1").set("linpsol", "zero");
    model.sol("sol1").feature("s1").set("control", "freq");
    model.sol("sol1").feature("s1").feature("aDef").set("complexfun", true);
    model.sol("sol1").feature("s1").feature("aDef").set("cachepattern", false);
    model.sol("sol1").feature("s1").feature("aDef").set("matherr", true);
    model.sol("sol1").feature("s1").feature("aDef").set("blocksizeactive", false);
    model.sol("sol1").feature("s1").feature("aDef").set("nullfun", "auto");
    model.sol("sol1").feature("s1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("s1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("s1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();
    model.sol("sol1").study("std1");

    model.study("std1").feature("freq").set("notlistsolnum", 1);
    model.study("std1").feature("freq").set("notsolnum", "auto");
    model.study("std1").feature("freq").set("listsolnum", 1);
    model.study("std1").feature("freq").set("solnum", "auto");

    model.sol("sol1").feature().remove("s1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "freq");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "freq");
    model.sol("sol1").create("s1", "Stationary");
    model.sol("sol1").feature("s1").set("stol", 0.001);
    model.sol("sol1").feature("s1").create("p1", "Parametric");
    model.sol("sol1").feature("s1").feature().remove("pDef");
    model.sol("sol1").feature("s1").feature("p1").set("pname", new String[]{"freq"});
    model.sol("sol1").feature("s1").feature("p1").set("plistarr", new String[]{"200"});
    model.sol("sol1").feature("s1").feature("p1").set("punit", new String[]{"Hz"});
    model.sol("sol1").feature("s1").feature("p1").set("pcontinuationmode", "no");
    model.sol("sol1").feature("s1").feature("p1").set("preusesol", "auto");
    model.sol("sol1").feature("s1").feature("p1").set("pdistrib", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plot", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plotgroup", "pg1");
    model.sol("sol1").feature("s1").feature("p1").set("probesel", "all");
    model.sol("sol1").feature("s1").feature("p1").set("probes", new String[]{});
    model.sol("sol1").feature("s1").feature("p1").set("control", "freq");
    model.sol("sol1").feature("s1").set("linpmethod", "sol");
    model.sol("sol1").feature("s1").set("linpsol", "zero");
    model.sol("sol1").feature("s1").set("control", "freq");
    model.sol("sol1").feature("s1").feature("aDef").set("complexfun", true);
    model.sol("sol1").feature("s1").feature("aDef").set("cachepattern", false);
    model.sol("sol1").feature("s1").feature("aDef").set("matherr", true);
    model.sol("sol1").feature("s1").feature("aDef").set("blocksizeactive", false);
    model.sol("sol1").feature("s1").feature("aDef").set("nullfun", "auto");
    model.sol("sol1").feature("s1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("s1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("s1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.result("pg1").run();

    model.study("std1").feature("freq").set("plist", 2000);

    model.sol("sol1").study("std1");

    model.study("std1").feature("freq").set("notlistsolnum", 1);
    model.study("std1").feature("freq").set("notsolnum", "auto");
    model.study("std1").feature("freq").set("listsolnum", 1);
    model.study("std1").feature("freq").set("solnum", "auto");

    model.sol("sol1").feature().remove("s1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "freq");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "freq");
    model.sol("sol1").create("s1", "Stationary");
    model.sol("sol1").feature("s1").set("stol", 0.001);
    model.sol("sol1").feature("s1").create("p1", "Parametric");
    model.sol("sol1").feature("s1").feature().remove("pDef");
    model.sol("sol1").feature("s1").feature("p1").set("pname", new String[]{"freq"});
    model.sol("sol1").feature("s1").feature("p1").set("plistarr", new String[]{"2000"});
    model.sol("sol1").feature("s1").feature("p1").set("punit", new String[]{"Hz"});
    model.sol("sol1").feature("s1").feature("p1").set("pcontinuationmode", "no");
    model.sol("sol1").feature("s1").feature("p1").set("preusesol", "auto");
    model.sol("sol1").feature("s1").feature("p1").set("pdistrib", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plot", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plotgroup", "pg1");
    model.sol("sol1").feature("s1").feature("p1").set("probesel", "all");
    model.sol("sol1").feature("s1").feature("p1").set("probes", new String[]{});
    model.sol("sol1").feature("s1").feature("p1").set("control", "freq");
    model.sol("sol1").feature("s1").set("linpmethod", "sol");
    model.sol("sol1").feature("s1").set("linpsol", "zero");
    model.sol("sol1").feature("s1").set("control", "freq");
    model.sol("sol1").feature("s1").feature("aDef").set("complexfun", true);
    model.sol("sol1").feature("s1").feature("aDef").set("cachepattern", false);
    model.sol("sol1").feature("s1").feature("aDef").set("matherr", true);
    model.sol("sol1").feature("s1").feature("aDef").set("blocksizeactive", false);
    model.sol("sol1").feature("s1").feature("aDef").set("nullfun", "auto");
    model.sol("sol1").feature("s1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("s1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("s1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.result("pg1").run();

    model.component("comp1").material("mat2").active(false);

    model.sol("sol1").study("std1");

    model.study("std1").feature("freq").set("notlistsolnum", 1);
    model.study("std1").feature("freq").set("notsolnum", "auto");
    model.study("std1").feature("freq").set("listsolnum", 1);
    model.study("std1").feature("freq").set("solnum", "auto");

    model.sol("sol1").feature().remove("s1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "freq");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "freq");
    model.sol("sol1").create("s1", "Stationary");
    model.sol("sol1").feature("s1").set("stol", 0.001);
    model.sol("sol1").feature("s1").create("p1", "Parametric");
    model.sol("sol1").feature("s1").feature().remove("pDef");
    model.sol("sol1").feature("s1").feature("p1").set("pname", new String[]{"freq"});
    model.sol("sol1").feature("s1").feature("p1").set("plistarr", new String[]{"2000"});
    model.sol("sol1").feature("s1").feature("p1").set("punit", new String[]{"Hz"});
    model.sol("sol1").feature("s1").feature("p1").set("pcontinuationmode", "no");
    model.sol("sol1").feature("s1").feature("p1").set("preusesol", "auto");
    model.sol("sol1").feature("s1").feature("p1").set("pdistrib", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plot", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plotgroup", "pg1");
    model.sol("sol1").feature("s1").feature("p1").set("probesel", "all");
    model.sol("sol1").feature("s1").feature("p1").set("probes", new String[]{});
    model.sol("sol1").feature("s1").feature("p1").set("control", "freq");
    model.sol("sol1").feature("s1").set("linpmethod", "sol");
    model.sol("sol1").feature("s1").set("linpsol", "zero");
    model.sol("sol1").feature("s1").set("control", "freq");
    model.sol("sol1").feature("s1").feature("aDef").set("complexfun", true);
    model.sol("sol1").feature("s1").feature("aDef").set("cachepattern", false);
    model.sol("sol1").feature("s1").feature("aDef").set("matherr", true);
    model.sol("sol1").feature("s1").feature("aDef").set("blocksizeactive", false);
    model.sol("sol1").feature("s1").feature("aDef").set("nullfun", "auto");
    model.sol("sol1").feature("s1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("s1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("s1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.result("pg1").run();

    model.study("std1").feature("freq").set("plist", 200);

    model.sol("sol1").study("std1");

    model.study("std1").feature("freq").set("notlistsolnum", 1);
    model.study("std1").feature("freq").set("notsolnum", "auto");

    return model;
  }

  public static Model run4(Model model) {
    model.study("std1").feature("freq").set("listsolnum", 1);
    model.study("std1").feature("freq").set("solnum", "auto");

    model.sol("sol1").feature().remove("s1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "freq");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "freq");
    model.sol("sol1").create("s1", "Stationary");
    model.sol("sol1").feature("s1").set("stol", 0.001);
    model.sol("sol1").feature("s1").create("p1", "Parametric");
    model.sol("sol1").feature("s1").feature().remove("pDef");
    model.sol("sol1").feature("s1").feature("p1").set("pname", new String[]{"freq"});
    model.sol("sol1").feature("s1").feature("p1").set("plistarr", new String[]{"200"});
    model.sol("sol1").feature("s1").feature("p1").set("punit", new String[]{"Hz"});
    model.sol("sol1").feature("s1").feature("p1").set("pcontinuationmode", "no");
    model.sol("sol1").feature("s1").feature("p1").set("preusesol", "auto");
    model.sol("sol1").feature("s1").feature("p1").set("pdistrib", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plot", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plotgroup", "pg1");
    model.sol("sol1").feature("s1").feature("p1").set("probesel", "all");
    model.sol("sol1").feature("s1").feature("p1").set("probes", new String[]{});
    model.sol("sol1").feature("s1").feature("p1").set("control", "freq");
    model.sol("sol1").feature("s1").set("linpmethod", "sol");
    model.sol("sol1").feature("s1").set("linpsol", "zero");
    model.sol("sol1").feature("s1").set("control", "freq");
    model.sol("sol1").feature("s1").feature("aDef").set("complexfun", true);
    model.sol("sol1").feature("s1").feature("aDef").set("cachepattern", false);
    model.sol("sol1").feature("s1").feature("aDef").set("matherr", true);
    model.sol("sol1").feature("s1").feature("aDef").set("blocksizeactive", false);
    model.sol("sol1").feature("s1").feature("aDef").set("nullfun", "auto");
    model.sol("sol1").feature("s1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("s1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("s1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.result("pg1").run();

    model.component("comp1").physics("acpr").feature("mls1").active(false);
    model.component("comp1").physics("acpr").feature("pr1").active(true);

    model.sol("sol1").study("std1");

    model.study("std1").feature("freq").set("notlistsolnum", 1);
    model.study("std1").feature("freq").set("notsolnum", "auto");
    model.study("std1").feature("freq").set("listsolnum", 1);
    model.study("std1").feature("freq").set("solnum", "auto");

    model.sol("sol1").feature().remove("s1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "freq");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "freq");
    model.sol("sol1").create("s1", "Stationary");
    model.sol("sol1").feature("s1").set("stol", 0.001);
    model.sol("sol1").feature("s1").create("p1", "Parametric");
    model.sol("sol1").feature("s1").feature().remove("pDef");
    model.sol("sol1").feature("s1").feature("p1").set("pname", new String[]{"freq"});
    model.sol("sol1").feature("s1").feature("p1").set("plistarr", new String[]{"200"});
    model.sol("sol1").feature("s1").feature("p1").set("punit", new String[]{"Hz"});
    model.sol("sol1").feature("s1").feature("p1").set("pcontinuationmode", "no");
    model.sol("sol1").feature("s1").feature("p1").set("preusesol", "auto");
    model.sol("sol1").feature("s1").feature("p1").set("pdistrib", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plot", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plotgroup", "pg1");
    model.sol("sol1").feature("s1").feature("p1").set("probesel", "all");
    model.sol("sol1").feature("s1").feature("p1").set("probes", new String[]{});
    model.sol("sol1").feature("s1").feature("p1").set("control", "freq");
    model.sol("sol1").feature("s1").set("linpmethod", "sol");
    model.sol("sol1").feature("s1").set("linpsol", "zero");
    model.sol("sol1").feature("s1").set("control", "freq");
    model.sol("sol1").feature("s1").feature("aDef").set("complexfun", true);
    model.sol("sol1").feature("s1").feature("aDef").set("cachepattern", false);
    model.sol("sol1").feature("s1").feature("aDef").set("matherr", true);
    model.sol("sol1").feature("s1").feature("aDef").set("blocksizeactive", false);
    model.sol("sol1").feature("s1").feature("aDef").set("nullfun", "auto");
    model.sol("sol1").feature("s1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("s1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("s1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.result("pg1").run();
    model.result("pg2").run();

    model.component("comp1").material("mat2").active(true);

    model.sol("sol1").study("std1");

    model.study("std1").feature("freq").set("notlistsolnum", 1);
    model.study("std1").feature("freq").set("notsolnum", "auto");
    model.study("std1").feature("freq").set("listsolnum", 1);
    model.study("std1").feature("freq").set("solnum", "auto");

    model.sol("sol1").feature().remove("s1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "freq");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "freq");
    model.sol("sol1").create("s1", "Stationary");
    model.sol("sol1").feature("s1").set("stol", 0.001);
    model.sol("sol1").feature("s1").create("p1", "Parametric");
    model.sol("sol1").feature("s1").feature().remove("pDef");
    model.sol("sol1").feature("s1").feature("p1").set("pname", new String[]{"freq"});
    model.sol("sol1").feature("s1").feature("p1").set("plistarr", new String[]{"200"});
    model.sol("sol1").feature("s1").feature("p1").set("punit", new String[]{"Hz"});
    model.sol("sol1").feature("s1").feature("p1").set("pcontinuationmode", "no");
    model.sol("sol1").feature("s1").feature("p1").set("preusesol", "auto");
    model.sol("sol1").feature("s1").feature("p1").set("pdistrib", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plot", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plotgroup", "pg1");
    model.sol("sol1").feature("s1").feature("p1").set("probesel", "all");
    model.sol("sol1").feature("s1").feature("p1").set("probes", new String[]{});
    model.sol("sol1").feature("s1").feature("p1").set("control", "freq");
    model.sol("sol1").feature("s1").set("linpmethod", "sol");
    model.sol("sol1").feature("s1").set("linpsol", "zero");
    model.sol("sol1").feature("s1").set("control", "freq");
    model.sol("sol1").feature("s1").feature("aDef").set("complexfun", true);
    model.sol("sol1").feature("s1").feature("aDef").set("cachepattern", false);
    model.sol("sol1").feature("s1").feature("aDef").set("matherr", true);
    model.sol("sol1").feature("s1").feature("aDef").set("blocksizeactive", false);
    model.sol("sol1").feature("s1").feature("aDef").set("nullfun", "auto");
    model.sol("sol1").feature("s1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("s1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("s1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.result("pg2").run();

    model.study("std1").feature("freq").set("plist", 200);

    model.component("comp1").physics("acpr").feature("pr1").set("p0", "a");

    model.study("std1").feature("freq").set("plist", "f");

    model.param().set("a", "0.1[Pa]");

    model.component("comp1").physics("acpr").feature("pr1").label("Pressure Source");
    model.component("comp1").physics("acpr").feature().remove("mls1");

    model.sol("sol1").study("std1");

    model.study("std1").feature("freq").set("notlistsolnum", 1);
    model.study("std1").feature("freq").set("notsolnum", "auto");
    model.study("std1").feature("freq").set("listsolnum", 1);
    model.study("std1").feature("freq").set("solnum", "auto");

    model.sol("sol1").feature().remove("s1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "freq");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "freq");
    model.sol("sol1").create("s1", "Stationary");
    model.sol("sol1").feature("s1").set("stol", 0.001);
    model.sol("sol1").feature("s1").create("p1", "Parametric");
    model.sol("sol1").feature("s1").feature().remove("pDef");
    model.sol("sol1").feature("s1").feature("p1").set("pname", new String[]{"freq"});
    model.sol("sol1").feature("s1").feature("p1").set("plistarr", new String[]{"f"});
    model.sol("sol1").feature("s1").feature("p1").set("punit", new String[]{"Hz"});
    model.sol("sol1").feature("s1").feature("p1").set("pcontinuationmode", "no");
    model.sol("sol1").feature("s1").feature("p1").set("preusesol", "auto");
    model.sol("sol1").feature("s1").feature("p1").set("pdistrib", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plot", "off");
    model.sol("sol1").feature("s1").feature("p1").set("plotgroup", "pg1");
    model.sol("sol1").feature("s1").feature("p1").set("probesel", "all");
    model.sol("sol1").feature("s1").feature("p1").set("probes", new String[]{});
    model.sol("sol1").feature("s1").feature("p1").set("control", "freq");
    model.sol("sol1").feature("s1").set("linpmethod", "sol");
    model.sol("sol1").feature("s1").set("linpsol", "zero");
    model.sol("sol1").feature("s1").set("control", "freq");
    model.sol("sol1").feature("s1").feature("aDef").set("complexfun", true);
    model.sol("sol1").feature("s1").feature("aDef").set("cachepattern", false);
    model.sol("sol1").feature("s1").feature("aDef").set("matherr", true);
    model.sol("sol1").feature("s1").feature("aDef").set("blocksizeactive", false);
    model.sol("sol1").feature("s1").feature("aDef").set("nullfun", "auto");
    model.sol("sol1").feature("s1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("s1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("s1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.result("pg2").run();

    model.param().descr("a", "Amplitude of sound wave");

    model.label("ModelFromTroy_R1_May27YR24.mph");

    model.component("comp1").common().create("free1", "DeformingDomainDeformedGeometry");
    model.component("comp1").common().create("pres1", "PrescribedDeformationDeformedGeometry");
    model.component("comp1").common("pres1").selection().geom("geom1", 1);
    model.component("comp1").common("pres1").selection().set(35);
    model.component("comp1").common().create("free2", "DeformingDomainDeformedGeometry");
    model.component("comp1").common("free2").set("smoothingType", "laplace");
    model.component("comp1").common().create("fix1", "FixedBoundaryDeformedGeometry");
    model.component("comp1").common("fix1").selection().all();
    model.component("comp1").common("fix1").selection().set();
    model.component("comp1").common().remove("free1");

    model.component("comp1").physics().create("actd", "TransientPressureAcoustics", "geom1");

    model.study("std1").feature("freq").setSolveFor("/physics/actd", true);

    model.component("comp1").physics("actd").create("pr1", "Pressure", 1);
    model.component("comp1").physics("actd").feature("pr1").set("p0", "a");
    model.component("comp1").physics("actd").feature("pr1").selection().set(3, 4, 20, 21, 22, 23);

    model.component("comp1").coordSystem().create("pml1", "PML");
    model.component("comp1").coordSystem("pml1").selection().set(1, 2, 7, 11, 12, 14);

    model.component("comp1").physics("acpr").feature().remove("pmb1");
    model.component("comp1").physics("actd").selection().set(1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15);

    model.component("comp1").func().create("an1", "Analytic");
    model.component("comp1").func("an1").label("singleWave");
    model.component("comp1").func("an1").set("funcname", "singleWave");
    model.component("comp1").func("an1").set("expr", "sin(w*pi*f*t)");
    model.component("comp1").func("an1").set("args", "t");
    model.component("comp1").func("an1").set("fununit", "m");
    model.component("comp1").func("an1").set("expr", "sin(w*pi*f*t)");

    model.component("comp1").physics("actd").feature("pr1").set("p0", "a");

    model.component("comp1").common().create("pres2", "PrescribedDeformationDeformedGeometry");
    model.component("comp1").common("pres2").set("prescribedDeformation", new String[]{"0", "singleWave(t)", "0"});
    model.component("comp1").common("pres2").selection().geom("geom1", 1);
    model.component("comp1").common("pres2").selection().set(35);

    model.component("comp1").coordSystem("pml1").set("ScalingType", "Cylindrical");
    model.component("comp1").coordSystem("pml1").set("PMLgamma", "3");

    model.component("comp1").func().create("rm3", "Ramp");
    model.component("comp1").func("rm3").label("time");
    model.component("comp1").func("rm3").set("funcname", "t");
    model.component("comp1").func("an1").set("expr", "sin(2*pi*f*t)");
    model.component("comp1").func().remove("rm3");

    model.component("comp1").physics().remove("acpr");

    model.study().remove("std1");
    model.study().create("std1");
    model.study("std1").create("time", "Transient");
    model.study("std1").feature("time").setSolveFor("/physics/actd", true);
    model.study("std1").feature("time").set("tlist", "range(0,1/f,1/f*20)");

    model.component("comp1").common().remove("fix1");
    model.component("comp1").common().remove("free2");
    model.component("comp1").common("pres1").set("prescribedDeformation", new String[]{"0", "singleWave(t)", "0"});
    model.component("comp1").common().remove("pres2");

    model.component("comp1").func("an1").set("expr", "sin(2*pi*f*t)");

    model.component("comp1").common("pres1").set("prescribedDeformation", new String[]{"0", "singleWave(t)", "0"});

    model.component("comp1").func("an1").setIndex("argunit", "s", 0);

    model.component("comp1").mesh("mesh1").run("size1");
    model.component("comp1").mesh("mesh1").automatic(true);
    model.component("comp1").mesh("mesh1").run();

    model.sol().create("sol1");
    model.sol("sol1").study("std1");

    model.study("std1").feature("time").set("notlistsolnum", 1);
    model.study("std1").feature("time").set("notsolnum", "auto");
    model.study("std1").feature("time").set("listsolnum", 1);
    model.study("std1").feature("time").set("solnum", "auto");

    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "time");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "time");
    model.sol("sol1").create("t1", "Time");
    model.sol("sol1").feature("t1").set("tlist", "range(0,1/f,1/f*20)");
    model.sol("sol1").feature("t1").set("plot", "off");
    model.sol("sol1").feature("t1").set("plotgroup", "Default");
    model.sol("sol1").feature("t1").set("plotfreq", "tout");
    model.sol("sol1").feature("t1").set("probesel", "all");
    model.sol("sol1").feature("t1").set("probes", new String[]{});
    model.sol("sol1").feature("t1").set("probefreq", "tsteps");
    model.sol("sol1").feature("t1").set("rtol", 1.0E-4);
    model.sol("sol1").feature("t1").set("atolglobalvaluemethod", "factor");
    model.sol("sol1").feature("t1").set("reacf", true);
    model.sol("sol1").feature("t1").set("storeudot", true);
    model.sol("sol1").feature("t1").set("tstepsgenalpha", "manual");
    model.sol("sol1").feature("t1").set("timestepgenalpha", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("timestepbdf", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("endtimeinterpolation", true);
    model.sol("sol1").feature("t1").set("timemethod", "genalpha");
    model.sol("sol1").feature("t1").set("maxorder", 2);
    model.sol("sol1").feature("t1").set("initialstepbdfactive", true);
    model.sol("sol1").feature("t1").set("initialstepbdf", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintbdf", "const");
    model.sol("sol1").feature("t1").set("maxstepbdf", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("initialstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("initialstepgenalpha", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintgenalpha", "const");
    model.sol("sol1").feature("t1").set("maxstepgenalpha", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("control", "time");
    model.sol("sol1").feature("t1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("t1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("t1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");

    model.result().create("pg1", "PlotGroup2D");
    model.result("pg1").set("data", "dset1");
    model.result("pg1").create("surf1", "Surface");
    model.result("pg1").feature("surf1").set("expr", new String[]{"actd.p_t"});
    model.result("pg1").feature("surf1").set("colortable", "Wave");
    model.result("pg1").feature("surf1").set("colorscalemode", "linearsymmetric");
    model.result("pg1").set("showlegendsunit", true);
    model.result("pg1").label("Acoustic Pressure (actd)");

    model.sol("sol1").runAll();

    model.result("pg1").run();
    model.result("pg1").feature("surf1").set("data", "dset1");
    model.result("pg1").feature("surf1").setIndex("looplevel", 1, 0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").setIndex("looplevel", 1, 0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result().create("pg2", "PlotGroup2D");
    model.result("pg2").label("Deformation");
    model.result("pg2").create("surf1", "Surface");
    model.result("pg1").create("surf2", "Surface");
    model.result("pg1").feature("surf2").set("expr", "20*log10(actd.p_t/2e-5)");
    model.result("pg1").run();
    model.result("pg1").feature("surf2").set("data", "dset1");
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();

    model.study("std1").feature("time").set("tlist", "range(0,1/f,1/f*200)");

    model.sol("sol1").study("std1");

    model.study("std1").feature("time").set("notlistsolnum", 1);
    model.study("std1").feature("time").set("notsolnum", "auto");
    model.study("std1").feature("time").set("listsolnum", 1);
    model.study("std1").feature("time").set("solnum", "auto");

    model.sol("sol1").feature().remove("t1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "time");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "time");
    model.sol("sol1").create("t1", "Time");
    model.sol("sol1").feature("t1").set("tlist", "range(0,1/f,1/f*200)");
    model.sol("sol1").feature("t1").set("plot", "off");
    model.sol("sol1").feature("t1").set("plotgroup", "pg1");
    model.sol("sol1").feature("t1").set("plotfreq", "tout");
    model.sol("sol1").feature("t1").set("probesel", "all");
    model.sol("sol1").feature("t1").set("probes", new String[]{});
    model.sol("sol1").feature("t1").set("probefreq", "tsteps");
    model.sol("sol1").feature("t1").set("rtol", 1.0E-4);
    model.sol("sol1").feature("t1").set("atolglobalvaluemethod", "factor");
    model.sol("sol1").feature("t1").set("reacf", true);
    model.sol("sol1").feature("t1").set("storeudot", true);
    model.sol("sol1").feature("t1").set("tstepsgenalpha", "manual");
    model.sol("sol1").feature("t1").set("timestepgenalpha", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("timestepbdf", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("endtimeinterpolation", true);
    model.sol("sol1").feature("t1").set("timemethod", "genalpha");
    model.sol("sol1").feature("t1").set("maxorder", 2);
    model.sol("sol1").feature("t1").set("initialstepbdfactive", true);
    model.sol("sol1").feature("t1").set("initialstepbdf", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintbdf", "const");
    model.sol("sol1").feature("t1").set("maxstepbdf", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("initialstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("initialstepgenalpha", "(1.0E-5)[s]");

    return model;
  }

  public static Model run5(Model model) {
    model.sol("sol1").feature("t1").set("maxstepconstraintgenalpha", "const");
    model.sol("sol1").feature("t1").set("maxstepgenalpha", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("control", "time");
    model.sol("sol1").feature("t1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("t1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("t1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.result("pg1").feature("surf2").setIndex("looplevel", 1, 0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").setIndex("looplevel", 129, 0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").setIndex("looplevel", 174, 0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").setIndex("looplevel", 200, 0);
    model.result("pg1").run();

    model.component("comp1").func("an1").set("expr", "sin(2*pi*20*t)");

    model.component("comp1").common("pres1").set("prescribedDeformation", new String[]{"0", "5*singleWave(t)", "0"});

    model.sol("sol1").study("std1");

    model.study("std1").feature("time").set("notlistsolnum", 1);
    model.study("std1").feature("time").set("notsolnum", "auto");
    model.study("std1").feature("time").set("listsolnum", 1);
    model.study("std1").feature("time").set("solnum", "auto");

    model.sol("sol1").feature().remove("t1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "time");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "time");
    model.sol("sol1").create("t1", "Time");
    model.sol("sol1").feature("t1").set("tlist", "range(0,1/f,1/f*200)");
    model.sol("sol1").feature("t1").set("plot", "off");
    model.sol("sol1").feature("t1").set("plotgroup", "pg1");
    model.sol("sol1").feature("t1").set("plotfreq", "tout");
    model.sol("sol1").feature("t1").set("probesel", "all");
    model.sol("sol1").feature("t1").set("probes", new String[]{});
    model.sol("sol1").feature("t1").set("probefreq", "tsteps");
    model.sol("sol1").feature("t1").set("rtol", 1.0E-4);
    model.sol("sol1").feature("t1").set("atolglobalvaluemethod", "factor");
    model.sol("sol1").feature("t1").set("reacf", true);
    model.sol("sol1").feature("t1").set("storeudot", true);
    model.sol("sol1").feature("t1").set("tstepsgenalpha", "manual");
    model.sol("sol1").feature("t1").set("timestepgenalpha", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("timestepbdf", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("endtimeinterpolation", true);
    model.sol("sol1").feature("t1").set("timemethod", "genalpha");
    model.sol("sol1").feature("t1").set("maxorder", 2);
    model.sol("sol1").feature("t1").set("initialstepbdfactive", true);
    model.sol("sol1").feature("t1").set("initialstepbdf", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintbdf", "const");
    model.sol("sol1").feature("t1").set("maxstepbdf", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("initialstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("initialstepgenalpha", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintgenalpha", "const");
    model.sol("sol1").feature("t1").set("maxstepgenalpha", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("control", "time");
    model.sol("sol1").feature("t1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("t1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("t1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.result("pg1").run();
    model.result("pg1").feature("surf2").setIndex("looplevel", 1, 0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf2").stepNext(0);
    model.result("pg1").run();
    model.result().export().create("plot1", "Plot");
    model.result().export("plot1").set("plot", "surf2");
    model.result().export().remove("plot1");
    model.result().export().create("anim1", "Animation");
    model.result().export("anim1").set("target", "player");
    model.result().export("anim1").set("fontsize", "9");
    model.result().export("anim1").set("colortheme", "globaltheme");
    model.result().export("anim1").set("customcolor", new double[]{1, 1, 1});
    model.result().export("anim1").set("background", "color");
    model.result().export("anim1").set("gltfincludelines", "on");
    model.result().export("anim1").set("title1d", "on");
    model.result().export("anim1").set("legend1d", "on");
    model.result().export("anim1").set("logo1d", "on");
    model.result().export("anim1").set("options1d", "on");
    model.result().export("anim1").set("title2d", "on");
    model.result().export("anim1").set("legend2d", "on");
    model.result().export("anim1").set("logo2d", "on");
    model.result().export("anim1").set("options2d", "off");
    model.result().export("anim1").set("title3d", "on");
    model.result().export("anim1").set("legend3d", "on");
    model.result().export("anim1").set("logo3d", "on");
    model.result().export("anim1").set("options3d", "off");
    model.result().export("anim1").set("axisorientation", "on");
    model.result().export("anim1").set("grid", "on");
    model.result().export("anim1").set("axes1d", "on");
    model.result().export("anim1").set("axes2d", "on");
    model.result().export("anim1").set("showgrid", "on");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 25);
    model.result().export("anim1").set("plotgroup", "pg2");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 6);

    model.study("std1").feature("time").set("tlist", "range(0,1/f,1/f*20)");

    model.component("comp1").common("pres1")
         .set("prescribedDeformation", new String[]{"0", "0.5*singleWave(t)", "0"});

    model.sol("sol1").study("std1");

    model.study("std1").feature("time").set("notlistsolnum", 1);
    model.study("std1").feature("time").set("notsolnum", "auto");
    model.study("std1").feature("time").set("listsolnum", 1);
    model.study("std1").feature("time").set("solnum", "auto");

    model.sol("sol1").feature().remove("t1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "time");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "time");
    model.sol("sol1").create("t1", "Time");
    model.sol("sol1").feature("t1").set("tlist", "range(0,1/f,1/f*20)");
    model.sol("sol1").feature("t1").set("plot", "off");
    model.sol("sol1").feature("t1").set("plotgroup", "pg1");
    model.sol("sol1").feature("t1").set("plotfreq", "tout");
    model.sol("sol1").feature("t1").set("probesel", "all");
    model.sol("sol1").feature("t1").set("probes", new String[]{});
    model.sol("sol1").feature("t1").set("probefreq", "tsteps");
    model.sol("sol1").feature("t1").set("rtol", 1.0E-4);
    model.sol("sol1").feature("t1").set("atolglobalvaluemethod", "factor");
    model.sol("sol1").feature("t1").set("reacf", true);
    model.sol("sol1").feature("t1").set("storeudot", true);
    model.sol("sol1").feature("t1").set("tstepsgenalpha", "manual");
    model.sol("sol1").feature("t1").set("timestepgenalpha", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("timestepbdf", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("endtimeinterpolation", true);
    model.sol("sol1").feature("t1").set("timemethod", "genalpha");
    model.sol("sol1").feature("t1").set("maxorder", 2);
    model.sol("sol1").feature("t1").set("initialstepbdfactive", true);
    model.sol("sol1").feature("t1").set("initialstepbdf", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintbdf", "const");
    model.sol("sol1").feature("t1").set("maxstepbdf", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("initialstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("initialstepgenalpha", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintgenalpha", "const");
    model.sol("sol1").feature("t1").set("maxstepgenalpha", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("control", "time");
    model.sol("sol1").feature("t1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("t1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("t1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 1);
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("plotgroup", "pg1");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 1);
    model.result().duplicate("pg3", "pg1");
    model.result("pg3").label("Acoustic Pressure (actd) dB");
    model.result("pg1").feature().remove("surf2");
    model.result("pg3").feature().remove("surf1");
    model.result("pg3").feature("surf2").label("Surface 1");
    model.result("pg3").run();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("plotgroup", "pg3");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 1);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").setIndex("looplevel", 1, 0);
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("framesel", "all");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 19);
    model.result("pg3").run();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("plotgroup", "pg1");
    model.result().remove("pg2");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("plotgroup", "pg3");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 1);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").setIndex("looplevel", 1, 0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("repeat", "forever");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 1);
    model.result().export("anim1").set("sweeptype", "solutions");
    model.result().export("anim1").set("framesel", "all");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 21);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("plotgroup", "pg1");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 2);

    model.study("std1").feature("time").set("tlist", "range(0,1/f*10,1/f*10*20)");

    model.sol("sol1").study("std1");

    model.study("std1").feature("time").set("notlistsolnum", 1);
    model.study("std1").feature("time").set("notsolnum", "auto");
    model.study("std1").feature("time").set("listsolnum", 1);
    model.study("std1").feature("time").set("solnum", "auto");

    model.sol("sol1").feature().remove("t1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "time");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "time");
    model.sol("sol1").create("t1", "Time");
    model.sol("sol1").feature("t1").set("tlist", "range(0,1/f*10,1/f*10*20)");
    model.sol("sol1").feature("t1").set("plot", "off");
    model.sol("sol1").feature("t1").set("plotgroup", "pg1");
    model.sol("sol1").feature("t1").set("plotfreq", "tout");
    model.sol("sol1").feature("t1").set("probesel", "all");
    model.sol("sol1").feature("t1").set("probes", new String[]{});
    model.sol("sol1").feature("t1").set("probefreq", "tsteps");
    model.sol("sol1").feature("t1").set("rtol", 1.0E-4);
    model.sol("sol1").feature("t1").set("atolglobalvaluemethod", "factor");
    model.sol("sol1").feature("t1").set("reacf", true);
    model.sol("sol1").feature("t1").set("storeudot", true);
    model.sol("sol1").feature("t1").set("tstepsgenalpha", "manual");
    model.sol("sol1").feature("t1").set("timestepgenalpha", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("timestepbdf", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("endtimeinterpolation", true);
    model.sol("sol1").feature("t1").set("timemethod", "genalpha");
    model.sol("sol1").feature("t1").set("maxorder", 2);
    model.sol("sol1").feature("t1").set("initialstepbdfactive", true);
    model.sol("sol1").feature("t1").set("initialstepbdf", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintbdf", "const");
    model.sol("sol1").feature("t1").set("maxstepbdf", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("initialstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("initialstepgenalpha", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintgenalpha", "const");
    model.sol("sol1").feature("t1").set("maxstepgenalpha", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("control", "time");
    model.sol("sol1").feature("t1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("t1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("t1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 13);
    model.result().export("anim1").set("plotgroup", "pg3");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 21);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").setIndex("looplevel", 1, 0);
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();

    model.study("std1").feature("time").set("tlist", "range(0,1/f/10,1/f*2)");

    model.sol("sol1").study("std1");

    model.study("std1").feature("time").set("notlistsolnum", 1);
    model.study("std1").feature("time").set("notsolnum", "auto");
    model.study("std1").feature("time").set("listsolnum", 1);
    model.study("std1").feature("time").set("solnum", "auto");

    model.sol("sol1").feature().remove("t1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "time");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "time");
    model.sol("sol1").create("t1", "Time");
    model.sol("sol1").feature("t1").set("tlist", "range(0,1/f/10,1/f*2)");
    model.sol("sol1").feature("t1").set("plot", "off");
    model.sol("sol1").feature("t1").set("plotgroup", "pg1");
    model.sol("sol1").feature("t1").set("plotfreq", "tout");
    model.sol("sol1").feature("t1").set("probesel", "all");
    model.sol("sol1").feature("t1").set("probes", new String[]{});
    model.sol("sol1").feature("t1").set("probefreq", "tsteps");
    model.sol("sol1").feature("t1").set("rtol", 1.0E-4);
    model.sol("sol1").feature("t1").set("atolglobalvaluemethod", "factor");
    model.sol("sol1").feature("t1").set("reacf", true);
    model.sol("sol1").feature("t1").set("storeudot", true);
    model.sol("sol1").feature("t1").set("tstepsgenalpha", "manual");
    model.sol("sol1").feature("t1").set("timestepgenalpha", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("timestepbdf", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("endtimeinterpolation", true);
    model.sol("sol1").feature("t1").set("timemethod", "genalpha");
    model.sol("sol1").feature("t1").set("maxorder", 2);
    model.sol("sol1").feature("t1").set("initialstepbdfactive", true);
    model.sol("sol1").feature("t1").set("initialstepbdf", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintbdf", "const");
    model.sol("sol1").feature("t1").set("maxstepbdf", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("initialstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("initialstepgenalpha", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintgenalpha", "const");
    model.sol("sol1").feature("t1").set("maxstepgenalpha", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("control", "time");
    model.sol("sol1").feature("t1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("t1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("t1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.result("pg3").run();
    model.result("pg3").feature("surf2").setIndex("looplevel", 1, 0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();

    return model;
  }

  public static Model run6(Model model) {
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepPrevious(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepPrevious(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepPrevious(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepPrevious(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepPrevious(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepPrevious(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepPrevious(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepPrevious(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepPrevious(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepPrevious(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepPrevious(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepPrevious(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepPrevious(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepPrevious(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepPrevious(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepPrevious(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepPrevious(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepPrevious(0);
    model.result("pg3").run();
    model.result("pg1").run();
    model.result("pg1").feature("surf1").setIndex("looplevel", 1, 0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();

    model.component("comp1").func("an1").set("expr", "sin(2*pi*400*t)");

    model.study("std1").feature("time").set("tlist", "range(0,1/f/10,1/f*3)");

    model.sol("sol1").study("std1");

    model.study("std1").feature("time").set("notlistsolnum", 1);
    model.study("std1").feature("time").set("notsolnum", "auto");
    model.study("std1").feature("time").set("listsolnum", 1);
    model.study("std1").feature("time").set("solnum", "auto");

    model.sol("sol1").feature().remove("t1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "time");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "time");
    model.sol("sol1").create("t1", "Time");
    model.sol("sol1").feature("t1").set("tlist", "range(0,1/f/10,1/f*3)");
    model.sol("sol1").feature("t1").set("plot", "off");
    model.sol("sol1").feature("t1").set("plotgroup", "pg1");
    model.sol("sol1").feature("t1").set("plotfreq", "tout");
    model.sol("sol1").feature("t1").set("probesel", "all");
    model.sol("sol1").feature("t1").set("probes", new String[]{});
    model.sol("sol1").feature("t1").set("probefreq", "tsteps");
    model.sol("sol1").feature("t1").set("rtol", 1.0E-4);
    model.sol("sol1").feature("t1").set("atolglobalvaluemethod", "factor");
    model.sol("sol1").feature("t1").set("reacf", true);
    model.sol("sol1").feature("t1").set("storeudot", true);
    model.sol("sol1").feature("t1").set("tstepsgenalpha", "manual");
    model.sol("sol1").feature("t1").set("timestepgenalpha", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("timestepbdf", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("endtimeinterpolation", true);
    model.sol("sol1").feature("t1").set("timemethod", "genalpha");
    model.sol("sol1").feature("t1").set("maxorder", 2);
    model.sol("sol1").feature("t1").set("initialstepbdfactive", true);
    model.sol("sol1").feature("t1").set("initialstepbdf", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintbdf", "const");
    model.sol("sol1").feature("t1").set("maxstepbdf", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("initialstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("initialstepgenalpha", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintgenalpha", "const");
    model.sol("sol1").feature("t1").set("maxstepgenalpha", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("control", "time");
    model.sol("sol1").feature("t1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("t1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("t1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 31);
    model.result().export("anim1").set("showframe", 8);
    model.result().export("anim1").set("plotgroup", "pg1");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 1);

    model.study("std1").feature("time").set("tlist", "range(0,1/f/20,1/f*3)");

    model.sol("sol1").study("std1");

    model.study("std1").feature("time").set("notlistsolnum", 1);
    model.study("std1").feature("time").set("notsolnum", "auto");
    model.study("std1").feature("time").set("listsolnum", 1);
    model.study("std1").feature("time").set("solnum", "auto");

    model.sol("sol1").feature().remove("t1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "time");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "time");
    model.sol("sol1").create("t1", "Time");
    model.sol("sol1").feature("t1").set("tlist", "range(0,1/f/20,1/f*3)");
    model.sol("sol1").feature("t1").set("plot", "off");
    model.sol("sol1").feature("t1").set("plotgroup", "pg1");
    model.sol("sol1").feature("t1").set("plotfreq", "tout");
    model.sol("sol1").feature("t1").set("probesel", "all");
    model.sol("sol1").feature("t1").set("probes", new String[]{});
    model.sol("sol1").feature("t1").set("probefreq", "tsteps");
    model.sol("sol1").feature("t1").set("rtol", 1.0E-4);
    model.sol("sol1").feature("t1").set("atolglobalvaluemethod", "factor");
    model.sol("sol1").feature("t1").set("reacf", true);
    model.sol("sol1").feature("t1").set("storeudot", true);
    model.sol("sol1").feature("t1").set("tstepsgenalpha", "manual");
    model.sol("sol1").feature("t1").set("timestepgenalpha", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("timestepbdf", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("endtimeinterpolation", true);
    model.sol("sol1").feature("t1").set("timemethod", "genalpha");
    model.sol("sol1").feature("t1").set("maxorder", 2);
    model.sol("sol1").feature("t1").set("initialstepbdfactive", true);
    model.sol("sol1").feature("t1").set("initialstepbdf", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintbdf", "const");
    model.sol("sol1").feature("t1").set("maxstepbdf", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("initialstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("initialstepgenalpha", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintgenalpha", "const");
    model.sol("sol1").feature("t1").set("maxstepgenalpha", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("control", "time");
    model.sol("sol1").feature("t1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("t1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("t1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 61);
    model.result().export("anim1").set("showframe", 1);

    model.study("std1").feature("time").set("tlist", "range(0,1/f/50,1/f*3)");

    model.sol("sol1").study("std1");

    model.study("std1").feature("time").set("notlistsolnum", 1);
    model.study("std1").feature("time").set("notsolnum", "auto");
    model.study("std1").feature("time").set("listsolnum", 1);
    model.study("std1").feature("time").set("solnum", "auto");

    model.sol("sol1").feature().remove("t1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "time");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "time");
    model.sol("sol1").create("t1", "Time");
    model.sol("sol1").feature("t1").set("tlist", "range(0,1/f/50,1/f*3)");
    model.sol("sol1").feature("t1").set("plot", "off");
    model.sol("sol1").feature("t1").set("plotgroup", "pg1");
    model.sol("sol1").feature("t1").set("plotfreq", "tout");
    model.sol("sol1").feature("t1").set("probesel", "all");
    model.sol("sol1").feature("t1").set("probes", new String[]{});
    model.sol("sol1").feature("t1").set("probefreq", "tsteps");
    model.sol("sol1").feature("t1").set("rtol", 1.0E-4);
    model.sol("sol1").feature("t1").set("atolglobalvaluemethod", "factor");
    model.sol("sol1").feature("t1").set("reacf", true);
    model.sol("sol1").feature("t1").set("storeudot", true);
    model.sol("sol1").feature("t1").set("tstepsgenalpha", "manual");
    model.sol("sol1").feature("t1").set("timestepgenalpha", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("timestepbdf", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("endtimeinterpolation", true);
    model.sol("sol1").feature("t1").set("timemethod", "genalpha");
    model.sol("sol1").feature("t1").set("maxorder", 2);
    model.sol("sol1").feature("t1").set("initialstepbdfactive", true);
    model.sol("sol1").feature("t1").set("initialstepbdf", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintbdf", "const");
    model.sol("sol1").feature("t1").set("maxstepbdf", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("initialstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("initialstepgenalpha", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintgenalpha", "const");
    model.sol("sol1").feature("t1").set("maxstepgenalpha", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("control", "time");
    model.sol("sol1").feature("t1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("t1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("t1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.result("pg1").run();
    model.result("pg1").feature("surf1").setIndex("looplevel", 1, 0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 151);
    model.result().export("anim1").set("showframe", 11);
    model.result().export("anim1").set("solnumtype", "inner");
    model.result().export("anim1").set("showframe", 11);
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 16);

    model.component("comp1").common("pres1").selection().set(33, 34, 35, 36, 37);

    model.sol("sol1").study("std1");

    model.study("std1").feature("time").set("notlistsolnum", 1);
    model.study("std1").feature("time").set("notsolnum", "auto");
    model.study("std1").feature("time").set("listsolnum", 1);
    model.study("std1").feature("time").set("solnum", "auto");

    model.sol("sol1").feature().remove("t1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "time");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "time");
    model.sol("sol1").create("t1", "Time");
    model.sol("sol1").feature("t1").set("tlist", "range(0,1/f/50,1/f*3)");
    model.sol("sol1").feature("t1").set("plot", "off");
    model.sol("sol1").feature("t1").set("plotgroup", "pg1");
    model.sol("sol1").feature("t1").set("plotfreq", "tout");
    model.sol("sol1").feature("t1").set("probesel", "all");
    model.sol("sol1").feature("t1").set("probes", new String[]{});
    model.sol("sol1").feature("t1").set("probefreq", "tsteps");
    model.sol("sol1").feature("t1").set("rtol", 1.0E-4);
    model.sol("sol1").feature("t1").set("atolglobalvaluemethod", "factor");
    model.sol("sol1").feature("t1").set("reacf", true);
    model.sol("sol1").feature("t1").set("storeudot", true);
    model.sol("sol1").feature("t1").set("tstepsgenalpha", "manual");
    model.sol("sol1").feature("t1").set("timestepgenalpha", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("timestepbdf", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("endtimeinterpolation", true);
    model.sol("sol1").feature("t1").set("timemethod", "genalpha");
    model.sol("sol1").feature("t1").set("maxorder", 2);
    model.sol("sol1").feature("t1").set("initialstepbdfactive", true);
    model.sol("sol1").feature("t1").set("initialstepbdf", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintbdf", "const");
    model.sol("sol1").feature("t1").set("maxstepbdf", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("initialstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("initialstepgenalpha", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintgenalpha", "const");
    model.sol("sol1").feature("t1").set("maxstepgenalpha", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("control", "time");
    model.sol("sol1").feature("t1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("t1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("t1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 1);

    model.component("comp1").physics("actd").prop("TransientSettings").set("TimeStepping", "Manual");
    model.component("comp1").physics("actd").selection().set(1, 2, 3, 4, 5, 7, 8, 13, 14);

    model.sol("sol1").study("std1");

    model.study("std1").feature("time").set("notlistsolnum", 1);
    model.study("std1").feature("time").set("notsolnum", "auto");
    model.study("std1").feature("time").set("listsolnum", 1);
    model.study("std1").feature("time").set("solnum", "auto");

    model.sol("sol1").feature().remove("t1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "time");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "time");
    model.sol("sol1").create("t1", "Time");
    model.sol("sol1").feature("t1").set("tlist", "range(0,1/f/50,1/f*3)");
    model.sol("sol1").feature("t1").set("plot", "off");
    model.sol("sol1").feature("t1").set("plotgroup", "pg1");
    model.sol("sol1").feature("t1").set("plotfreq", "tout");
    model.sol("sol1").feature("t1").set("probesel", "all");
    model.sol("sol1").feature("t1").set("probes", new String[]{});
    model.sol("sol1").feature("t1").set("probefreq", "tsteps");
    model.sol("sol1").feature("t1").set("rtol", 1.0E-4);
    model.sol("sol1").feature("t1").set("atolglobalvaluemethod", "factor");
    model.sol("sol1").feature("t1").set("reacf", true);
    model.sol("sol1").feature("t1").set("storeudot", true);
    model.sol("sol1").feature("t1").set("tstepsgenalpha", "manual");
    model.sol("sol1").feature("t1").set("timestepgenalpha", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("timestepbdf", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("endtimeinterpolation", true);
    model.sol("sol1").feature("t1").set("timemethod", "genalpha");
    model.sol("sol1").feature("t1").set("maxorder", 2);
    model.sol("sol1").feature("t1").set("initialstepbdfactive", true);

    return model;
  }

  public static Model run7(Model model) {
    model.sol("sol1").feature("t1").set("initialstepbdf", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintbdf", "const");
    model.sol("sol1").feature("t1").set("maxstepbdf", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("initialstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("initialstepgenalpha", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintgenalpha", "const");
    model.sol("sol1").feature("t1").set("maxstepgenalpha", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("control", "time");
    model.sol("sol1").feature("t1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("t1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("t1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 21);

    model.component("comp1").common("pres1").set("prescribedDeformation", new String[]{"0", ".1", "0"});

    model.component("comp1").mesh("mesh1").run();

    model.sol("sol1").study("std1");

    model.study("std1").feature("time").set("notlistsolnum", 1);
    model.study("std1").feature("time").set("notsolnum", "auto");
    model.study("std1").feature("time").set("listsolnum", 1);
    model.study("std1").feature("time").set("solnum", "auto");

    model.sol("sol1").feature().remove("t1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "time");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "time");
    model.sol("sol1").create("t1", "Time");
    model.sol("sol1").feature("t1").set("tlist", "range(0,1/f/50,1/f*3)");
    model.sol("sol1").feature("t1").set("plot", "off");
    model.sol("sol1").feature("t1").set("plotgroup", "pg1");
    model.sol("sol1").feature("t1").set("plotfreq", "tout");
    model.sol("sol1").feature("t1").set("probesel", "all");
    model.sol("sol1").feature("t1").set("probes", new String[]{});
    model.sol("sol1").feature("t1").set("probefreq", "tsteps");
    model.sol("sol1").feature("t1").set("rtol", 1.0E-4);
    model.sol("sol1").feature("t1").set("atolglobalvaluemethod", "factor");
    model.sol("sol1").feature("t1").set("reacf", true);
    model.sol("sol1").feature("t1").set("storeudot", true);
    model.sol("sol1").feature("t1").set("tstepsgenalpha", "manual");
    model.sol("sol1").feature("t1").set("timestepgenalpha", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("timestepbdf", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("endtimeinterpolation", true);
    model.sol("sol1").feature("t1").set("timemethod", "genalpha");
    model.sol("sol1").feature("t1").set("maxorder", 2);
    model.sol("sol1").feature("t1").set("initialstepbdfactive", true);
    model.sol("sol1").feature("t1").set("initialstepbdf", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintbdf", "const");
    model.sol("sol1").feature("t1").set("maxstepbdf", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("initialstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("initialstepgenalpha", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintgenalpha", "const");
    model.sol("sol1").feature("t1").set("maxstepgenalpha", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("control", "time");
    model.sol("sol1").feature("t1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("t1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("t1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 18);

    model.component("comp1").common("pres1").set("prescribedDeformation", new String[]{"0", "-.5", "0"});

    model.sol("sol1").study("std1");

    model.study("std1").feature("time").set("notlistsolnum", 1);
    model.study("std1").feature("time").set("notsolnum", "auto");
    model.study("std1").feature("time").set("listsolnum", 1);
    model.study("std1").feature("time").set("solnum", "auto");

    model.sol("sol1").feature().remove("t1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "time");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "time");
    model.sol("sol1").create("t1", "Time");
    model.sol("sol1").feature("t1").set("tlist", "range(0,1/f/50,1/f*3)");
    model.sol("sol1").feature("t1").set("plot", "off");
    model.sol("sol1").feature("t1").set("plotgroup", "pg1");
    model.sol("sol1").feature("t1").set("plotfreq", "tout");
    model.sol("sol1").feature("t1").set("probesel", "all");
    model.sol("sol1").feature("t1").set("probes", new String[]{});
    model.sol("sol1").feature("t1").set("probefreq", "tsteps");
    model.sol("sol1").feature("t1").set("rtol", 1.0E-4);
    model.sol("sol1").feature("t1").set("atolglobalvaluemethod", "factor");
    model.sol("sol1").feature("t1").set("reacf", true);
    model.sol("sol1").feature("t1").set("storeudot", true);
    model.sol("sol1").feature("t1").set("tstepsgenalpha", "manual");
    model.sol("sol1").feature("t1").set("timestepgenalpha", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("timestepbdf", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("endtimeinterpolation", true);
    model.sol("sol1").feature("t1").set("timemethod", "genalpha");
    model.sol("sol1").feature("t1").set("maxorder", 2);
    model.sol("sol1").feature("t1").set("initialstepbdfactive", true);
    model.sol("sol1").feature("t1").set("initialstepbdf", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintbdf", "const");
    model.sol("sol1").feature("t1").set("maxstepbdf", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("initialstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("initialstepgenalpha", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintgenalpha", "const");
    model.sol("sol1").feature("t1").set("maxstepgenalpha", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("control", "time");
    model.sol("sol1").feature("t1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("t1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("t1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 1);

    model.component("comp1").common().create("free1", "DeformingDomainDeformedGeometry");
    model.component("comp1").common("free1").selection().set(3, 4, 5, 6, 8, 9, 10, 13, 15);

    model.component("comp1").mesh("mesh1").stat().selection().geom(2);
    model.component("comp1").mesh("mesh1").stat().selection().set(3, 4, 5, 6, 8, 9, 10, 13, 15);

    model.sol("sol1").study("std1");

    model.study("std1").feature("time").set("notlistsolnum", 1);
    model.study("std1").feature("time").set("notsolnum", "auto");
    model.study("std1").feature("time").set("listsolnum", 1);
    model.study("std1").feature("time").set("solnum", "auto");

    model.sol("sol1").feature().remove("t1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "time");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").feature("comp1_material_disp").set("scalemethod", "manual");
    model.sol("sol1").feature("v1").feature("comp1_material_disp").set("scaleval", "0.005766994884686477");
    model.sol("sol1").feature("v1").set("control", "time");
    model.sol("sol1").create("t1", "Time");
    model.sol("sol1").feature("t1").set("tlist", "range(0,1/f/50,1/f*3)");
    model.sol("sol1").feature("t1").set("plot", "off");
    model.sol("sol1").feature("t1").set("plotgroup", "pg1");
    model.sol("sol1").feature("t1").set("plotfreq", "tout");
    model.sol("sol1").feature("t1").set("probesel", "all");
    model.sol("sol1").feature("t1").set("probes", new String[]{});
    model.sol("sol1").feature("t1").set("probefreq", "tsteps");
    model.sol("sol1").feature("t1").set("rtol", 1.0E-4);
    model.sol("sol1").feature("t1").set("atolglobalvaluemethod", "factor");
    model.sol("sol1").feature("t1").set("reacf", true);
    model.sol("sol1").feature("t1").set("storeudot", true);
    model.sol("sol1").feature("t1").set("timestepgenalpha", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("timestepbdf", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("endtimeinterpolation", true);
    model.sol("sol1").feature("t1").set("maxorder", 2);
    model.sol("sol1").feature("t1").set("initialstepbdfactive", true);
    model.sol("sol1").feature("t1").set("initialstepbdf", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintbdf", "const");
    model.sol("sol1").feature("t1").set("maxstepbdf", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("initialstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("initialstepgenalpha", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintgenalpha", "const");
    model.sol("sol1").feature("t1").set("maxstepgenalpha", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("control", "time");
    model.sol("sol1").feature("t1").create("seDef", "Segregated");
    model.sol("sol1").feature("t1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("t1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("t1").feature().remove("fcDef");
    model.sol("sol1").feature("t1").feature().remove("seDef");
    model.sol("sol1").attach("std1");

    model.component("comp1").common().remove("free1");
    model.component("comp1").common("pres1")
         .set("prescribedDeformation", new String[]{"0", "0.5*singleWave(t)", "0"});

    model.sol("sol1").study("std1");

    model.study("std1").feature("time").set("notlistsolnum", 1);
    model.study("std1").feature("time").set("notsolnum", "auto");
    model.study("std1").feature("time").set("listsolnum", 1);
    model.study("std1").feature("time").set("solnum", "auto");

    model.sol("sol1").feature().remove("t1");
    model.sol("sol1").feature().remove("v1");
    model.sol("sol1").feature().remove("st1");
    model.sol("sol1").create("st1", "StudyStep");
    model.sol("sol1").feature("st1").set("study", "std1");
    model.sol("sol1").feature("st1").set("studystep", "time");
    model.sol("sol1").create("v1", "Variables");
    model.sol("sol1").feature("v1").set("control", "time");
    model.sol("sol1").create("t1", "Time");
    model.sol("sol1").feature("t1").set("tlist", "range(0,1/f/50,1/f*3)");
    model.sol("sol1").feature("t1").set("plot", "off");
    model.sol("sol1").feature("t1").set("plotgroup", "pg1");
    model.sol("sol1").feature("t1").set("plotfreq", "tout");
    model.sol("sol1").feature("t1").set("probesel", "all");
    model.sol("sol1").feature("t1").set("probes", new String[]{});
    model.sol("sol1").feature("t1").set("probefreq", "tsteps");
    model.sol("sol1").feature("t1").set("rtol", 1.0E-4);
    model.sol("sol1").feature("t1").set("atolglobalvaluemethod", "factor");
    model.sol("sol1").feature("t1").set("reacf", true);
    model.sol("sol1").feature("t1").set("storeudot", true);
    model.sol("sol1").feature("t1").set("tstepsgenalpha", "manual");
    model.sol("sol1").feature("t1").set("timestepgenalpha", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("timestepbdf", "1/(60*1000[Hz])");
    model.sol("sol1").feature("t1").set("endtimeinterpolation", true);
    model.sol("sol1").feature("t1").set("timemethod", "genalpha");
    model.sol("sol1").feature("t1").set("maxorder", 2);
    model.sol("sol1").feature("t1").set("initialstepbdfactive", true);
    model.sol("sol1").feature("t1").set("initialstepbdf", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintbdf", "const");
    model.sol("sol1").feature("t1").set("maxstepbdf", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("initialstepgenalphaactive", true);
    model.sol("sol1").feature("t1").set("initialstepgenalpha", "(1.0E-5)[s]");
    model.sol("sol1").feature("t1").set("maxstepconstraintgenalpha", "const");
    model.sol("sol1").feature("t1").set("maxstepgenalpha", "3.3333333333333335E-5");
    model.sol("sol1").feature("t1").set("control", "time");
    model.sol("sol1").feature("t1").create("fc1", "FullyCoupled");
    model.sol("sol1").feature("t1").feature("fc1").set("linsolver", "dDef");
    model.sol("sol1").feature("t1").feature().remove("fcDef");
    model.sol("sol1").attach("std1");
    model.sol("sol1").runAll();

    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result().export("anim1").set("timeinterp", false);
    model.result().export("anim1").set("solnumtype", "level1");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 151);
    model.result().export("anim1").set("showframe", 1);
    model.result().export("anim1").set("target", "file");
    model.result().export("anim1").set("giffilename", "E:\\COMSOL_Shahrooz\\OutputNoSolidMechanics.gif");
    model.result().export("anim1").set("gifopen", true);
    model.result().export("anim1").run();

    model.component("comp1").physics().create("solid", "SolidMechanics", "geom1");

    model.study("std1").feature("time").setSolveFor("/physics/solid", true);

    model.component("comp1").physics().remove("solid");
    model.component("comp1").physics().create("solid", "SolidMechanics", "geom1");

    model.study("std1").feature("time").setSolveFor("/physics/solid", true);

    model.component("comp1").material("mat1").propertyGroup().create("pg1", "User-defined property group");
    model.component("comp1").material().create("mat3", "Common");
    model.component("comp1").material("mat3").propertyGroup("def").func().create("eta", "Piecewise");
    model.component("comp1").material("mat3").propertyGroup("def").func().create("Cp", "Piecewise");
    model.component("comp1").material("mat3").propertyGroup("def").func().create("rho", "Analytic");
    model.component("comp1").material("mat3").propertyGroup("def").func().create("k", "Piecewise");
    model.component("comp1").material("mat3").propertyGroup("def").func().create("cs", "Analytic");
    model.component("comp1").material("mat3").propertyGroup("def").func().create("an1", "Analytic");
    model.component("comp1").material("mat3").propertyGroup("def").func().create("an2", "Analytic");
    model.component("comp1").material("mat3").propertyGroup().create("RefractiveIndex", "Refractive index");
    model.component("comp1").material("mat3").propertyGroup().create("NonlinearModel", "Nonlinear model");
    model.component("comp1").material("mat3").propertyGroup().create("idealGas", "Ideal gas");
    model.component("comp1").material("mat3").propertyGroup("idealGas").func().create("Cp", "Piecewise");
    model.component("comp1").material("mat3").label("Air 1");
    model.component("comp1").material("mat3").set("family", "air");
    model.component("comp1").material("mat3").propertyGroup("def").func("eta").set("arg", "T");
    model.component("comp1").material("mat3").propertyGroup("def").func("eta")
         .set("pieces", new String[][]{{"200.0", "1600.0", "-8.38278E-7+8.35717342E-8*T^1-7.69429583E-11*T^2+4.6437266E-14*T^3-1.06585607E-17*T^4"}});
    model.component("comp1").material("mat3").propertyGroup("def").func("eta").set("argunit", "K");
    model.component("comp1").material("mat3").propertyGroup("def").func("eta").set("fununit", "Pa*s");
    model.component("comp1").material("mat3").propertyGroup("def").func("Cp").set("arg", "T");
    model.component("comp1").material("mat3").propertyGroup("def").func("Cp")
         .set("pieces", new String[][]{{"200.0", "1600.0", "1047.63657-0.372589265*T^1+9.45304214E-4*T^2-6.02409443E-7*T^3+1.2858961E-10*T^4"}});
    model.component("comp1").material("mat3").propertyGroup("def").func("Cp").set("argunit", "K");
    model.component("comp1").material("mat3").propertyGroup("def").func("Cp").set("fununit", "J/(kg*K)");
    model.component("comp1").material("mat3").propertyGroup("def").func("rho")
         .set("expr", "pA*0.02897/R_const[K*mol/J]/T");
    model.component("comp1").material("mat3").propertyGroup("def").func("rho").set("args", new String[]{"pA", "T"});
    model.component("comp1").material("mat3").propertyGroup("def").func("rho").set("fununit", "kg/m^3");
    model.component("comp1").material("mat3").propertyGroup("def").func("rho")
         .set("argunit", new String[]{"Pa", "K"});
    model.component("comp1").material("mat3").propertyGroup("def").func("rho")
         .set("plotargs", new String[][]{{"pA", "101325", "101325"}, {"T", "273.15", "293.15"}});
    model.component("comp1").material("mat3").propertyGroup("def").func("k").set("arg", "T");
    model.component("comp1").material("mat3").propertyGroup("def").func("k")
         .set("pieces", new String[][]{{"200.0", "1600.0", "-0.00227583562+1.15480022E-4*T^1-7.90252856E-8*T^2+4.11702505E-11*T^3-7.43864331E-15*T^4"}});
    model.component("comp1").material("mat3").propertyGroup("def").func("k").set("argunit", "K");
    model.component("comp1").material("mat3").propertyGroup("def").func("k").set("fununit", "W/(m*K)");
    model.component("comp1").material("mat3").propertyGroup("def").func("cs")
         .set("expr", "sqrt(1.4*R_const[K*mol/J]/0.02897*T)");
    model.component("comp1").material("mat3").propertyGroup("def").func("cs").set("args", new String[]{"T"});
    model.component("comp1").material("mat3").propertyGroup("def").func("cs").set("fununit", "m/s");
    model.component("comp1").material("mat3").propertyGroup("def").func("cs").set("argunit", new String[]{"K"});
    model.component("comp1").material("mat3").propertyGroup("def").func("cs")
         .set("plotargs", new String[][]{{"T", "273.15", "373.15"}});
    model.component("comp1").material("mat3").propertyGroup("def").func("an1").set("funcname", "alpha_p");
    model.component("comp1").material("mat3").propertyGroup("def").func("an1")
         .set("expr", "-1/rho(pA,T)*d(rho(pA,T),T)");
    model.component("comp1").material("mat3").propertyGroup("def").func("an1").set("args", new String[]{"pA", "T"});
    model.component("comp1").material("mat3").propertyGroup("def").func("an1").set("fununit", "1/K");
    model.component("comp1").material("mat3").propertyGroup("def").func("an1")
         .set("argunit", new String[]{"Pa", "K"});
    model.component("comp1").material("mat3").propertyGroup("def").func("an1")
         .set("plotargs", new String[][]{{"pA", "101325", "101325"}, {"T", "273.15", "373.15"}});
    model.component("comp1").material("mat3").propertyGroup("def").func("an2").set("funcname", "muB");
    model.component("comp1").material("mat3").propertyGroup("def").func("an2").set("expr", "0.6*eta(T)");
    model.component("comp1").material("mat3").propertyGroup("def").func("an2").set("args", new String[]{"T"});
    model.component("comp1").material("mat3").propertyGroup("def").func("an2").set("fununit", "Pa*s");
    model.component("comp1").material("mat3").propertyGroup("def").func("an2").set("argunit", new String[]{"K"});
    model.component("comp1").material("mat3").propertyGroup("def").func("an2")
         .set("plotargs", new String[][]{{"T", "200", "1600"}});
    model.component("comp1").material("mat3").propertyGroup("def").set("thermalexpansioncoefficient", "");
    model.component("comp1").material("mat3").propertyGroup("def").set("molarmass", "");
    model.component("comp1").material("mat3").propertyGroup("def").set("bulkviscosity", "");
    model.component("comp1").material("mat3").propertyGroup("def")
         .set("thermalexpansioncoefficient", new String[]{"alpha_p(pA,T)", "0", "0", "0", "alpha_p(pA,T)", "0", "0", "0", "alpha_p(pA,T)"});
    model.component("comp1").material("mat3").propertyGroup("def").set("molarmass", "0.02897[kg/mol]");
    model.component("comp1").material("mat3").propertyGroup("def").set("bulkviscosity", "muB(T)");
    model.component("comp1").material("mat3").propertyGroup("def")
         .set("relpermeability", new String[]{"1", "0", "0", "0", "1", "0", "0", "0", "1"});
    model.component("comp1").material("mat3").propertyGroup("def")
         .set("relpermittivity", new String[]{"1", "0", "0", "0", "1", "0", "0", "0", "1"});
    model.component("comp1").material("mat3").propertyGroup("def").set("dynamicviscosity", "eta(T)");
    model.component("comp1").material("mat3").propertyGroup("def").set("ratioofspecificheat", "1.4");
    model.component("comp1").material("mat3").propertyGroup("def")
         .set("electricconductivity", new String[]{"0[S/m]", "0", "0", "0", "0[S/m]", "0", "0", "0", "0[S/m]"});
    model.component("comp1").material("mat3").propertyGroup("def").set("heatcapacity", "Cp(T)");
    model.component("comp1").material("mat3").propertyGroup("def").set("density", "rho(pA,T)");
    model.component("comp1").material("mat3").propertyGroup("def")
         .set("thermalconductivity", new String[]{"k(T)", "0", "0", "0", "k(T)", "0", "0", "0", "k(T)"});
    model.component("comp1").material("mat3").propertyGroup("def").set("soundspeed", "cs(T)");
    model.component("comp1").material("mat3").propertyGroup("def").addInput("temperature");
    model.component("comp1").material("mat3").propertyGroup("def").addInput("pressure");
    model.component("comp1").material("mat3").propertyGroup("RefractiveIndex")
         .set("n", new String[]{"1", "0", "0", "0", "1", "0", "0", "0", "1"});
    model.component("comp1").material("mat3").propertyGroup("NonlinearModel").set("BA", "(def.gamma+1)/2");
    model.component("comp1").material("mat3").propertyGroup("idealGas").func("Cp").label("Piecewise 2");
    model.component("comp1").material("mat3").propertyGroup("idealGas").func("Cp").set("arg", "T");
    model.component("comp1").material("mat3").propertyGroup("idealGas").func("Cp")
         .set("pieces", new String[][]{{"200.0", "1600.0", "1047.63657-0.372589265*T^1+9.45304214E-4*T^2-6.02409443E-7*T^3+1.2858961E-10*T^4"}});
    model.component("comp1").material("mat3").propertyGroup("idealGas").func("Cp").set("argunit", "K");
    model.component("comp1").material("mat3").propertyGroup("idealGas").func("Cp").set("fununit", "J/(kg*K)");
    model.component("comp1").material("mat3").propertyGroup("idealGas").set("Rs", "R_const/Mn");
    model.component("comp1").material("mat3").propertyGroup("idealGas").set("heatcapacity", "Cp(T)");
    model.component("comp1").material("mat3").propertyGroup("idealGas").set("ratioofspecificheat", "1.4");
    model.component("comp1").material("mat3").propertyGroup("idealGas").set("molarmass", "0.02897");
    model.component("comp1").material("mat3").propertyGroup("idealGas").addInput("temperature");
    model.component("comp1").material("mat3").propertyGroup("idealGas").addInput("pressure");
    model.component("comp1").material("mat3").materialType("nonSolid");
    model.component("comp1").material("mat3").set("family", "air");
    model.component("comp1").material().create("mat4", "Common");
    model.component("comp1").material("mat4").propertyGroup("def").func().create("eta", "Piecewise");
    model.component("comp1").material("mat4").propertyGroup("def").func().create("Cp", "Piecewise");
    model.component("comp1").material("mat4").propertyGroup("def").func().create("rho", "Piecewise");
    model.component("comp1").material("mat4").propertyGroup("def").func().create("k", "Piecewise");
    model.component("comp1").material("mat4").propertyGroup("def").func().create("cs", "Interpolation");
    model.component("comp1").material("mat4").propertyGroup("def").func().create("an1", "Analytic");
    model.component("comp1").material("mat4").propertyGroup("def").func().create("an2", "Analytic");
    model.component("comp1").material("mat4").propertyGroup("def").func().create("an3", "Analytic");
    model.component("comp1").material("mat4").label("Water, liquid 1");
    model.component("comp1").material("mat4").set("family", "water");
    model.component("comp1").material("mat4").propertyGroup("def").func("eta").set("arg", "T");
    model.component("comp1").material("mat4").propertyGroup("def").func("eta")
         .set("pieces", new String[][]{{"273.15", "413.15", "1.3799566804-0.021224019151*T^1+1.3604562827E-4*T^2-4.6454090319E-7*T^3+8.9042735735E-10*T^4-9.0790692686E-13*T^5+3.8457331488E-16*T^6"}, {"413.15", "553.75", "0.00401235783-2.10746715E-5*T^1+3.85772275E-8*T^2-2.39730284E-11*T^3"}});
    model.component("comp1").material("mat4").propertyGroup("def").func("eta").set("argunit", "K");
    model.component("comp1").material("mat4").propertyGroup("def").func("eta").set("fununit", "Pa*s");
    model.component("comp1").material("mat4").propertyGroup("def").func("Cp").set("arg", "T");
    model.component("comp1").material("mat4").propertyGroup("def").func("Cp")
         .set("pieces", new String[][]{{"273.15", "553.75", "12010.1471-80.4072879*T^1+0.309866854*T^2-5.38186884E-4*T^3+3.62536437E-7*T^4"}});
    model.component("comp1").material("mat4").propertyGroup("def").func("Cp").set("argunit", "K");
    model.component("comp1").material("mat4").propertyGroup("def").func("Cp").set("fununit", "J/(kg*K)");
    model.component("comp1").material("mat4").propertyGroup("def").func("rho").set("arg", "T");
    model.component("comp1").material("mat4").propertyGroup("def").func("rho").set("smooth", "contd1");
    model.component("comp1").material("mat4").propertyGroup("def").func("rho")
         .set("pieces", new String[][]{{"273.15", "293.15", "0.000063092789034*T^3-0.060367639882855*T^2+18.9229382407066*T-950.704055329848"}, {"293.15", "373.15", "0.000010335053319*T^3-0.013395065634452*T^2+4.969288832655160*T+432.257114008512"}});
    model.component("comp1").material("mat4").propertyGroup("def").func("rho").set("argunit", "K");
    model.component("comp1").material("mat4").propertyGroup("def").func("rho").set("fununit", "kg/m^3");
    model.component("comp1").material("mat4").propertyGroup("def").func("k").set("arg", "T");
    model.component("comp1").material("mat4").propertyGroup("def").func("k")
         .set("pieces", new String[][]{{"273.15", "553.75", "-0.869083936+0.00894880345*T^1-1.58366345E-5*T^2+7.97543259E-9*T^3"}});
    model.component("comp1").material("mat4").propertyGroup("def").func("k").set("argunit", "K");
    model.component("comp1").material("mat4").propertyGroup("def").func("k").set("fununit", "W/(m*K)");
    model.component("comp1").material("mat4").propertyGroup("def").func("cs")
         .set("table", new String[][]{{"273", "1403"}, 
         {"278", "1427"}, 
         {"283", "1447"}, 
         {"293", "1481"}, 
         {"303", "1507"}, 
         {"313", "1526"}, 
         {"323", "1541"}, 
         {"333", "1552"}, 
         {"343", "1555"}, 
         {"353", "1555"}, 
         {"363", "1550"}, 
         {"373", "1543"}});
    model.component("comp1").material("mat4").propertyGroup("def").func("cs").set("interp", "piecewisecubic");
    model.component("comp1").material("mat4").propertyGroup("def").func("cs").set("fununit", new String[]{"m/s"});
    model.component("comp1").material("mat4").propertyGroup("def").func("cs").set("argunit", new String[]{"K"});
    model.component("comp1").material("mat4").propertyGroup("def").func("an1").set("funcname", "alpha_p");
    model.component("comp1").material("mat4").propertyGroup("def").func("an1").set("expr", "-1/rho(T)*d(rho(T),T)");
    model.component("comp1").material("mat4").propertyGroup("def").func("an1").set("args", new String[]{"T"});
    model.component("comp1").material("mat4").propertyGroup("def").func("an1").set("fununit", "1/K");
    model.component("comp1").material("mat4").propertyGroup("def").func("an1").set("argunit", new String[]{"K"});
    model.component("comp1").material("mat4").propertyGroup("def").func("an1")
         .set("plotargs", new String[][]{{"T", "273.15", "373.15"}});
    model.component("comp1").material("mat4").propertyGroup("def").func("an2").set("funcname", "gamma_w");
    model.component("comp1").material("mat4").propertyGroup("def").func("an2")
         .set("expr", "1+(T/Cp(T))*(alpha_p(T)*cs(T))^2");
    model.component("comp1").material("mat4").propertyGroup("def").func("an2").set("args", new String[]{"T"});
    model.component("comp1").material("mat4").propertyGroup("def").func("an2").set("fununit", "1");
    model.component("comp1").material("mat4").propertyGroup("def").func("an2").set("argunit", new String[]{"K"});
    model.component("comp1").material("mat4").propertyGroup("def").func("an2")
         .set("plotargs", new String[][]{{"T", "273.15", "373.15"}});
    model.component("comp1").material("mat4").propertyGroup("def").func("an3").set("funcname", "muB");
    model.component("comp1").material("mat4").propertyGroup("def").func("an3").set("expr", "2.79*eta(T)");
    model.component("comp1").material("mat4").propertyGroup("def").func("an3").set("args", new String[]{"T"});
    model.component("comp1").material("mat4").propertyGroup("def").func("an3").set("fununit", "Pa*s");
    model.component("comp1").material("mat4").propertyGroup("def").func("an3").set("argunit", new String[]{"K"});
    model.component("comp1").material("mat4").propertyGroup("def").func("an3")
         .set("plotargs", new String[][]{{"T", "273.15", "553.75"}});
    model.component("comp1").material("mat4").propertyGroup("def").set("thermalexpansioncoefficient", "");
    model.component("comp1").material("mat4").propertyGroup("def").set("bulkviscosity", "");
    model.component("comp1").material("mat4").propertyGroup("def")
         .set("thermalexpansioncoefficient", new String[]{"alpha_p(T)", "0", "0", "0", "alpha_p(T)", "0", "0", "0", "alpha_p(T)"});
    model.component("comp1").material("mat4").propertyGroup("def").set("bulkviscosity", "muB(T)");
    model.component("comp1").material("mat4").propertyGroup("def").set("dynamicviscosity", "eta(T)");
    model.component("comp1").material("mat4").propertyGroup("def").set("ratioofspecificheat", "gamma_w(T)");
    model.component("comp1").material("mat4").propertyGroup("def")
         .set("electricconductivity", new String[]{"5.5e-6[S/m]", "0", "0", "0", "5.5e-6[S/m]", "0", "0", "0", "5.5e-6[S/m]"});
    model.component("comp1").material("mat4").propertyGroup("def").set("heatcapacity", "Cp(T)");
    model.component("comp1").material("mat4").propertyGroup("def").set("density", "rho(T)");
    model.component("comp1").material("mat4").propertyGroup("def")
         .set("thermalconductivity", new String[]{"k(T)", "0", "0", "0", "k(T)", "0", "0", "0", "k(T)"});
    model.component("comp1").material("mat4").propertyGroup("def").set("soundspeed", "cs(T)");
    model.component("comp1").material("mat4").propertyGroup("def").addInput("temperature");

    return model;
  }

  public static Model run8(Model model) {
    model.component("comp1").material("mat4").set("family", "water");
    model.component("comp1").material().remove("mat1");
    model.component("comp1").material().remove("mat2");
    model.component("comp1").material("mat3").selection().set(9, 10, 11, 12, 15);
    model.component("comp1").material("mat4").selection().set(1, 2, 3, 4, 5, 6, 7, 8, 13, 14);
    model.component("comp1").material("mat4").propertyGroup().create("Enu", "Young's_modulus_and_Poisson's_ratio");
    model.component("comp1").material("mat4").propertyGroup("Enu").set("E", new String[]{".2e10"});
    model.component("comp1").material("mat3").propertyGroup().create("Enu", "Young's_modulus_and_Poisson's_ratio");
    model.component("comp1").material("mat3").propertyGroup("Enu").set("E", new String[]{"101000"});

    model.component("comp1").physics("solid").selection().set(1, 2, 3, 4, 5, 6, 7, 8, 13, 14);

    model.component("comp1").material("mat4").propertyGroup("Enu").set("nu", new String[]{"0.5"});
    model.component("comp1").material("mat3").propertyGroup("Enu").set("nu", new String[]{"1.6"});

    model.component("comp1").physics("solid").selection().set(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);

    model.component("comp1").material("mat3").propertyGroup("Enu").set("nu", new String[]{"0.5"});

    model.component("comp1").physics("solid").create("disp1", "Displacement1", 1);
    model.component("comp1").physics("solid").feature("disp1").selection().set(33, 34, 35, 36, 37);
    model.component("comp1").physics("solid").feature("disp1").setIndex("Direction", true, 1);
    model.component("comp1").physics("solid").feature("disp1").setIndex("U0", "0.5*singleWave(t)", 1);
    model.component("comp1").physics("solid").create("free2", "Free", 1);
    model.component("comp1").physics("solid").feature("free2").selection().set(11, 12, 13, 24, 29, 32);
    model.component("comp1").physics("solid").prop("PhysicsSymbols").set("PhysicsSymbols", true);
    model.component("comp1").physics("solid").prop("TransientSettings").set("SetMaximumFrequency", true);
    model.component("comp1").physics("solid").prop("StructuralTransientBehavior")
         .set("StructuralTransientBehavior", "Quasistatic");
    model.component("comp1").physics("solid").feature("disp1").active(false);
    model.component("comp1").physics("solid").prop("Type2D").set("Type2D", "GeneralizedPlaneStrain");
    model.component("comp1").physics().remove("solid");

    model.sol("sol1").runAll();

    model.result().export("anim1").set("target", "player");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 1);

    model.component("comp1").physics("actd").selection().set(1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15);

    model.sol("sol1").runAll();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 82);

    model.component("comp1").material().create("mat5", "Common");
    model.component("comp1").material("mat5").propertyGroup().create("Enu", "Young's modulus and Poisson's ratio");
    model.component("comp1").material("mat5").label("Aluminum 6063-T83");
    model.component("comp1").material("mat5").set("family", "aluminum");
    model.component("comp1").material("mat5").propertyGroup("def")
         .set("relpermeability", new String[]{"1", "0", "0", "0", "1", "0", "0", "0", "1"});
    model.component("comp1").material("mat5").propertyGroup("def")
         .set("electricconductivity", new String[]{"3.030e7[S/m]", "0", "0", "0", "3.030e7[S/m]", "0", "0", "0", "3.030e7[S/m]"});
    model.component("comp1").material("mat5").propertyGroup("def")
         .set("thermalexpansioncoefficient", new String[]{"23.4e-6[1/K]", "0", "0", "0", "23.4e-6[1/K]", "0", "0", "0", "23.4e-6[1/K]"});
    model.component("comp1").material("mat5").propertyGroup("def").set("heatcapacity", "900[J/(kg*K)]");
    model.component("comp1").material("mat5").propertyGroup("def")
         .set("relpermittivity", new String[]{"1", "0", "0", "0", "1", "0", "0", "0", "1"});
    model.component("comp1").material("mat5").propertyGroup("def").set("density", "2700[kg/m^3]");
    model.component("comp1").material("mat5").propertyGroup("def")
         .set("thermalconductivity", new String[]{"201[W/(m*K)]", "0", "0", "0", "201[W/(m*K)]", "0", "0", "0", "201[W/(m*K)]"});
    model.component("comp1").material("mat5").propertyGroup("Enu").set("E", "69[GPa]");
    model.component("comp1").material("mat5").propertyGroup("Enu").set("nu", "0.33");
    model.component("comp1").material("mat5").set("family", "aluminum");
    model.component("comp1").material("mat5").selection().geom("geom1", 1);
    model.component("comp1").material("mat5").selection().set(35);

    model.component("comp1").common("pres1").selection().set(35);

    model.sol("sol1").runAll();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 1);

    model.component("comp1").common("pres1").selection().geom("geom1", 2);
    model.component("comp1").common("pres1").selection().set(15);

    model.component("comp1").material().remove("mat5");

    model.study("std1").feature("time").set("tlist", "range(0,1/f/50,1/f*2)");

    model.sol("sol1").runAll();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 101);
    model.result().export("anim1").set("showframe", 31);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepFirst(0);
    model.result("pg1").run();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 4);
    model.result().export("anim1").set("solnumtype", "inner");
    model.result().export("anim1").set("showframe", 1);
    model.result().export("anim1")
         .set("solnum", new int[]{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101});
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 4);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();

    model.component("comp1").common("pres1")
         .set("prescribedDeformation", new String[]{"0", "0.1*singleWave(t)", "0"});

    model.sol("sol1").runAll();

    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();

    model.component("comp1").common("pres1").selection().geom("geom1", 1);
    model.component("comp1").common("pres1").selection().set(18);

    model.sol("sol1").runAll();

    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 1);

    model.component("comp1").common("pres1").selection().set(35);
    model.component("comp1").common().create("disp1", "PrescribedMeshDisplacementDeformedGeometry");
    model.component("comp1").common("disp1")
         .set("prescribedMeshDisplacement", new String[]{"0", "0.5*singleWave(t)", "0"});
    model.component("comp1").common("disp1").selection().all();
    model.component("comp1").common("disp1").set("coordinateSystem", "global");

    model.component("comp1").view("view1").set("hidestatus", "hide");

    model.component("comp1").common("disp1").selection().set();
    model.component("comp1").common().create("pnmd1", "PrescribedNormalMeshDisplacementDeformedGeometry");
    model.component("comp1").common().remove("pnmd1");
    model.component("comp1").common().create("slip1", "SlipDeformedGeometry");
    model.component("comp1").common().remove("slip1");
    model.component("comp1").common().remove("disp1");
    model.component("comp1").common("pres1").selection().all();
    model.component("comp1").common("pres1").selection().set(35);

    model.sol("sol1").runAll();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 78);

    model.component("comp1").material("mat4").selection().set(1, 2, 4, 5, 6, 7, 8, 13, 14);
    model.component("comp1").material("mat3").selection().set(3, 9, 10, 11, 12, 15);

    model.sol("sol1").runAll();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 1);

    model.label("ModelFromTroy_R3_May28YR24.mph");

    model.component("comp1").geom("geom1").run("pt1");
    model.component("comp1").geom("geom1").create("spl1", "Split");
    model.component("comp1").geom("geom1").feature("spl1").selection("input").set("del1(1)");
    model.component("comp1").geom("geom1").run("spl1");
    model.component("comp1").geom("geom1").run("c1");
    model.component("comp1").geom("geom1").run("c1");
    model.component("comp1").geom("geom1").run("pc1");
    model.component("comp1").geom("geom1").run("fil1");
    model.component("comp1").geom("geom1").run("par1");
    model.component("comp1").geom("geom1").run("del1");
    model.component("comp1").geom("geom1").run("r1");
    model.component("comp1").geom("geom1").run("del1");
    model.component("comp1").geom("geom1").run("c1");
    model.component("comp1").geom("geom1").create("pol1", "Polygon");
    model.component("comp1").geom("geom1").feature("pol1").set("type", "open");
    model.component("comp1").geom("geom1").feature("pol1").set("source", "table");
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new double[][]{{-2.4, 1.4695761589768233E-16}, {-1.4, 1.4695761589768233E-16}, {-0.4, 1.4695761589768233E-16}, {0.6, -2.9391523179536466E-16}, {1.6, -2.9391523179536466E-16}, {2.4, -2.9391523179536466E-16}});
    model.component("comp1").geom("geom1").run("pol1");
    model.component("comp1").geom("geom1").run("pc1");
    model.component("comp1").geom("geom1").run("fin");

    model.component("comp1").material("mat4").selection().set(1, 2, 3, 4, 5, 6, 7, 8, 9, 14, 15);

    model.component("comp1").geom("geom1").feature().remove("pol1");
    model.component("comp1").geom("geom1").run("spl1");
    model.component("comp1").geom("geom1").create("pol1", "Polygon");
    model.component("comp1").geom("geom1").feature("pol1").set("type", "open");
    model.component("comp1").geom("geom1").feature("pol1").set("source", "table");
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new double[][]{{3.6739403974420594E-16, 0.75}, {-1, 0.75}, {-2, 0.75}, {-2.279802623035599, 0.75}});
    model.component("comp1").geom("geom1").run("pol1");
    model.component("comp1").geom("geom1").create("pol2", "Polygon");
    model.component("comp1").geom("geom1").feature("pol2").set("type", "open");
    model.component("comp1").geom("geom1").feature("pol2").set("source", "table");
    model.component("comp1").geom("geom1").feature("pol2")
         .set("table", new double[][]{{3.6739403974420594E-16, 0.75}, {1, 0.75}, {2, 0.75}, {2.2798026230355988, 0.75}});
    model.component("comp1").geom("geom1").run("pol2");
    model.component("comp1").geom("geom1").run("fin");

    model.component("comp1").common("pres1").selection().set();

    model.component("comp1").func("an1").set("expr", "sin(2*pi*400*t+phase)");
    model.component("comp1").func("an1").set("args", "t,phase");
    model.component("comp1").func("an1").setIndex("argunit", "radians", 1);
    model.component("comp1").func("an1").setIndex("argunit", "rad", 1);

    model.component("comp1").common("pres1")
         .set("prescribedDeformation", new String[]{"0", "0.1*singleWave(t,-pi/4)", "0"});
    model.component("comp1").common("pres1").selection().set(5);
    model.component("comp1").common().duplicate("pres2", "pres1");
    model.component("comp1").common("pres2").selection().set(4);
    model.component("comp1").common("pres2")
         .set("prescribedDeformation", new String[]{"0", "0.1*singleWave(t,-pi/2)", "0"});
    model.component("comp1").common().duplicate("pres3", "pres2");
    model.component("comp1").common("pres3").selection().set(3, 39);
    model.component("comp1").common("pres3")
         .set("prescribedDeformation", new String[]{"0", "0.1*singleWave(t,-pi)", "0"});
    model.component("comp1").common().duplicate("pres4", "pres3");
    model.component("comp1").common("pres4")
         .set("prescribedDeformation", new String[]{"0", "0.1*singleWave(t,pi/4)", "0"});
    model.component("comp1").common("pres4").selection().set(10);
    model.component("comp1").common().duplicate("pres5", "pres4");
    model.component("comp1").common("pres5").selection().set(13);
    model.component("comp1").common("pres5")
         .set("prescribedDeformation", new String[]{"0", "0.1*singleWave(t,pi/2)", "0"});
    model.component("comp1").common().duplicate("pres6", "pres5");
    model.component("comp1").common("pres6")
         .set("prescribedDeformation", new String[]{"0", "0.1*singleWave(t,pi)", "0"});
    model.component("comp1").common("pres6").selection().set(40, 41);

    model.sol("sol1").runAll();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 101);

    model.component("comp1").common("pres1")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/4)", "0"});
    model.component("comp1").common("pres2")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/2)", "0"});

    model.component("comp1").func("an1").set("expr", "0.2*sin(2*pi*400*t+phase)");

    model.component("comp1").common("pres3")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi)", "0"});
    model.component("comp1").common("pres4")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi/4)", "0"});
    model.component("comp1").common("pres5")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi/2)", "0"});
    model.component("comp1").common("pres6").set("prescribedDeformation", new String[]{"0", "singleWave(t,pi)", "0"});
    model.component("comp1").common().duplicate("pres7", "pres6");
    model.component("comp1").common("pres7").selection().set(42);
    model.component("comp1").common("pres7")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*3/4)", "0"});
    model.component("comp1").common().duplicate("pres8", "pres7");
    model.component("comp1").common().move("pres8", 0);
    model.component("comp1").common("pres8")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*3/4)", "0"});

    model.sol("sol1").runAll();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 8);
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 38);

    model.component("comp1").common().remove("pres8");
    model.component("comp1").common().remove("pres7");

    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 48);

    model.component("comp1").physics("actd").create("shb2", "SoundHard", 1);
    model.component("comp1").physics("actd").feature().remove("shb2");

    model.component("comp1").common().create("pres7", "PrescribedDeformation");
    model.component("comp1").common("pres7").selection().geom("geom1", 1);

    return model;
  }

  public static Model run9(Model model) {
    model.component("comp1").common("pres7").selection().set(5);
    model.component("comp1").common("pres7")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/4)", "0"});

    model.sol("sol1").runAll();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 52);

    model.component("comp1").common().create("free1", "DeformingDomainDeformedGeometry");
    model.component("comp1").common("free1").selection().set(3, 4, 5, 6, 9, 10, 11, 14);
    model.component("comp1").common().remove("pres7");

    model.result().export("anim1").showFrame();

    model.component("comp1").mesh("mesh1").create("ftri2", "FreeTri");
    model.component("comp1").mesh("mesh1").run("ftri2");
    model.component("comp1").mesh("mesh1").automatic(true);
    model.component("comp1").mesh("mesh1").run();

    model.component("comp1").func("an1").set("expr", "0.01*sin(2*pi*400*t+phase)");
    model.component("comp1").func().remove("rm1");
    model.component("comp1").func().remove("rm2");
    model.component("comp1").func().remove("int1");
    model.component("comp1").func().remove("int2");
    model.component("comp1").func().remove("int3");
    model.component("comp1").func().remove("int4");
    model.component("comp1").func().create("rm1", "Ramp");
    model.component("comp1").func("an1").set("expr", "0.0001*sin(2*pi*400*t+phase)");

    model.result().export("anim1")
         .set("solnum", new int[]{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34});
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 34);
    model.result().export("anim1").set("showframe", 1);

    model.component("comp1").func("an1").set("expr", "0.001*sin(2*pi*400*t+phase)");

    model.sol("sol1").runAll();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 1);
    model.result().export("anim1").set("plotgroup", "pg3");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 34);

    model.component("comp1").func("an1").set("expr", "0.005*sin(2*pi*400*t+phase)");

    model.param().set("a", "10[Pa]");

    model.sol("sol1").feature("t1").create("ar1", "AutoRemesh");
    model.sol("sol1").feature("t1").feature("ar1").set("stopval", "0.1");
    model.sol("sol1").feature("t1").feature("ar1").set("consistentremesh", true);
    model.sol().create("sol2");
    model.sol("sol2").label("Remeshed Solution 1");
    model.sol("sol2").study("std1");
    model.sol("sol1").feature("t1").feature("ar1").set("tadapsol", "sol2");

    model.result().create("pg4", "PlotGroup2D");
    model.result("pg4").set("data", "dset2");
    model.result("pg4").create("surf1", "Surface");
    model.result("pg4").feature("surf1").set("expr", new String[]{"actd.p_t"});
    model.result("pg4").feature("surf1").set("colortable", "Wave");
    model.result("pg4").feature("surf1").set("colorscalemode", "linearsymmetric");
    model.result("pg4").set("showlegendsunit", true);
    model.result("pg4").label("Acoustic Pressure (actd) 1");
    model.result().remove("pg4");

    model.component("comp1").func("an1").set("expr", "0.001*sin(2*pi*400*t+phase)");

    model.result().create("pg4", "PlotGroup2D");
    model.result("pg4").set("data", "dset2");
    model.result("pg4").create("surf1", "Surface");
    model.result("pg4").feature("surf1").set("expr", new String[]{"actd.p_t"});
    model.result("pg4").feature("surf1").set("colortable", "Wave");
    model.result("pg4").feature("surf1").set("colorscalemode", "linearsymmetric");
    model.result("pg4").set("showlegendsunit", true);
    model.result("pg4").label("Acoustic Pressure (actd) 1");
    model.result().remove("pg4");

    model.sol("sol1").feature("t1").feature("ar1").active(false);
    model.sol("sol1").runAll();

    model.result().export("anim1")
         .set("solnum", new int[]{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101});
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 101);
    model.result().export("anim1").set("showframe", 1);

    model.component("comp1").func("rm1").set("cutoffactive", true);
    model.component("comp1").func("rm1").set("slope", 500);
    model.component("comp1").func("rm1").label("Ramp EasyStart");
    model.component("comp1").func("rm1").set("funcname", "rmp1");
    model.component("comp1").func("an1").set("expr", "0.001*sin(2*pi*400*t+phase)*rmp1");
    model.component("comp1").func().move("rm1", 0);
    model.component("comp1").func().create("an2", "Analytic");
    model.component("comp1").func().remove("an2");
    model.component("comp1").func("an1").set("expr", "0.001*sin(2*pi*400*t+phase)");
    model.component("comp1").func("rm1").set("smoothzonelocactive", false);
    model.component("comp1").func("rm1").set("smoothzonecutoffactive", false);
    model.component("comp1").func("an1").set("periodic", false);

    model.component("comp1").variable().create("var1");
    model.component("comp1").variable("var1").selection().geom("geom1", 1);
    model.component("comp1").variable().remove("var1");

    model.label("ModelFromTroy_R3_May28YR24.mph");

    model.component("comp1").func("an1").set("expr", "0.01*sin(2*pi*400*t+phase)");

    model.study("std1").feature("time").set("tlist", "range(0,1/f/150,1/f*2)");

    model.component("comp1").func("an1").set("expr", "0.001*sin(2*pi*400*t+phase)");

    model.component("comp1").common("pres1")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/4)", "0"});

    model.component("comp1").func().remove("rm1");
    model.component("comp1").func().create("int1", "Interpolation");
    model.component("comp1").func("int1").set("source", "file");
    model.component("comp1").func("int1").set("dseparator", "comma");
    model.component("comp1").func("int1").set("filename", "E:\\COMSOL_Shahrooz\\RampData.txt");
    model.component("comp1").func("int1").set("extrap", "linear");
    model.component("comp1").func().move("int1", 0);
    model.component("comp1").func("an1").set("expr", "0.001*sin(2*pi*400*t+phase)*int1(t)");

    model.sol("sol1").runAll();

    model.result("pg1").stepFirst(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").run();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 301);
    model.result().export("anim1").set("showframe", 301);

    model.component("comp1").func("an1").set("expr", "0.01*sin(2*pi*400*t+phase)*int1(t)");

    model.sol("sol1").runAll();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 301);
    model.result().export("anim1").set("plotgroup", "pg1");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 301);

    model.component("comp1").func("an1").set("expr", "0.1*sin(2*pi*400*t+phase)*int1(t)");
    model.component("comp1").func("int1").set("source", "table");
    model.component("comp1").func("int1").setIndex("table", 0, 0, 0);
    model.component("comp1").func("int1").setIndex("table", 0, 0, 1);
    model.component("comp1").func("int1").setIndex("table", ".005", 1, 0);
    model.component("comp1").func("int1").setIndex("table", 1, 1, 1);
    model.component("comp1").func("int1").setIndex("table", 1, 2, 0);
    model.component("comp1").func("int1").setIndex("table", 1, 2, 1);
    model.component("comp1").func("int1").setIndex("table", ".01", 1, 0);

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 199);
    model.result().export("anim1").set("showframe", 199);
    model.result().export("anim1").set("plotgroup", "pg3");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("stopped", true);
    model.result().export("anim1").run();

    model.component("comp1").func("int1").label("InitialRamp");
    model.component("comp1").func("int1").set("funcname", "initRamp1");
    model.component("comp1").func("int1").setIndex("table", ".003", 1, 0);
    model.component("comp1").func("an1").set("expr", "0.1*sin(2*pi*400*t+phase)*initRamp1(t)");

    model.study("std1").feature("time").set("tlist", "range(0,1/f/50,1/f*4)");

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 19);
    model.result().export("anim1").set("showframe", 19);
    model.result().export("anim1").set("target", "file");
    model.result().export("anim1").set("giffilename", "E:\\COMSOL_Shahrooz\\OutputWithDeformation.gif");
    model.result().export("anim1").run();

    model.label("ModelFromTroy_R3_May28YR24.mph");

    model.result().export("anim1").set("target", "player");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 1);
    model.result().export("anim1").set("stopped", true);
    model.result().export("anim1").run();

    model.component("comp1").geom("geom1").run("pc1");
    model.component("comp1").geom("geom1").run("par1");
    model.component("comp1").geom("geom1").run("c1");
    model.component("comp1").geom("geom1").run("par1");
    model.component("comp1").geom("geom1").run("del1");
    model.component("comp1").geom("geom1").run("r1");
    model.component("comp1").geom("geom1").run("c1");
    model.component("comp1").geom("geom1").run("c1");
    model.component("comp1").geom("geom1").feature().create("del2", "Delete");
    model.component("comp1").geom("geom1").feature("del2").selection("input").set("c1", 14);
    model.component("comp1").geom("geom1").run("del2");
    model.component("comp1").geom("geom1").run("del2");
    model.component("comp1").geom("geom1").feature().create("del3", "Delete");
    model.component("comp1").geom("geom1").feature("del3").selection("input").set("del2", 13);
    model.component("comp1").geom("geom1").run("del3");
    model.component("comp1").geom("geom1").feature().remove("del2");
    model.component("comp1").geom("geom1").feature().remove("del3");
    model.component("comp1").geom("geom1").run("c1");
    model.component("comp1").geom("geom1").run("c1");
    model.component("comp1").geom("geom1").feature().create("del2", "Delete");
    model.component("comp1").geom("geom1").feature("del2").selection("input").set("c1", 2, 4, 5, 7, 13, 14, 17, 18);
    model.component("comp1").geom("geom1").run("del2");
    model.component("comp1").geom("geom1").run("pc1");
    model.component("comp1").geom("geom1").run("fin");
    model.component("comp1").geom("geom1").run("pol1");
    model.component("comp1").geom("geom1").run("spl1");
    model.component("comp1").geom("geom1").run("pt1");
    model.component("comp1").geom("geom1").run("spl1");
    model.component("comp1").geom("geom1").runPre("spl1");
    model.component("comp1").geom("geom1").run("pt1");
    model.component("comp1").geom("geom1").run("spl1");
    model.component("comp1").geom("geom1").run("spl1");

    model.param().set("y0", "0");

    model.component("comp1").geom("geom1").run("spl1");

    model.param().set("y1", "-d");

    model.component("comp1").geom("geom1").run("spl1");
    model.component("comp1").geom("geom1").feature("pol2").setIndex("table", 0, 0, 1);
    model.component("comp1").geom("geom1").feature("pol2").setIndex("table", 0, 1, 1);
    model.component("comp1").geom("geom1").feature("pol2").setIndex("table", 0, 2, 1);
    model.component("comp1").geom("geom1").feature("pol2").setIndex("table", 0, 3, 1);
    model.component("comp1").geom("geom1").run("pol2");
    model.component("comp1").geom("geom1").feature().remove("pol2");
    model.component("comp1").geom("geom1").run("pol1");
    model.component("comp1").geom("geom1").run("spl1");
    model.component("comp1").geom("geom1").runPre("del2");
    model.component("comp1").geom("geom1").run("del1");
    model.component("comp1").geom("geom1").feature("del2").active(false);
    model.component("comp1").geom("geom1").feature("pc1").active(false);
    model.component("comp1").geom("geom1").feature("par1").active(false);
    model.component("comp1").geom("geom1").feature("del1").active(false);
    model.component("comp1").geom("geom1").run("r1");
    model.component("comp1").geom("geom1").feature("del2").active(true);
    model.component("comp1").geom("geom1").run("del2");
    model.component("comp1").geom("geom1").run("pt1");
    model.component("comp1").geom("geom1").feature("spl1").active(false);
    model.component("comp1").geom("geom1").run("pol1");
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 0, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 1, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 2, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 3, 1);
    model.component("comp1").geom("geom1").run("pol1");
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -3, 0, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -2, 1, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -1, 2, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 3, 0);
    model.component("comp1").geom("geom1").run("pol1");
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -3, 0, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", "", 0, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -2.9, 1, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", "", 1, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -2.8, 2, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", "", 2, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -2.7, 3, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", "", 3, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -2.6, 4, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", "", 4, 1);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"-2.6", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{5}, -1);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{5}, -1);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"-2.6", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{6}, -2);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{6}, -2);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", "", 6, 0);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{7}, -1);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{7}, -1);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{8}, -2);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{8}, -2);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{9}, -3);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{9}, -3);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{10}, -4);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{10}, -4);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{11}, -5);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{11}, -5);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{12}, -6);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{12}, -6);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{13}, -7);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{13}, -7);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{14}, -8);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{14}, -8);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{15}, -9);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{15}, -9);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{16}, -10);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{16}, -10);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{17}, -11);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{17}, -11);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{18}, -12);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{18}, -12);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{19}, -13);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{19}, -13);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{20}, -14);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{20}, -14);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{21}, -15);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{21}, -15);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{22}, -16);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{22}, -16);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{23}, -17);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{23}, -17);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{24}, -18);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{24}, -18);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});

    return model;
  }

  public static Model run10(Model model) {
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{25}, -19);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{25}, -19);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{26}, -20);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{26}, -20);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{27}, -21);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{27}, -21);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{28}, -22);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{28}, -22);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{29}, -23);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{29}, -23);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{30}, -24);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{30}, -24);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{31}, -25);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{31}, -25);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{32}, -26);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{32}, -26);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{33}, -27);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{33}, -27);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{34}, -28);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{34}, -28);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{35}, -29);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{35}, -29);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{36}, -30);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{36}, -30);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{37}, -31);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{37}, -31);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{38}, -32);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{38}, -32);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{39}, -33);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{39}, -33);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{40}, -34);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{40}, -34);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{41}, -35);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{41}, -35);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{42}, -36);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{42}, -36);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{43}, -37);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{43}, -37);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{44}, -38);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{44}, -38);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{45}, -39);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{45}, -39);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{46}, -40);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{46}, -40);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{47}, -41);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{47}, -41);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});

    return model;
  }

  public static Model run11(Model model) {
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{48}, -42);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{48}, -42);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{49}, -43);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{49}, -43);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{50}, -44);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{50}, -44);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{51}, -45);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{51}, -45);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{52}, -46);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{52}, -46);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{53}, -47);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{53}, -47);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{54}, -48);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{54}, -48);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{55}, -49);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{55}, -49);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{56}, -50);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{56}, -50);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{57}, -51);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{57}, -51);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{58}, -52);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{58}, -52);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{59}, -53);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{59}, -53);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{60}, -54);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{60}, -54);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{61}, -55);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{61}, -55);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{62}, -56);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{62}, -56);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{63}, -57);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{63}, -57);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off"});

    return model;
  }

  public static Model run12(Model model) {
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{64}, -58);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{64}, -58);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{65}, -59);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{65}, -59);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{66}, -60);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{66}, -60);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{67}, -61);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{67}, -61);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{68}, -62);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{68}, -62);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{69}, -63);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{69}, -63);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{70}, -64);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{70}, -64);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{71}, -65);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{71}, -65);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{72}, -66);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{72}, -66);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{73}, -67);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{73}, -67);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{74}, -68);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{74}, -68);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{75}, -69);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{75}, -69);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{76}, -70);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{76}, -70);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{77}, -71);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{77}, -71);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});

    return model;
  }

  public static Model run13(Model model) {
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{78}, -72);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{78}, -72);
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", ""}, 
         {"-2.9", ""}, 
         {"-2.8", ""}, 
         {"-2.7", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{79}, -73);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{79}, -73);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -3, 0, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 0, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -2.9, 1, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 1, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -2.8, 2, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 2, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -2.7, 3, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 3, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -2.6, 4, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 4, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -2.5, 5, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 5, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -2.4, 6, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 6, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -2.3, 7, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 7, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -2.2, 8, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 8, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -2.1, 9, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 9, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -2, 10, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 10, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -1.9, 11, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 11, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -1.8, 12, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 12, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -1.7, 13, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 13, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -1.6, 14, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 14, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -1.5, 15, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 15, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -1.4, 16, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 16, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -1.3, 17, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 17, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -1.2, 18, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 18, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -1.1, 19, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 19, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -1, 20, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 20, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.9, 21, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 21, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.8, 22, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 22, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.7, 23, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 23, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.6, 24, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 24, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.5, 25, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 25, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.4, 26, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 26, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.3, 27, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 27, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.2, 28, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 28, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.1, 29, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 29, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 30, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 30, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.1, 31, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 31, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.2, 32, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 32, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.3, 33, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 33, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.4, 34, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 34, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.5, 35, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 35, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.6, 36, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 36, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.7, 37, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 37, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.8, 38, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 38, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.9, 39, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 39, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 1, 40, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 40, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 1.1, 41, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 41, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 1.2, 42, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 42, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 1.3, 43, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 43, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 1.4, 44, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 44, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 1.5, 45, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 45, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 1.6, 46, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 46, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 1.7, 47, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 47, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 1.8, 48, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 48, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 1.9, 49, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 49, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 2, 50, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 50, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 2.1, 51, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 51, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 2.2, 52, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 52, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 2.3, 53, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 53, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 2.4, 54, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 54, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 2.5, 55, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 55, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 2.6, 56, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 56, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 2.7, 57, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 57, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 2.8, 58, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 58, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 2.9, 59, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 59, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 3, 60, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 60, 1);
    model.component("comp1").geom("geom1").feature("pol1").remove("tableconstr", 62);
    model.component("comp1").geom("geom1").feature("pol1").remove("table", new int[]{62});
    model.component("comp1").geom("geom1").feature("pol1").remove("tableconstr", 62);
    model.component("comp1").geom("geom1").feature("pol1").remove("table", new int[]{62});
    model.component("comp1").geom("geom1").feature("pol1").remove("tableconstr", 62);
    model.component("comp1").geom("geom1").feature("pol1").remove("table", new int[]{62});
    model.component("comp1").geom("geom1").feature("pol1").remove("tableconstr", 62);
    model.component("comp1").geom("geom1").feature("pol1").remove("table", new int[]{62});
    model.component("comp1").geom("geom1").feature("pol1").remove("tableconstr", 62);
    model.component("comp1").geom("geom1").feature("pol1").remove("table", new int[]{62});
    model.component("comp1").geom("geom1").feature("pol1").remove("tableconstr", 62);
    model.component("comp1").geom("geom1").feature("pol1").remove("table", new int[]{62});
    model.component("comp1").geom("geom1").feature("pol1").remove("tableconstr", 62);
    model.component("comp1").geom("geom1").feature("pol1").remove("table", new int[]{62});
    model.component("comp1").geom("geom1").feature("pol1").remove("tableconstr", 62);
    model.component("comp1").geom("geom1").feature("pol1").remove("table", new int[]{62});
    model.component("comp1").geom("geom1").feature("pol1").remove("tableconstr", 62);
    model.component("comp1").geom("geom1").feature("pol1").remove("table", new int[]{62});
    model.component("comp1").geom("geom1").feature("pol1").remove("tableconstr", 62);
    model.component("comp1").geom("geom1").feature("pol1").remove("table", new int[]{62});
    model.component("comp1").geom("geom1").feature("pol1").remove("tableconstr", 62);
    model.component("comp1").geom("geom1").feature("pol1").remove("table", new int[]{62});
    model.component("comp1").geom("geom1").feature("pol1").remove("tableconstr", 62);
    model.component("comp1").geom("geom1").feature("pol1").remove("table", new int[]{62});
    model.component("comp1").geom("geom1").feature("pol1").remove("tableconstr", 62);
    model.component("comp1").geom("geom1").feature("pol1").remove("table", new int[]{62});
    model.component("comp1").geom("geom1").feature("pol1").remove("tableconstr", 62);
    model.component("comp1").geom("geom1").feature("pol1").remove("table", new int[]{62});
    model.component("comp1").geom("geom1").feature("pol1").remove("tableconstr", 62);
    model.component("comp1").geom("geom1").feature("pol1").remove("table", new int[]{62});
    model.component("comp1").geom("geom1").feature("pol1").remove("tableconstr", 62);
    model.component("comp1").geom("geom1").feature("pol1").remove("table", new int[]{62});
    model.component("comp1").geom("geom1").feature("pol1").remove("tableconstr", 62);
    model.component("comp1").geom("geom1").feature("pol1").remove("table", new int[]{62});
    model.component("comp1").geom("geom1").feature("pol1").remove("tableconstr", 61);
    model.component("comp1").geom("geom1").feature("pol1").remove("table", new int[]{61});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("table", new String[][]{{"-3", "0"}, 
         {"-2.9", "0"}, 
         {"-2.8", "0"}, 
         {"-2.7", "0"}, 
         {"-2.6", "0"}, 
         {"-2.5", "0"}, 
         {"-2.4", "0"}, 
         {"-2.3", "0"}, 
         {"-2.2", "0"}, 
         {"-2.1", "0"}, 
         {"-2", "0"}, 
         {"-1.9", "0"}, 
         {"-1.8", "0"}, 
         {"-1.7", "0"}, 
         {"-1.6", "0"}, 
         {"-1.5", "0"}, 
         {"-1.4", "0"}, 
         {"-1.3", "0"}, 
         {"-1.2", "0"}, 
         {"-1.1", "0"}, 
         {"-1", "0"}, 
         {"-0.9", "0"}, 
         {"-0.8", "0"}, 
         {"-0.7", "0"}, 
         {"-0.6", "0"}, 
         {"-0.5", "0"}, 
         {"-0.4", "0"}, 
         {"-0.3", "0"}, 
         {"-0.2", "0"}, 
         {"-0.1", "0"}, 
         {"0", "0"}, 
         {"0.1", "0"}, 
         {"0.2", "0"}, 
         {"0.3", "0"}, 
         {"0.4", "0"}, 
         {"0.5", "0"}, 
         {"0.6", "0"}, 
         {"0.7", "0"}, 
         {"0.8", "0"}, 
         {"0.9", "0"}, 
         {"1", "0"}, 
         {"1.1", "0"}, 
         {"1.2", "0"}, 
         {"1.3", "0"}, 
         {"1.4", "0"}, 
         {"1.5", "0"}, 
         {"1.6", "0"}, 
         {"1.7", "0"}, 
         {"1.8", "0"}, 
         {"1.9", "0"}, 
         {"2", "0"}, 
         {"2.1", "0"}, 
         {"2.2", "0"}, 
         {"2.3", "0"}, 
         {"2.4", "0"}, 
         {"2.5", "0"}, 
         {"2.6", "0"}, 
         {"2.7", "0"}, 
         {"2.8", "0"}, 
         {"2.9", "0"}, 
         {"3", "0"}, 
         {"", ""}, 
         {"", ""}});
    model.component("comp1").geom("geom1").feature("pol1")
         .set("tableconstr", new String[]{"off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off", "off", "off", "off", "off", "off", "off", "off", 
         "off", "off", "off"});
    model.component("comp1").geom("geom1").feature("pol1").move("table", new int[]{62}, -1);
    model.component("comp1").geom("geom1").feature("pol1").move("tableconstr", new int[]{62}, -1);
    model.component("comp1").geom("geom1").feature("pol1").remove("tableconstr", 61);
    model.component("comp1").geom("geom1").feature("pol1").remove("table", new int[]{61});
    model.component("comp1").geom("geom1").run("spl1");
    model.component("comp1").geom("geom1").feature("pol1").remove("tableconstr", 60);
    model.component("comp1").geom("geom1").feature("pol1").remove("table", new int[]{60});
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 3, 60, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 60, 1);
    model.component("comp1").geom("geom1").run("pol1");

    model.param().set("R", "1[m]");

    model.component("comp1").geom("geom1").run("fin");
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -1, 0, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 0, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.95, 1, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 1, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.9, 2, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 2, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.85, 3, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 3, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.8, 4, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 4, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.75, 5, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 5, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.7, 6, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 6, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.65, 7, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 7, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.6, 8, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 8, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.55, 9, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 9, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.5, 10, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 10, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.45, 11, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 11, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.4, 12, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 12, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.35, 13, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 13, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.3, 14, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 14, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.25, 15, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 15, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.2, 16, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 16, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.15, 17, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 17, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.1, 18, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 18, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", -0.05, 19, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 19, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 20, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 20, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.05, 21, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 21, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.1, 22, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 22, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.15, 23, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 23, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.2, 24, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 24, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.25, 25, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 25, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.3, 26, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 26, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.35, 27, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 27, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.4, 28, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 28, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.45, 29, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 29, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.5, 30, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 30, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.55, 31, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 31, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.6, 32, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 32, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.65, 33, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 33, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.7, 34, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 34, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.75, 35, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 35, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.8, 36, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 36, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.85, 37, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 37, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.9, 38, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 38, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0.95, 39, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 39, 1);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 1, 40, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 40, 1);
    model.component("comp1").geom("geom1").feature("pol1")
         .remove("tableconstr", new int[]{41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60});
    model.component("comp1").geom("geom1").feature("pol1")
         .remove("table", new int[]{41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60});
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 1, 41, 0);
    model.component("comp1").geom("geom1").feature("pol1").setIndex("table", 0, 41, 1);
    model.component("comp1").geom("geom1").feature("pol1").remove("tableconstr", 40);
    model.component("comp1").geom("geom1").feature("pol1").remove("table", new int[]{40});
    model.component("comp1").geom("geom1").run("pol1");
    model.component("comp1").geom("geom1").run("fin");
    model.component("comp1").geom("geom1").run("pol1");
    model.component("comp1").geom("geom1").run("fin");

    model.component("comp1").common("pres1")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/20)", "0"});
    model.component("comp1").common("pres1").selection().set(2);
    model.component("comp1").common("pres2")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/19)", "0"});
    model.component("comp1").common("pres2").selection().set(3);
    model.component("comp1").common("pres3").selection().set(4);
    model.component("comp1").common("pres3")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/18)", "0"});
    model.component("comp1").common("pres4").selection().set(5);
    model.component("comp1").common("pres4")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/17)", "0"});
    model.component("comp1").common("pres5").selection().set(6);
    model.component("comp1").common("pres5")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/16)", "0"});
    model.component("comp1").common("pres6").selection().set(7);
    model.component("comp1").common("pres6")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/15)", "0"});
    model.component("comp1").common().duplicate("pres7", "pres6");
    model.component("comp1").common().move("pres7", 6);
    model.component("comp1").common().move("free1", 0);
    model.component("comp1").common().duplicate("pres8", "pres7");
    model.component("comp1").common().duplicate("pres9", "pres8");
    model.component("comp1").common().duplicate("pres10", "pres9");
    model.component("comp1").common().duplicate("pres11", "pres10");
    model.component("comp1").common().duplicate("pres12", "pres11");
    model.component("comp1").common().duplicate("pres13", "pres12");
    model.component("comp1").common().duplicate("pres14", "pres13");
    model.component("comp1").common().duplicate("pres15", "pres14");
    model.component("comp1").common().duplicate("pres16", "pres15");
    model.component("comp1").common().duplicate("pres17", "pres16");
    model.component("comp1").common().duplicate("pres18", "pres17");
    model.component("comp1").common().duplicate("pres19", "pres18");
    model.component("comp1").common().duplicate("pres20", "pres19");
    model.component("comp1").common("pres20")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi/1)", "0"});
    model.component("comp1").common().duplicate("pres21", "pres20");
    model.component("comp1").common().duplicate("pres22", "pres21");
    model.component("comp1").common().duplicate("pres23", "pres22");
    model.component("comp1").common().duplicate("pres24", "pres23");
    model.component("comp1").common().duplicate("pres25", "pres24");
    model.component("comp1").common().duplicate("pres26", "pres25");
    model.component("comp1").common().duplicate("pres27", "pres26");
    model.component("comp1").common().duplicate("pres28", "pres27");
    model.component("comp1").common().duplicate("pres29", "pres28");
    model.component("comp1").common().duplicate("pres30", "pres29");
    model.component("comp1").common().duplicate("pres31", "pres30");
    model.component("comp1").common().duplicate("pres32", "pres31");

    return model;
  }

  public static Model run14(Model model) {
    model.component("comp1").common().duplicate("pres33", "pres32");
    model.component("comp1").common().duplicate("pres34", "pres33");
    model.component("comp1").common().duplicate("pres35", "pres34");
    model.component("comp1").common().duplicate("pres36", "pres35");
    model.component("comp1").common().duplicate("pres37", "pres36");
    model.component("comp1").common().duplicate("pres38", "pres37");
    model.component("comp1").common().duplicate("pres39", "pres38");
    model.component("comp1").common().duplicate("pres40", "pres39");
    model.component("comp1").common("pres7").selection().set(8);
    model.component("comp1").common("pres8").selection().set(7, 9);
    model.component("comp1").common("pres9").selection().set(7, 10);
    model.component("comp1").common("pres10").selection().set(7, 11);
    model.component("comp1").common("pres11").selection().set(7, 12);
    model.component("comp1").common("pres12").selection().set(7, 13);
    model.component("comp1").common("pres13").selection().set(7, 14);
    model.component("comp1").common("pres14").selection().set(7, 15);
    model.component("comp1").common("pres15").selection().set(7, 16);
    model.component("comp1").common("pres16").selection().set(7, 19);
    model.component("comp1").common("pres17").selection().set(7, 20);
    model.component("comp1").common("pres18").selection().set(7, 21);
    model.component("comp1").common("pres19").selection().set(7, 22);
    model.component("comp1").common("pres20").selection().set(7, 23);
    model.component("comp1").common("pres21").selection().set(7, 25);
    model.component("comp1").common("pres40").selection().set(7, 45);
    model.component("comp1").common("pres39").selection().set(7, 44);
    model.component("comp1").common("pres38").selection().set(7, 43);
    model.component("comp1").common("pres37").selection().set(7, 42);
    model.component("comp1").common("pres36").selection().set(7, 41);
    model.component("comp1").common("pres35").selection().set(7, 40);
    model.component("comp1").common("pres34").selection().set(7, 39);
    model.component("comp1").common("pres33").selection().set(7, 38);
    model.component("comp1").common("pres32").selection().set(7, 37);
    model.component("comp1").common("pres31").selection().set(7, 36);
    model.component("comp1").common("pres30").selection().set(7, 35);
    model.component("comp1").common("pres29").selection().set(7, 34);
    model.component("comp1").common("pres28").selection().set(7, 33);
    model.component("comp1").common("pres27").selection().set(7, 32);
    model.component("comp1").common("pres26").selection().set(7, 31);
    model.component("comp1").common("pres25").selection().set(7, 30);
    model.component("comp1").common("pres24").selection().set(7, 29);
    model.component("comp1").common("pres23").selection().set(7, 28);
    model.component("comp1").common("pres22").selection().set(7, 27);
    model.component("comp1").common("pres8").selection().set(9);
    model.component("comp1").common("pres9").selection().set(10);
    model.component("comp1").common("pres10").selection().set(11);
    model.component("comp1").common("pres11").selection().set(12);
    model.component("comp1").common("pres12").selection().set(13);
    model.component("comp1").common("pres13").selection().set(14);
    model.component("comp1").common("pres14").selection().set(15);
    model.component("comp1").common("pres15").selection().set(16);
    model.component("comp1").common("pres16").selection().set(19);
    model.component("comp1").common("pres17").selection().set(20);
    model.component("comp1").common("pres18").selection().set(21);
    model.component("comp1").common("pres19").selection().set(22);
    model.component("comp1").common("pres20").selection().set(23);
    model.component("comp1").common("pres21").selection().set(25);
    model.component("comp1").common("pres22").selection().set(27);
    model.component("comp1").common("pres23").selection().set(28);
    model.component("comp1").common("pres24").selection().set(29);
    model.component("comp1").common("pres25").selection().set(30);
    model.component("comp1").common("pres26").selection().set(31);
    model.component("comp1").common("pres27").selection().set(32);
    model.component("comp1").common("pres28").selection().set(33);
    model.component("comp1").common("pres29").selection().set(34);
    model.component("comp1").common("pres30").selection().set(35);
    model.component("comp1").common("pres31").selection().set(36);
    model.component("comp1").common("pres32").selection().set(37);
    model.component("comp1").common("pres33").selection().set(38);
    model.component("comp1").common("pres34").selection().set(39);
    model.component("comp1").common("pres35").selection().set(40);
    model.component("comp1").common("pres36").selection().set(41);
    model.component("comp1").common("pres37").selection().set(42);
    model.component("comp1").common("pres38").selection().set(43);
    model.component("comp1").common("pres39").selection().set(44);
    model.component("comp1").common("pres40").selection().set(45);
    model.component("comp1").common("pres7")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/14)", "0"});
    model.component("comp1").common("pres8")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/13)", "0"});
    model.component("comp1").common("pres9")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/12)", "0"});
    model.component("comp1").common("pres10")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/11)", "0"});
    model.component("comp1").common("pres11")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/10)", "0"});
    model.component("comp1").common("pres12")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/9)", "0"});
    model.component("comp1").common("pres13")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/8)", "0"});
    model.component("comp1").common("pres14")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/7)", "0"});
    model.component("comp1").common("pres15")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/6)", "0"});
    model.component("comp1").common("pres16")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/5)", "0"});
    model.component("comp1").common("pres17")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/4)", "0"});
    model.component("comp1").common("pres18")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/3)", "0"});
    model.component("comp1").common("pres19")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/2)", "0"});
    model.component("comp1").common("pres20")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/1)", "0"});
    model.component("comp1").common("pres21").set("prescribedDeformation", new String[]{"0", "singleWave(t,0)", "0"});
    model.component("comp1").common("pres20")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/20)", "0"});
    model.component("comp1").common("pres19")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi/20)", "0"});
    model.component("comp1").common("pres20")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(1/20))", "0"});
    model.component("comp1").common("pres19")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(2/20))", "0"});
    model.component("comp1").common("pres18")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(3/20))", "0"});
    model.component("comp1").common("pres17")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(4/20))", "0"});
    model.component("comp1").common("pres16")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(5/20))", "0"});
    model.component("comp1").common("pres15")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(6/20))", "0"});
    model.component("comp1").common("pres14")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(7/20))", "0"});
    model.component("comp1").common("pres13")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(8/20))", "0"});
    model.component("comp1").common("pres12")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(9/20))", "0"});
    model.component("comp1").common("pres11")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(10/20))", "0"});
    model.component("comp1").common("pres10")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(11/20))", "0"});
    model.component("comp1").common("pres9")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(12/20))", "0"});
    model.component("comp1").common("pres8")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(13/20))", "0"});
    model.component("comp1").common("pres7")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(14/20))", "0"});
    model.component("comp1").common("pres6")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(15/20))", "0"});
    model.component("comp1").common("pres5")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(16/20))", "0"});
    model.component("comp1").common("pres4")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(17/20))", "0"});
    model.component("comp1").common("pres3")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(18/20))", "0"});
    model.component("comp1").common("pres2")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(19/20))", "0"});
    model.component("comp1").common("pres1")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(20/20))", "0"});
    model.component("comp1").common("pres21")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(1/20))", "0"});
    model.component("comp1").common("pres22")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(2/20))", "0"});
    model.component("comp1").common("pres23")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(3/20))", "0"});
    model.component("comp1").common("pres24")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(4/20))", "0"});
    model.component("comp1").common("pres25")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(5/20))", "0"});
    model.component("comp1").common("pres26")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(6/20))", "0"});
    model.component("comp1").common("pres27")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(7/20))", "0"});
    model.component("comp1").common("pres28")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(8/20))", "0"});
    model.component("comp1").common("pres29")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(9/20))", "0"});
    model.component("comp1").common("pres30")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(10/20))", "0"});
    model.component("comp1").common("pres31")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(11/20))", "0"});
    model.component("comp1").common("pres32")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(12/20))", "0"});
    model.component("comp1").common("pres33")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(13/20))", "0"});
    model.component("comp1").common("pres34")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(14/20))", "0"});
    model.component("comp1").common("pres35")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(15/20))", "0"});
    model.component("comp1").common("pres36")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(16/20))", "0"});
    model.component("comp1").common("pres37")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(17/20))", "0"});
    model.component("comp1").common("pres38")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(18/20))", "0"});
    model.component("comp1").common("pres39")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(19/20))", "0"});
    model.component("comp1").common("pres40")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(20/20))", "0"});

    model.component("comp1").mesh("mesh1").run();

    model.component("comp1").common("pres1")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(20/20))*initRamp1", "0"});
    model.component("comp1").common("pres2")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(19/20))*initRamp1", "0"});
    model.component("comp1").common("pres3")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(18/20))*initRamp1", "0"});
    model.component("comp1").common("pres4")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(17/20))*initRamp1", "0"});
    model.component("comp1").common("pres5")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(16/20))*initRamp1", "0"});
    model.component("comp1").common("pres6")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(15/20))*initRamp1", "0"});
    model.component("comp1").common("pres7")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(14/20))*initRamp1", "0"});
    model.component("comp1").common("pres8")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(13/20))*initRamp1", "0"});
    model.component("comp1").common("pres9")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(12/20))*initRamp1", "0"});
    model.component("comp1").common("pres10")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(11/20))", "0"});
    model.component("comp1").common("pres9")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(12/20))", "0"});
    model.component("comp1").common("pres8")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(13/20))", "0"});
    model.component("comp1").common("pres7")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(14/20))", "0"});
    model.component("comp1").common("pres6")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(15/20))", "0"});
    model.component("comp1").common("pres5")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(16/20))", "0"});
    model.component("comp1").common("pres4")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(17/20))", "0"});
    model.component("comp1").common("pres3")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(18/20))", "0"});
    model.component("comp1").common("pres2")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(19/20))", "0"});
    model.component("comp1").common("pres1")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(20/20))", "0"});

    model.component("comp1").func("int1").setIndex("table", ".05", 1, 0);
    model.component("comp1").func("int1").setIndex("table", ".1", 1, 0);

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 83);
    model.result().export("anim1").set("showframe", 83);

    model.component("comp1").func("int1").setIndex("table", ".2", 1, 0);

    model.study("std1").feature("time").set("tlist", "range(0,1/f/50,1)");

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 605);
    model.result().export("anim1").set("showframe", 605);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").run();
    model.result("pg1").run();
    model.result("pg1").run();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("plotgroup", "pg1");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 485);
    model.result("pg1").run();
    model.result("pg1").set("looplevel", new int[]{1});
    model.result("pg1").run();
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();

    model.component("comp1").func("an1").set("expr", "0.001*sin(2*pi*400*t+phase)*initRamp1(t)");

    model.result().export("anim1").set("plotgroup", "pg3");
    model.result().export("anim1").set("showframe", 1);
    model.result("pg3").run();

    model.study("std1").feature("time").set("tlist", "range(0,1/f/50,.1)");

    model.component("comp1").func("an1").set("expr", ".1*sin(2*pi*400*t+phase)*initRamp1(t)");
    model.component("comp1").func("int1").setIndex("table", "2/f", 1, 0);
    model.component("comp1").func("int1").setIndex("table", "5f", 1, 0);

    model.sol("sol1").feature("t1").feature("ar1").active(true);

    model.result().create("pg4", "PlotGroup2D");
    model.result("pg4").set("data", "dset2");
    model.result("pg4").create("surf1", "Surface");
    model.result("pg4").feature("surf1").set("expr", new String[]{"actd.p_t"});
    model.result("pg4").feature("surf1").set("colortable", "Wave");
    model.result("pg4").feature("surf1").set("colorscalemode", "linearsymmetric");
    model.result("pg4").set("showlegendsunit", true);
    model.result("pg4").label("Acoustic Pressure (actd) 1");
    model.result().remove("pg4");
    model.result("pg3").run();

    model.sol("sol1").feature("t1").feature("ar1").active(false);

    model.result().create("pg4", "PlotGroup2D");
    model.result("pg4").create("line1", "Line");

    model.component("comp1").probe().create("point1", "Point");

    model.component("comp1").geom("geom1").run("pol1");
    model.component("comp1").geom("geom1").create("pt2", "Point");
    model.component("comp1").geom("geom1").feature("pt2").setIndex("p", "x1", 1);
    model.component("comp1").geom("geom1").feature("pt2").setIndex("p", "y1/2", 0);
    model.component("comp1").geom("geom1").run("pt2");
    model.component("comp1").geom("geom1").feature("pt2").label("HalfwayProbe");
    model.component("comp1").geom("geom1").run("pt2");
    model.component("comp1").geom("geom1").run("fin");

    model.component("comp1").probe("point1").selection()
         .remove(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55);
    model.component("comp1").probe("point1").selection().set(21);
    model.component("comp1").probe("point1").label("Halfwayprobe");
    model.component("comp1").probe("point1").set("probename", "HalfwayPoint");
    model.component("comp1").probe("point1").genResult("sol2");

    model.result().numerical("pev1").set("table", "tbl1");
    model.result().numerical("pev1").set("innerinput", "all");
    model.result().numerical("pev1").set("outerinput", "all");
    model.result().numerical("pev1").setResult();
    model.result("pg5").feature("tblp1").set("plotcolumns", new int[]{2});
    model.result("pg5").feature("tblp1").set("xaxisdata", "auto");
    model.result("pg5").run();

    model.component("comp1").func("an1").set("expr", ".01*sin(2*pi*400*t+phase)*initRamp1(t)");

    model.component("comp1").probe("point1").genResult("none");

    model.sol("sol1").runAll();

    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").run();
    model.result().remove("pg4");
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").run();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("plotgroup", "pg1");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 1001);
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 1);
    model.result("pg1").feature("surf1").set("rangecoloractive", true);
    model.result("pg1").feature("surf1").set("rangedataactive", true);
    model.result("pg1").feature("surf1").set("rangedatamax", 3);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").setIndex("looplevel", 21, 0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").set("rangedatamin", -10);
    model.result("pg1").feature("surf1").set("rangedatamax", 10);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").setIndex("looplevel", 35, 0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").setIndex("looplevel", 52, 0);
    model.result("pg1").run();
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 34);
    model.result().export("anim1").set("framesel", "number");
    model.result().export("anim1").set("showframe", 1);
    model.result().export("anim1").set("framesel", "all");
    model.result().export("anim1").set("showframe", 34);
    model.result("pg1").feature("surf1").setIndex("looplevel", 1, 0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepPrevious(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("looplevelinput", "manualindices");
    model.result().export("anim1").set("looplevelindices", "range(1,1,10)");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 10);
    model.result().export("anim1").set("showframe", 10);
    model.result().export("anim1").set("looplevelindices", "range(1,1,50)");

    model.component("comp1").mesh("mesh1").autoMeshSize(2);

    model.component("comp1").probe("point1").genResult("none");

    model.sol("sol1").runAll();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 50);
    model.result().export("anim1").set("showframe", 1);

    model.study("std1").feature("time").set("tlist", "range(0,1/f/100,.1)");

    model.component("comp1").mesh("mesh1").autoMeshSize(4);
    model.component("comp1").mesh("mesh1").run();

    model.component("comp1").probe("point1").genResult("none");

    model.component("comp1").geom("geom1").feature().remove("pc1");
    model.component("comp1").geom("geom1").feature().remove("par1");
    model.component("comp1").geom("geom1").feature().remove("del1");
    model.component("comp1").geom("geom1").run();

    model.component("comp1").physics("actd").feature("pr1").set("p0", 0);

    model.component("comp1").func("an1").set("expr", "presAmp*sin(2*pi*400*t+phase)*initRamp1(t)");

    model.param().rename("a", "presAmp");
    model.param().set("presAmp", "1[Pa]");

    model.component("comp1").physics("actd").feature("pr1").set("p0", "presAmp");

    model.param().set("presAmp", "2[Pa]");

    model.component("comp1").func("an1").set("expr", "waterAmp*sin(2*pi*400*t+phase)*initRamp1(t)");

    model.param().set("waterAmp", ".1[m]");
    model.param().descr("waterAmp", "Amplitude of water wave");

    model.component("comp1").probe("point1").genResult("none");

    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 4);
    model.result().export("anim1").set("looplevelinput", "interp");
    model.result().export("anim1").set("interp", "range(1,1,100)");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 100);
    model.result().export("anim1").set("showframe", 1);
    model.result().export("anim1").set("framesel", "all");
    model.result().export("anim1").set("showframe", 1);
    model.result().export("anim1").set("looplevelinput", "manualindices");
    model.result().export("anim1").set("looplevelindices", "range(1,1,100)");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 1);
    model.result().export("anim1").set("looplevelindices", "range(1,1,20)");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 20);
    model.result().export("anim1").set("showframe", 20);
    model.result().export("anim1").set("looplevelindices", "range(1,1,40)");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 40);
    model.result().export("anim1").set("showframe", 1);

    model.component("comp1").func("int1").setIndex("table", "3f", 1, 0);
    model.component("comp1").func("int1").remove("table", 2);
    model.component("comp1").func("int1").setIndex("table", 1, 2, 0);
    model.component("comp1").func("int1").setIndex("table", 1, 2, 1);

    model.component("comp1").probe("point1").genResult("none");

    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("looplevelinput", "all");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 690);
    model.result().export("anim1").set("showframe", 690);

    model.sol("sol1").feature("v1").set("control", "time");
    model.sol("sol1").feature("v1").feature("comp1_p").set("scalemethod", "manual");
    model.sol("sol1").feature("v1").feature("comp1_p").set("scaleval", ".7");

    model.component("comp1").probe("point1").genResult("none");

    model.study("std1").feature("time").set("tlist", "range(0,1/f/10,.1)");

    model.component("comp1").probe("point1").genResult("none");

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 106);
    model.result().export("anim1").set("showframe", 106);

    model.component("comp1").common("pres1")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(20/20))*.1", "0"});
    model.component("comp1").common("pres2")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(19/20))*.5", "0"});
    model.component("comp1").common("pres3")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(18/20))*.9", "0"});
    model.component("comp1").common("pres40")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(20/20))*.1", "0"});
    model.component("comp1").common("pres39")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(19/20))*.5", "0"});
    model.component("comp1").common("pres38")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(18/20))*.9", "0"});

    model.component("comp1").probe("point1").genResult("none");

    model.sol("sol1").runAll();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 201);
    model.result().export("anim1").set("showframe", 155);
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 1);
    model.result().export("anim1").set("plotgroup", "pg3");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 1);
    model.result().export("anim1").set("framesel", "number");
    model.result().export("anim1").set("showframe", 1);
    model.result().export("anim1").set("looplevelinput", "interp");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 100);
    model.result().export("anim1").set("framesel", "all");
    model.result().export("anim1").set("showframe", 1);

    return model;
  }

  public static Model run15(Model model) {
    model.result().export("anim1").set("solnumtype", "inner");
    model.result().export("anim1").set("timeinterp", true);
    model.result().export("anim1").set("solnumtype", "level1");
    model.result().export("anim1").set("looplevelinput", "all");
    model.result().export("anim1").set("solnumtype", "level1");
    model.result().export("anim1").set("looplevelinput", "manual");
    model.result().export("anim1")
         .set("looplevel", new int[]{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73});
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 73);
    model.result().export("anim1").set("showframe", 3);

    model.study("std1").feature("time").set("tlist", "range(0,1/f/10,.05)");

    model.param().set("waterAmp", ".2[m]");

    model.component("comp1").probe("point1").genResult("none");

    model.sol("sol1").runAll();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 59);

    model.component("comp1").func("int1").setIndex("table", "3/f", 1, 0);
    model.component("comp1").func("int1").setIndex("table", "3f", 1, 0);
    model.component("comp1").func("int1").setIndex("table", "3/f", 1, 0);

    model.param().set("waterAmp", ".1[m]");

    model.study("std1").feature("time").set("tlist", "range(0,1/f/10,.04)");

    model.component("comp1").probe("point1").genResult("none");

    model.sol("sol1").runAll();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 69);
    model.result().export("anim1").set("plotgroup", "pg1");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 25);

    model.study("std1").feature("time").set("tlist", "range(0,1/f/100,.04)");

    model.component("comp1").probe("point1").genResult("none");

    model.sol("sol1").runAll();

    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").set("rangedatamin", -1);
    model.result("pg1").feature("surf1").set("rangedatamax", 1);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").stepNext(0);
    model.result("pg1").run();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 73);
    model.result().export("anim1")
         .set("looplevel", new int[]{73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127});
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("maxframes", 55);
    model.result().export("anim1").set("showframe", 1);
    model.result("pg1").feature("surf1").set("rangedatamin", -2);
    model.result("pg1").feature("surf1").set("rangedatamax", 2);
    model.result("pg1").feature("surf1").set("rangedatamin", -1);
    model.result("pg1").feature("surf1").set("rangedatamax", 1);
    model.result("pg1").feature("surf1").set("rangedatamin", -3);
    model.result("pg1").feature("surf1").set("rangedatamax", 3);
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 1);

    model.component("comp1").probe().create("bnd1", "Boundary");
    model.component("comp1").probe("bnd1").set("intsurface", true);
    model.component("comp1").probe("bnd1").selection().set(23);
    model.component("comp1").probe("bnd1").set("probename", "centerProb");

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 55);

    model.component("comp1").probe("bnd1").label("centerProbBoundary");
    model.component("comp1").probe("point1").genResult("none");
    model.component("comp1").probe("bnd1").genResult("none");

    model.sol("sol1").runAll();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").run();
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").set("axislimits", true);
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").run();
    model.result("pg5").set("xmin", 0);
    model.result("pg5").set("xmax", ".1");
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").run();
    model.result("pg5").set("xmax", ".04");
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").run();
    model.result("pg5").set("ymax", 10);
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").run();
    model.result("pg5").set("ymin", -10);
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").run();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 1);

    model.component("comp1").geom("geom1").feature("pol1").set("source", "file");
    model.component("comp1").geom("geom1").feature("pol1")
         .set("filename", "E:\\COMSOL_Shahrooz\\LineSpacingGenerator_10mm.csv");
    model.component("comp1").geom("geom1").run("spl1");
    model.component("comp1").geom("geom1").run("spl1");
    model.component("comp1").geom("geom1").feature("pol1").set("type", "closed");
    model.component("comp1").geom("geom1").run("spl1");
    model.component("comp1").geom("geom1").run("spl1");
    model.component("comp1").geom("geom1").run("spl1");
    model.component("comp1").geom("geom1").feature("pol1").set("source", "file");
    model.component("comp1").geom("geom1").feature("pol1").importData();
    model.component("comp1").geom("geom1").run("fin");

    model.component("comp1").common("pres1")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(10/100))", "0"});
    model.component("comp1").common("pres2").selection().set(3);
    model.component("comp1").common("pres1")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(1/100))", "0"});
    model.component("comp1").common("pres2")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(2/100))", "0"});
    model.component("comp1").common("pres3").selection().set(4);
    model.component("comp1").common("pres3")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(3/100))", "0"});
    model.component("comp1").common("pres4").selection().set(5);
    model.component("comp1").common("pres4")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(4/100))", "0"});
    model.component("comp1").common("pres5").selection().set(6);
    model.component("comp1").common("pres5")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(5/100))", "0"});
    model.component("comp1").common("pres6").selection().set(7);
    model.component("comp1").common("pres6")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(6/100))", "0"});
    model.component("comp1").common("pres7").selection().set(8);
    model.component("comp1").common("pres7")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(7/100))", "0"});
    model.component("comp1").common("pres8").selection().set(9);
    model.component("comp1").common("pres8")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(8/100))", "0"});
    model.component("comp1").common("pres8").selection().set(9);
    model.component("comp1").common("pres9").selection().set(10);
    model.component("comp1").common("pres9")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(9/100))", "0"});
    model.component("comp1").common("pres10").selection().set(11);
    model.component("comp1").common("pres10")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(10/100))", "0"});
    model.component("comp1").common("pres11").selection().set(12);
    model.component("comp1").common("pres11")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(11/100))", "0"});
    model.component("comp1").common("pres12").selection().set(13);
    model.component("comp1").common("pres12")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(12/100))", "0"});
    model.component("comp1").common("pres13").selection().set(14);
    model.component("comp1").common("pres13")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(13/100))", "0"});
    model.component("comp1").common("pres14").selection().set(15);
    model.component("comp1").common("pres14")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(14/100))", "0"});
    model.component("comp1").common("pres15").selection().set(16);
    model.component("comp1").common("pres15")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(15/100))", "0"});
    model.component("comp1").common("pres16").selection().set(17);
    model.component("comp1").common("pres16")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(16/100))", "0"});
    model.component("comp1").common("pres17").selection().set(18);
    model.component("comp1").common("pres17")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(17/100))", "0"});
    model.component("comp1").common("pres18").selection().set(19);
    model.component("comp1").common("pres18")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(18/100))", "0"});
    model.component("comp1").common("pres19").selection().set(20);
    model.component("comp1").common("pres19")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(19/100))", "0"});
    model.component("comp1").common("pres20").selection().set(21);
    model.component("comp1").common("pres20")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(20/100))", "0"});
    model.component("comp1").common("pres21").selection().set(22);
    model.component("comp1").common("pres21")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(21/100))", "0"});
    model.component("comp1").common("pres22").selection().set(23);
    model.component("comp1").common("pres22")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(22/100))", "0"});
    model.component("comp1").common("pres23").selection().set(24);
    model.component("comp1").common("pres23")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(23/100))", "0"});
    model.component("comp1").common("pres24").selection().set(25);
    model.component("comp1").common("pres24")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(24/100))", "0"});
    model.component("comp1").common("pres25").selection().set(26);
    model.component("comp1").common("pres25")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(25/100))", "0"});
    model.component("comp1").common("pres1")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(100/100))", "0"});
    model.component("comp1").common("pres2")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(99/100))", "0"});
    model.component("comp1").common("pres3")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(98/100))", "0"});
    model.component("comp1").common("pres4")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(97/100))", "0"});
    model.component("comp1").common("pres5")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(96/100))", "0"});
    model.component("comp1").common("pres6")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(95/100))", "0"});
    model.component("comp1").common("pres7")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(94/100))", "0"});
    model.component("comp1").common("pres8")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(93/100))", "0"});
    model.component("comp1").common("pres9")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(92/100))", "0"});
    model.component("comp1").common("pres10")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(91/100))", "0"});
    model.component("comp1").common("pres11")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(90/100))", "0"});
    model.component("comp1").common("pres12")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(89/100))", "0"});
    model.component("comp1").common("pres13")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(88/100))", "0"});
    model.component("comp1").common("pres14")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(187/100))", "0"});
    model.component("comp1").common("pres15")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(86/100))", "0"});
    model.component("comp1").common("pres14")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(87/100))", "0"});
    model.component("comp1").common("pres16")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(85/100))", "0"});
    model.component("comp1").common("pres17")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(84/100))", "0"});
    model.component("comp1").common("pres18")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(83/100))", "0"});
    model.component("comp1").common("pres19")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(82/100))", "0"});
    model.component("comp1").common("pres20")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(81/100))", "0"});
    model.component("comp1").common("pres21")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(80/100))", "0"});
    model.component("comp1").common("pres22")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(79/100))", "0"});
    model.component("comp1").common("pres23")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(78/100))", "0"});
    model.component("comp1").common("pres24")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(77/100))", "0"});
    model.component("comp1").common("pres25")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(76/100))", "0"});
    model.component("comp1").common("pres26").selection().set(27);
    model.component("comp1").common("pres26")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(75/100))", "0"});
    model.component("comp1").common("pres27").selection().set(28);
    model.component("comp1").common("pres27")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(74/100))", "0"});
    model.component("comp1").common("pres28").selection().set(29);
    model.component("comp1").common("pres28")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(73/100))", "0"});
    model.component("comp1").common("pres29").selection().set(30);
    model.component("comp1").common("pres29")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(72/100))", "0"});
    model.component("comp1").common("pres30").selection().set(31);
    model.component("comp1").common("pres30")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(71/100))", "0"});
    model.component("comp1").common("pres31").selection().set(32);
    model.component("comp1").common("pres31")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(70/100))", "0"});
    model.component("comp1").common("pres32")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(69/100))", "0"});
    model.component("comp1").common("pres32").selection().set(33);
    model.component("comp1").common("pres33").selection().set(34);
    model.component("comp1").common("pres33")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(68/100))", "0"});
    model.component("comp1").common("pres34").selection().set(35);
    model.component("comp1").common("pres34")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(67/100))", "0"});
    model.component("comp1").common("pres35").selection().set(36);
    model.component("comp1").common("pres35")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(66/100))", "0"});
    model.component("comp1").common("pres36").selection().set(37);
    model.component("comp1").common("pres36")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(65/100))", "0"});
    model.component("comp1").common("pres37").selection().set(38);
    model.component("comp1").common("pres37")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(64/100))", "0"});
    model.component("comp1").common("pres38").selection().set(39);
    model.component("comp1").common("pres38")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(63/100))", "0"});
    model.component("comp1").common("pres39").selection().set(40);
    model.component("comp1").common("pres39")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(62/100))", "0"});
    model.component("comp1").common("pres40").selection().set(41, 205);
    model.component("comp1").common("pres40")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(61/100))", "0"});
    model.component("comp1").common("pres40").selection().set(41);
    model.component("comp1").common().duplicate("pres41", "pres40");
    model.component("comp1").common("pres41").selection().set();
    model.component("comp1").common().duplicate("pres42", "pres41");
    model.component("comp1").common().duplicate("pres43", "pres42");
    model.component("comp1").common().duplicate("pres44", "pres43");
    model.component("comp1").common().duplicate("pres45", "pres44");
    model.component("comp1").common().duplicate("pres46", "pres45");
    model.component("comp1").common().duplicate("pres47", "pres46");
    model.component("comp1").common().duplicate("pres48", "pres47");
    model.component("comp1").common().duplicate("pres49", "pres48");
    model.component("comp1").common().duplicate("pres50", "pres49");
    model.component("comp1").common().duplicate("pres51", "pres50");
    model.component("comp1").common().duplicate("pres52", "pres51");
    model.component("comp1").common().duplicate("pres53", "pres52");
    model.component("comp1").common().duplicate("pres54", "pres53");
    model.component("comp1").common().duplicate("pres55", "pres54");
    model.component("comp1").common().duplicate("pres56", "pres55");
    model.component("comp1").common().duplicate("pres57", "pres56");
    model.component("comp1").common().duplicate("pres58", "pres57");
    model.component("comp1").common().duplicate("pres59", "pres58");
    model.component("comp1").common().duplicate("pres60", "pres59");
    model.component("comp1").common().duplicate("pres61", "pres60");
    model.component("comp1").common().duplicate("pres62", "pres61");
    model.component("comp1").common().duplicate("pres63", "pres62");
    model.component("comp1").common().duplicate("pres64", "pres63");
    model.component("comp1").common().duplicate("pres65", "pres64");
    model.component("comp1").common().duplicate("pres66", "pres65");
    model.component("comp1").common().duplicate("pres67", "pres66");
    model.component("comp1").common().duplicate("pres68", "pres67");
    model.component("comp1").common().duplicate("pres69", "pres68");
    model.component("comp1").common().duplicate("pres70", "pres69");
    model.component("comp1").common().duplicate("pres71", "pres70");
    model.component("comp1").common().duplicate("pres72", "pres71");
    model.component("comp1").common().duplicate("pres73", "pres72");
    model.component("comp1").common().duplicate("pres74", "pres73");
    model.component("comp1").common().duplicate("pres75", "pres74");
    model.component("comp1").common().duplicate("pres76", "pres75");
    model.component("comp1").common().duplicate("pres77", "pres76");
    model.component("comp1").common().duplicate("pres78", "pres77");
    model.component("comp1").common().duplicate("pres79", "pres78");
    model.component("comp1").common().duplicate("pres80", "pres79");
    model.component("comp1").common().duplicate("pres81", "pres80");
    model.component("comp1").common().duplicate("pres82", "pres81");
    model.component("comp1").common().duplicate("pres83", "pres82");
    model.component("comp1").common().duplicate("pres84", "pres83");
    model.component("comp1").common().duplicate("pres85", "pres84");
    model.component("comp1").common().duplicate("pres86", "pres85");
    model.component("comp1").common().duplicate("pres87", "pres86");
    model.component("comp1").common().duplicate("pres88", "pres87");
    model.component("comp1").common().duplicate("pres89", "pres88");
    model.component("comp1").common().duplicate("pres90", "pres89");
    model.component("comp1").common().duplicate("pres91", "pres90");
    model.component("comp1").common().duplicate("pres92", "pres91");
    model.component("comp1").common().duplicate("pres93", "pres92");
    model.component("comp1").common().duplicate("pres94", "pres93");
    model.component("comp1").common().duplicate("pres95", "pres94");
    model.component("comp1").common().duplicate("pres96", "pres95");
    model.component("comp1").common().duplicate("pres97", "pres96");
    model.component("comp1").common().duplicate("pres98", "pres97");
    model.component("comp1").common().duplicate("pres99", "pres98");
    model.component("comp1").common().duplicate("pres100", "pres99");
    model.component("comp1").common("pres41").selection().set(42);
    model.component("comp1").common("pres41")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(60/100))", "0"});
    model.component("comp1").common("pres42").selection().set(43);
    model.component("comp1").common("pres42")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(59/100))", "0"});
    model.component("comp1").common("pres43").selection().set(44);
    model.component("comp1").common("pres43")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(58/100))", "0"});
    model.component("comp1").common("pres44").selection().set(45);
    model.component("comp1").common("pres44")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(57/100))", "0"});
    model.component("comp1").common("pres45").selection().set(46);
    model.component("comp1").common("pres45")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(56/100))", "0"});
    model.component("comp1").common("pres46").selection().set(47);
    model.component("comp1").common("pres46")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(55/100))", "0"});
    model.component("comp1").common("pres47").selection().set(48);
    model.component("comp1").common("pres47")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(54/100))", "0"});
    model.component("comp1").common("pres48").selection().set(49);
    model.component("comp1").common("pres48")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(53/100))", "0"});
    model.component("comp1").common("pres49").selection().set(50);
    model.component("comp1").common("pres49")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(52/100))", "0"});
    model.component("comp1").common("pres50").selection().set(51);
    model.component("comp1").common("pres50")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(51/100))", "0"});
    model.component("comp1").common("pres51").selection().set(52);
    model.component("comp1").common("pres51")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(50/100))", "0"});
    model.component("comp1").common("pres52").selection().set(53);
    model.component("comp1").common("pres52")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(59/100))", "0"});
    model.component("comp1").common("pres53").selection().set(54);
    model.component("comp1").common("pres53")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(58/100))", "0"});
    model.component("comp1").common("pres54").selection().set(55);
    model.component("comp1").common("pres54")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(57/100))", "0"});
    model.component("comp1").common("pres55").selection().set(56);
    model.component("comp1").common("pres55")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(56/100))", "0"});

    return model;
  }

  public static Model run16(Model model) {
    model.component("comp1").common("pres56").selection().set(57);
    model.component("comp1").common("pres56")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(55/100))", "0"});
    model.component("comp1").common("pres57").selection().set(58);
    model.component("comp1").common("pres57")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(54/100))", "0"});
    model.component("comp1").common("pres58").selection().set(59);
    model.component("comp1").common("pres58")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(53/100))", "0"});
    model.component("comp1").common("pres59").selection().set(60);
    model.component("comp1").common("pres59")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(52/100))", "0"});
    model.component("comp1").common("pres60").selection().set(61);
    model.component("comp1").common("pres60")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(51/100))", "0"});
    model.component("comp1").common("pres61").selection().set(62);
    model.component("comp1").common("pres61")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(50/100))", "0"});
    model.component("comp1").common("pres52")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(49/100))", "0"});
    model.component("comp1").common("pres53")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(48/100))", "0"});
    model.component("comp1").common("pres54")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(47/100))", "0"});
    model.component("comp1").common("pres55")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(46/100))", "0"});
    model.component("comp1").common("pres56")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(45/100))", "0"});
    model.component("comp1").common("pres57")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(44/100))", "0"});
    model.component("comp1").common("pres58")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(43/100))", "0"});
    model.component("comp1").common("pres59")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(42/100))", "0"});
    model.component("comp1").common("pres60")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(41/100))", "0"});
    model.component("comp1").common("pres61")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(40/100))", "0"});
    model.component("comp1").common("pres62").selection().set(63);
    model.component("comp1").common("pres62")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(39/100))", "0"});
    model.component("comp1").common("pres63").selection().set(64);
    model.component("comp1").common("pres63")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(38/100))", "0"});
    model.component("comp1").common("pres64").selection().set(65);
    model.component("comp1").common("pres64")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(37/100))", "0"});
    model.component("comp1").common("pres65").selection().set(66);
    model.component("comp1").common("pres65")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(36/100))", "0"});
    model.component("comp1").common("pres66").selection().set(67);
    model.component("comp1").common("pres66")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(35/100))", "0"});
    model.component("comp1").common("pres67").selection().set(68);
    model.component("comp1").common("pres67")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(34/100))", "0"});
    model.component("comp1").common("pres68").selection().set(69);
    model.component("comp1").common("pres68")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(33/100))", "0"});
    model.component("comp1").common("pres69").selection().set(70);
    model.component("comp1").common("pres69")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(32/100))", "0"});
    model.component("comp1").common("pres70").selection().set(71);
    model.component("comp1").common("pres70")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(31/100))", "0"});
    model.component("comp1").common("pres71").selection().set(72);
    model.component("comp1").common("pres71")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(30/100))", "0"});
    model.component("comp1").common("pres72").selection().set(73);
    model.component("comp1").common("pres72")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(29/100))", "0"});
    model.component("comp1").common("pres73").selection().set(75);
    model.component("comp1").common("pres73")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(28/100))", "0"});
    model.component("comp1").common("pres74").selection().set(76);
    model.component("comp1").common("pres74")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(27/100))", "0"});
    model.component("comp1").common("pres75").selection().set(77);
    model.component("comp1").common("pres75")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(26/100))", "0"});
    model.component("comp1").common("pres76").selection().set(79);
    model.component("comp1").common("pres76")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(25/100))", "0"});
    model.component("comp1").common("pres77").selection().set(80);
    model.component("comp1").common("pres77")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(24/100))", "0"});
    model.component("comp1").common("pres78").selection().set(81);
    model.component("comp1").common("pres78")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(23/100))", "0"});
    model.component("comp1").common("pres79").selection().set(82);
    model.component("comp1").common("pres79")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(22/100))", "0"});
    model.component("comp1").common("pres80").selection().set(83);
    model.component("comp1").common("pres80")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(21/100))", "0"});
    model.component("comp1").common("pres81").selection().set(84);
    model.component("comp1").common("pres81")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(20/100))", "0"});
    model.component("comp1").common("pres82").selection().set(85);
    model.component("comp1").common("pres82")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(19/100))", "0"});
    model.component("comp1").common("pres83").selection().set(86);
    model.component("comp1").common("pres83")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(18/100))", "0"});
    model.component("comp1").common("pres84").selection().set(87);
    model.component("comp1").common("pres84")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(17/100))", "0"});
    model.component("comp1").common("pres85").selection().set(88);
    model.component("comp1").common("pres85")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(16/100))", "0"});
    model.component("comp1").common("pres86").selection().set(89);
    model.component("comp1").common("pres86")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(15/100))", "0"});
    model.component("comp1").common("pres87").selection().set(90);
    model.component("comp1").common("pres87")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(14/100))", "0"});
    model.component("comp1").common("pres88").selection().set(91);
    model.component("comp1").common("pres88")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(13/100))", "0"});
    model.component("comp1").common("pres89").selection().set(92);
    model.component("comp1").common("pres89")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(12/100))", "0"});
    model.component("comp1").common("pres90").selection().set(93);
    model.component("comp1").common("pres90")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(11/100))", "0"});
    model.component("comp1").common("pres91").selection().set(94);
    model.component("comp1").common("pres91")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(10/100))", "0"});
    model.component("comp1").common("pres92").selection().set(95);
    model.component("comp1").common("pres92")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(9/100))", "0"});
    model.component("comp1").common("pres93").selection().set(96);
    model.component("comp1").common("pres93")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(8/100))", "0"});
    model.component("comp1").common("pres94").selection().set(97);
    model.component("comp1").common("pres94")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(7/100))", "0"});
    model.component("comp1").common("pres95").selection().set(98);
    model.component("comp1").common("pres95")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(6/100))", "0"});
    model.component("comp1").common("pres96").selection().set(99);
    model.component("comp1").common("pres96")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(5/100))", "0"});
    model.component("comp1").common("pres97").selection().set(100);
    model.component("comp1").common("pres97")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(4/100))", "0"});
    model.component("comp1").common("pres98").selection().set(101);
    model.component("comp1").common("pres98")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(3/100))", "0"});
    model.component("comp1").common("pres99").selection().set(102);
    model.component("comp1").common("pres99")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(2/100))", "0"});
    model.component("comp1").common("pres100").selection().set(103);
    model.component("comp1").common("pres100")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(1/100))", "0"});
    model.component("comp1").common().duplicate("pres101", "pres100");
    model.component("comp1").common("pres101")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(1/100))", "0"});
    model.component("comp1").common("pres101").selection().set(105);
    model.component("comp1").common().duplicate("pres102", "pres101");
    model.component("comp1").common("pres102").selection().set();
    model.component("comp1").common().duplicate("pres103", "pres102");
    model.component("comp1").common().duplicate("pres104", "pres103");
    model.component("comp1").common().duplicate("pres105", "pres104");
    model.component("comp1").common().duplicate("pres106", "pres105");
    model.component("comp1").common().duplicate("pres107", "pres106");
    model.component("comp1").common().duplicate("pres108", "pres107");
    model.component("comp1").common().duplicate("pres109", "pres108");
    model.component("comp1").common().duplicate("pres110", "pres109");
    model.component("comp1").common().duplicate("pres111", "pres110");
    model.component("comp1").common().duplicate("pres112", "pres111");
    model.component("comp1").common().duplicate("pres113", "pres112");
    model.component("comp1").common().duplicate("pres114", "pres113");
    model.component("comp1").common().duplicate("pres115", "pres114");
    model.component("comp1").common().duplicate("pres116", "pres115");
    model.component("comp1").common().duplicate("pres117", "pres116");
    model.component("comp1").common().duplicate("pres118", "pres117");
    model.component("comp1").common().duplicate("pres119", "pres118");
    model.component("comp1").common().duplicate("pres120", "pres119");
    model.component("comp1").common().duplicate("pres121", "pres120");
    model.component("comp1").common().duplicate("pres122", "pres121");
    model.component("comp1").common().duplicate("pres123", "pres122");
    model.component("comp1").common().duplicate("pres124", "pres123");
    model.component("comp1").common().duplicate("pres125", "pres124");
    model.component("comp1").common().duplicate("pres126", "pres125");
    model.component("comp1").common().duplicate("pres127", "pres126");
    model.component("comp1").common().duplicate("pres128", "pres127");
    model.component("comp1").common().duplicate("pres129", "pres128");
    model.component("comp1").common().duplicate("pres130", "pres129");
    model.component("comp1").common().duplicate("pres131", "pres130");
    model.component("comp1").common().duplicate("pres132", "pres131");
    model.component("comp1").common().duplicate("pres133", "pres132");
    model.component("comp1").common().duplicate("pres134", "pres133");
    model.component("comp1").common().duplicate("pres135", "pres134");
    model.component("comp1").common().duplicate("pres136", "pres135");
    model.component("comp1").common().duplicate("pres137", "pres136");
    model.component("comp1").common().duplicate("pres138", "pres137");
    model.component("comp1").common().duplicate("pres139", "pres138");
    model.component("comp1").common().duplicate("pres140", "pres139");
    model.component("comp1").common().duplicate("pres141", "pres140");
    model.component("comp1").common().duplicate("pres142", "pres141");
    model.component("comp1").common().duplicate("pres143", "pres142");
    model.component("comp1").common().duplicate("pres144", "pres143");
    model.component("comp1").common().duplicate("pres145", "pres144");
    model.component("comp1").common().duplicate("pres146", "pres145");
    model.component("comp1").common().duplicate("pres147", "pres146");
    model.component("comp1").common().duplicate("pres148", "pres147");
    model.component("comp1").common().duplicate("pres149", "pres148");
    model.component("comp1").common().duplicate("pres150", "pres149");
    model.component("comp1").common().duplicate("pres151", "pres150");
    model.component("comp1").common().duplicate("pres152", "pres151");
    model.component("comp1").common().duplicate("pres153", "pres152");
    model.component("comp1").common().duplicate("pres154", "pres153");
    model.component("comp1").common().duplicate("pres155", "pres154");
    model.component("comp1").common().duplicate("pres156", "pres155");
    model.component("comp1").common().duplicate("pres157", "pres156");
    model.component("comp1").common().duplicate("pres158", "pres157");
    model.component("comp1").common().duplicate("pres159", "pres158");
    model.component("comp1").common().duplicate("pres160", "pres159");
    model.component("comp1").common().duplicate("pres161", "pres160");
    model.component("comp1").common().duplicate("pres162", "pres161");
    model.component("comp1").common().duplicate("pres163", "pres162");
    model.component("comp1").common().duplicate("pres164", "pres163");
    model.component("comp1").common().duplicate("pres165", "pres164");
    model.component("comp1").common().duplicate("pres166", "pres165");
    model.component("comp1").common().duplicate("pres167", "pres166");
    model.component("comp1").common().duplicate("pres168", "pres167");
    model.component("comp1").common().duplicate("pres169", "pres168");
    model.component("comp1").common().duplicate("pres170", "pres169");
    model.component("comp1").common().duplicate("pres171", "pres170");
    model.component("comp1").common().duplicate("pres172", "pres171");
    model.component("comp1").common().duplicate("pres173", "pres172");
    model.component("comp1").common().duplicate("pres174", "pres173");
    model.component("comp1").common().duplicate("pres175", "pres174");
    model.component("comp1").common().duplicate("pres176", "pres175");
    model.component("comp1").common().duplicate("pres177", "pres176");
    model.component("comp1").common().duplicate("pres178", "pres177");
    model.component("comp1").common().duplicate("pres179", "pres178");
    model.component("comp1").common().duplicate("pres180", "pres179");
    model.component("comp1").common().duplicate("pres181", "pres180");
    model.component("comp1").common().duplicate("pres182", "pres181");
    model.component("comp1").common().duplicate("pres183", "pres182");
    model.component("comp1").common().duplicate("pres184", "pres183");
    model.component("comp1").common().duplicate("pres185", "pres184");
    model.component("comp1").common().duplicate("pres186", "pres185");
    model.component("comp1").common().duplicate("pres187", "pres186");
    model.component("comp1").common().duplicate("pres188", "pres187");
    model.component("comp1").common().duplicate("pres189", "pres188");
    model.component("comp1").common().duplicate("pres190", "pres189");
    model.component("comp1").common().duplicate("pres191", "pres190");
    model.component("comp1").common().duplicate("pres192", "pres191");
    model.component("comp1").common().duplicate("pres193", "pres192");
    model.component("comp1").common().duplicate("pres194", "pres193");
    model.component("comp1").common().duplicate("pres195", "pres194");
    model.component("comp1").common().duplicate("pres196", "pres195");
    model.component("comp1").common().duplicate("pres197", "pres196");
    model.component("comp1").common().duplicate("pres198", "pres197");
    model.component("comp1").common().duplicate("pres199", "pres198");
    model.component("comp1").common().duplicate("pres200", "pres199");
    model.component("comp1").common().duplicate("pres201", "pres200");
    model.component("comp1").common("pres102").selection().set(107);
    model.component("comp1").common("pres102")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(2/100))", "0"});
    model.component("comp1").common("pres103").selection().set(108);
    model.component("comp1").common("pres103")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(3/100))", "0"});
    model.component("comp1").common("pres104").selection().set(109);
    model.component("comp1").common("pres104")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(4/100))", "0"});
    model.component("comp1").common("pres105").selection().set(110);
    model.component("comp1").common("pres105")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(5/100))", "0"});
    model.component("comp1").common("pres106").selection().set(111);
    model.component("comp1").common("pres106")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(6/100))", "0"});
    model.component("comp1").common("pres107").selection().set(112);
    model.component("comp1").common("pres107")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(7/100))", "0"});
    model.component("comp1").common("pres108").selection().set(113);
    model.component("comp1").common("pres108")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(8/100))", "0"});
    model.component("comp1").common("pres109").selection().set(114);
    model.component("comp1").common("pres109")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(9/100))", "0"});
    model.component("comp1").common("pres110").selection().set(115);
    model.component("comp1").common("pres110")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(10/100))", "0"});
    model.component("comp1").common("pres111").selection().set(116);
    model.component("comp1").common("pres111")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(11/100))", "0"});
    model.component("comp1").common("pres112").selection().set(117);
    model.component("comp1").common("pres112")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(12/100))", "0"});
    model.component("comp1").common("pres113").selection().set(118);
    model.component("comp1").common("pres113")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(13/100))", "0"});
    model.component("comp1").common("pres114").selection().set(119);
    model.component("comp1").common("pres114")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(14/100))", "0"});
    model.component("comp1").common("pres115").selection().set(120);
    model.component("comp1").common("pres115")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(15/100))", "0"});
    model.component("comp1").common("pres116").selection().set(121);
    model.component("comp1").common("pres116")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(16/100))", "0"});
    model.component("comp1").common("pres117").selection().set(122);
    model.component("comp1").common("pres117")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(17/100))", "0"});
    model.component("comp1").common("pres118").selection().set(123);
    model.component("comp1").common("pres118")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(18/100))", "0"});
    model.component("comp1").common("pres119").selection().set(124);
    model.component("comp1").common("pres119")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(19/100))", "0"});
    model.component("comp1").common("pres120").selection().set(125);
    model.component("comp1").common("pres120")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(20/100))", "0"});
    model.component("comp1").common("pres121").selection().set(126);
    model.component("comp1").common("pres121")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(21/100))", "0"});
    model.component("comp1").common("pres122").selection().set(127);
    model.component("comp1").common("pres122")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(22/100))", "0"});
    model.component("comp1").common("pres123").selection().set(128);
    model.component("comp1").common("pres123")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(23/100))", "0"});
    model.component("comp1").common("pres124").selection().set(129);
    model.component("comp1").common("pres124")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(24/100))", "0"});
    model.component("comp1").common("pres125").selection().set(130);
    model.component("comp1").common("pres125")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(25/100))", "0"});
    model.component("comp1").common("pres126").selection().set(131);
    model.component("comp1").common("pres126")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(26/100))", "0"});
    model.component("comp1").common("pres127").selection().set(132);
    model.component("comp1").common("pres127")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(27/100))", "0"});
    model.component("comp1").common("pres128").selection().set(133);
    model.component("comp1").common("pres128")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(28/100))", "0"});
    model.component("comp1").common("pres129").selection().set(134);
    model.component("comp1").common("pres129")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(29/100))", "0"});
    model.component("comp1").common("pres130").selection().set(135);
    model.component("comp1").common("pres130")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(30/100))", "0"});
    model.component("comp1").common("pres131").selection().set(136);
    model.component("comp1").common("pres131")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(31/100))", "0"});
    model.component("comp1").common("pres132").selection().set(137);
    model.component("comp1").common("pres132")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(32/100))", "0"});
    model.component("comp1").common("pres133").selection().set(138);
    model.component("comp1").common("pres133")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(33/100))", "0"});
    model.component("comp1").common("pres134").selection().set(139);
    model.component("comp1").common("pres134")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(34/100))", "0"});
    model.component("comp1").common("pres135").selection().set(140);
    model.component("comp1").common("pres135")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(35/100))", "0"});
    model.component("comp1").common("pres136").selection().set(141);
    model.component("comp1").common("pres136")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(36/100))", "0"});
    model.component("comp1").common("pres137").selection().set(142);
    model.component("comp1").common("pres137")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(37/100))", "0"});
    model.component("comp1").common("pres138").selection().set(143);
    model.component("comp1").common("pres138")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(38/100))", "0"});
    model.component("comp1").common("pres139").selection().set(144);
    model.component("comp1").common("pres139")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(39/100))", "0"});
    model.component("comp1").common("pres140").selection().set(145);
    model.component("comp1").common("pres140")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(40/100))", "0"});
    model.component("comp1").common("pres141").selection().set(146);
    model.component("comp1").common("pres141")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(41/100))", "0"});
    model.component("comp1").common("pres142").selection().set(147);
    model.component("comp1").common("pres142")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(42/100))", "0"});
    model.component("comp1").common("pres143").selection().set(148);
    model.component("comp1").common("pres143")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(43/100))", "0"});
    model.component("comp1").common("pres144").selection().set(149);
    model.component("comp1").common("pres144")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(44/100))", "0"});
    model.component("comp1").common("pres145").selection().set(150);
    model.component("comp1").common("pres145")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(45/100))", "0"});
    model.component("comp1").common("pres146").selection().set(151);
    model.component("comp1").common("pres146")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(46/100))", "0"});
    model.component("comp1").common("pres147").selection().set(152);
    model.component("comp1").common("pres147")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(47/100))", "0"});
    model.component("comp1").common("pres148").selection().set(153);
    model.component("comp1").common("pres148")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(48/100))", "0"});
    model.component("comp1").common("pres149").selection().set(154);
    model.component("comp1").common("pres149")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(49/100))", "0"});
    model.component("comp1").common("pres150").selection().set(155);
    model.component("comp1").common("pres150")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(50/100))", "0"});
    model.component("comp1").common("pres151").selection().set(156);
    model.component("comp1").common("pres151")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(51/100))", "0"});
    model.component("comp1").common("pres152").selection().set(157);
    model.component("comp1").common("pres152")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(52/100))", "0"});
    model.component("comp1").common("pres153").selection().set(158);
    model.component("comp1").common("pres153")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(53/100))", "0"});
    model.component("comp1").common("pres154").selection().set(159);
    model.component("comp1").common("pres154")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(54/100))", "0"});
    model.component("comp1").common("pres155").selection().set(160);
    model.component("comp1").common("pres155")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(55/100))", "0"});
    model.component("comp1").common("pres156").selection().set(161);
    model.component("comp1").common("pres156")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(56/100))", "0"});
    model.component("comp1").common("pres157").selection().set(162);
    model.component("comp1").common("pres157")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(57/100))", "0"});
    model.component("comp1").common("pres158").selection().set(163);
    model.component("comp1").common("pres158")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(58/100))", "0"});
    model.component("comp1").common("pres159").selection().set(164);
    model.component("comp1").common("pres159")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(59/100))", "0"});
    model.component("comp1").common("pres160").selection().set(165);
    model.component("comp1").common("pres160")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(60/100))", "0"});
    model.component("comp1").common("pres161").selection().set(166);
    model.component("comp1").common("pres161")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(61/100))", "0"});
    model.component("comp1").common("pres162").selection().set(167);
    model.component("comp1").common("pres162")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(62/100))", "0"});
    model.component("comp1").common("pres163").selection().set(168);
    model.component("comp1").common("pres163")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(63/100))", "0"});
    model.component("comp1").common("pres164").selection().set(169);
    model.component("comp1").common("pres164")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(64/100))", "0"});
    model.component("comp1").common("pres165").selection().set(170);
    model.component("comp1").common("pres165")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(65/100))", "0"});
    model.component("comp1").common("pres166").selection().set(171);
    model.component("comp1").common("pres166")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(66/100))", "0"});
    model.component("comp1").common("pres167").selection().set(172);
    model.component("comp1").common("pres167")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(67/100))", "0"});
    model.component("comp1").common("pres168").selection().set(173);
    model.component("comp1").common("pres168")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(68/100))", "0"});
    model.component("comp1").common("pres169").selection().set(174);
    model.component("comp1").common("pres169")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(69/100))", "0"});
    model.component("comp1").common("pres170").selection().set(175);
    model.component("comp1").common("pres170")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(70/100))", "0"});
    model.component("comp1").common("pres171").selection().set(176);
    model.component("comp1").common("pres171")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(71/100))", "0"});
    model.component("comp1").common("pres172").selection().set(177);
    model.component("comp1").common("pres172")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(72/100))", "0"});
    model.component("comp1").common("pres173").selection().set(178);
    model.component("comp1").common("pres173")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(73/100))", "0"});
    model.component("comp1").common("pres174").selection().set(179);
    model.component("comp1").common("pres174")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(74/100))", "0"});

    return model;
  }

  public static Model run17(Model model) {
    model.component("comp1").common("pres175").selection().set(180);
    model.component("comp1").common("pres175")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(75/100))", "0"});
    model.component("comp1").common("pres176").selection().set(181);
    model.component("comp1").common("pres176")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(76/100))", "0"});
    model.component("comp1").common("pres177").selection().set(182);
    model.component("comp1").common("pres177")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(77/100))", "0"});
    model.component("comp1").common("pres178").selection().set(183);
    model.component("comp1").common("pres178")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(78/100))", "0"});
    model.component("comp1").common("pres179").selection().set(184);
    model.component("comp1").common("pres179")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(79/100))", "0"});
    model.component("comp1").common("pres180").selection().set(185);
    model.component("comp1").common("pres180")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(80/100))", "0"});
    model.component("comp1").common("pres181").selection().set(186);
    model.component("comp1").common("pres181")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(81/100))", "0"});
    model.component("comp1").common("pres182").selection().set(187);
    model.component("comp1").common("pres182")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(82/100))", "0"});
    model.component("comp1").common("pres183").selection().set(188);
    model.component("comp1").common("pres183")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(83/100))", "0"});
    model.component("comp1").common("pres184").selection().set(189);
    model.component("comp1").common("pres184")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(84/100))", "0"});
    model.component("comp1").common("pres185").selection().set(190);
    model.component("comp1").common("pres185")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(85/100))", "0"});
    model.component("comp1").common("pres186").selection().set(191);
    model.component("comp1").common("pres186")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(86/100))", "0"});
    model.component("comp1").common("pres187").selection().set(192);
    model.component("comp1").common("pres187")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(87/100))", "0"});
    model.component("comp1").common("pres188").selection().set(193);
    model.component("comp1").common("pres188")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(88/100))", "0"});
    model.component("comp1").common("pres189").selection().set(194);
    model.component("comp1").common("pres189")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(89/100))", "0"});
    model.component("comp1").common("pres190").selection().set(195);
    model.component("comp1").common("pres190")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(90/100))", "0"});
    model.component("comp1").common("pres191").selection().set(196);
    model.component("comp1").common("pres191")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(91/100))", "0"});
    model.component("comp1").common("pres192").selection().set(197);
    model.component("comp1").common("pres192")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(92/100))", "0"});
    model.component("comp1").common("pres193").selection().set(198);
    model.component("comp1").common("pres193")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(93/100))", "0"});
    model.component("comp1").common("pres194").selection().set(199);
    model.component("comp1").common("pres194")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(94/100))", "0"});
    model.component("comp1").common("pres195").selection().set(200);
    model.component("comp1").common("pres195")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(95/100))", "0"});
    model.component("comp1").common("pres196").selection().set(201);
    model.component("comp1").common("pres196")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(96/100))", "0"});
    model.component("comp1").common("pres197").selection().set(202);
    model.component("comp1").common("pres197")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(97/100))", "0"});
    model.component("comp1").common("pres198").selection().set(203);
    model.component("comp1").common("pres198")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(98/100))", "0"});
    model.component("comp1").common("pres199").selection().set(204);
    model.component("comp1").common("pres199")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(99/100))", "0"});
    model.component("comp1").common("pres200").selection().set(205);
    model.component("comp1").common("pres200")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(100/100))", "0"});
    model.component("comp1").common().remove("pres201");
    model.component("comp1").common("pres200")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(100/100))*.9", "0"});
    model.component("comp1").common("pres199")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(99/100))*.8", "0"});
    model.component("comp1").common("pres198")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(98/100))*.7", "0"});
    model.component("comp1").common("pres197")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(97/100))*.6", "0"});
    model.component("comp1").common("pres196")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(96/100))*.5", "0"});
    model.component("comp1").common("pres195")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(95/100))*.4", "0"});
    model.component("comp1").common("pres194")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(94/100))*.3", "0"});
    model.component("comp1").common("pres193")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(93/100))*.8", "0"});
    model.component("comp1").common("pres194")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(94/100))*.7", "0"});
    model.component("comp1").common("pres195")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(95/100))*.6", "0"});
    model.component("comp1").common("pres197")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(97/100))*.4", "0"});
    model.component("comp1").common("pres198")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(98/100))*.3", "0"});
    model.component("comp1").common("pres199")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(99/100))*.2", "0"});
    model.component("comp1").common("pres200")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,pi*(100/100))*.1", "0"});
    model.component("comp1").common("pres1")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(100/100))*.1", "0"});
    model.component("comp1").common("pres2")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(99/100))*.2", "0"});
    model.component("comp1").common("pres3")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(98/100))*.3", "0"});
    model.component("comp1").common("pres4")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(97/100))*.4", "0"});
    model.component("comp1").common("pres5")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(96/100))*.5", "0"});
    model.component("comp1").common("pres6")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(95/100))*.6", "0"});
    model.component("comp1").common("pres7")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(94/100))*.7", "0"});
    model.component("comp1").common("pres8")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(93/100))*.8", "0"});
    model.component("comp1").common("pres9")
         .set("prescribedDeformation", new String[]{"0", "singleWave(t,-pi*(92/100))*.9", "0"});

    model.component("comp1").probe("point1").genResult("none");
    model.component("comp1").probe("bnd1").genResult("none");

    model.sol("sol1").runAll();

    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("plotgroup", "pg3");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 49);
    model.result().export("anim1").set("target", "file");
    model.result().export("anim1").set("giffilename", "E:\\COMSOL_Shahrooz\\R5ModelOutput.gif");
    model.result().export("anim1").run();

    model.label("ModelFromTroy_R5_June4YR24.mph");

    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").run();
    model.result("pg5").feature("tblp1").set("plotcolumns", new int[]{3});
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").run();
    model.result("pg5").feature("tblp1").set("plotcolumns", new int[]{3});
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").run();
    model.result("pg5").feature("tblp1").set("plotcolumns", new int[]{2});
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").run();
    model.result("pg5").feature("tblp1").set("plotcolumns", new int[]{3});
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").run();
    model.result("pg5").feature("tblp1").set("plotcolumns", new int[]{2, 3});
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").run();

    model.component("comp1").probe("bnd1").selection().set(105);
    model.component("comp1").probe("bnd1").genResult("sol2");

    model.result().numerical("pev2").set("table", "tbl1");
    model.result().numerical("pev2").set("innerinput", "all");
    model.result().numerical("pev2").set("outerinput", "all");
    model.result().numerical("pev2").setResult();
    model.result("pg5").feature("tblp1").set("plotcolumns", new int[]{2});
    model.result("pg5").feature("tblp1").set("xaxisdata", "auto");
    model.result("pg5").run();
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");

    model.component("comp1").probe("point1").genResult("none");
    model.component("comp1").probe("bnd1").genResult("none");

    model.sol("sol1").runAll();

    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").run();
    model.result("pg5").feature("tblp1").set("plotcolumns", new int[]{3});
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").run();

    model.label("ModelFromTroy_R5_June4YR24.mph");

    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");

    model.param().set("presAmp", "0.885[Pa]");

    model.component("comp1").probe("point1").genResult("none");
    model.component("comp1").probe("bnd1").genResult("none");

    model.sol("sol1").runAll();

    model.result("pg1").run();
    model.result("pg1").stepFirst(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").feature("surf1").set("solutionparams", "parent");
    model.result("pg1").stepFirst(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result("pg1").stepNext(0);
    model.result("pg1").run();
    model.result().export("anim1").set("giffilename", "C:\\Users\\lorenc\\Documents\\COMSOL\\R5ModelOutput.gif");
    model.result().export("anim1").set("looplevelinput", "all");
    model.result().export("anim1").set("zoomextents", true);
    model.result().export("anim1").set("options2d", true);
    model.result().export("anim1").set("title2d", false);
    model.result().export("anim1").set("axes2d", false);
    model.result().export("anim1").set("logo2d", false);
    model.result().export("anim1").run();
    model.result().export("anim1").set("plotgroup", "pg1");
    model.result().export("anim1").run();
    model.result().export("anim1").set("plotgroup", "pg3");
    model.result("pg3").run();
    model.result("pg3").feature("surf2").set("solutionparams", "parent");
    model.result("pg3").run();
    model.result().export("anim1").set("giffilename", "C:\\Users\\lorenc\\Documents\\COMSOL\\R5ModelOutput_dB.gif");
    model.result().export("anim1").run();

    model.label("ModelFromTroy_R5_June4YR24_ML.mph");

    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg3").run();
    model.result("pg3").feature("surf2").set("unit", "dB");
    model.result("pg3").run();
    model.result("pg3").feature("surf2").set("expr", "20*log10(actd.p_t/2e-5) [dB]");
    model.result("pg3").run();
    model.result("pg3").feature("surf2").set("expr", "20*log10(actd.p_t/2e-5)");
    model.result("pg1").feature("surf1").set("expr", "actd.p_t");
    model.result("pg3").create("surf3", "Surface");
    model.result("pg3").feature().remove("surf3");
    model.result("pg3").feature("surf2").set("expr", "20*log10(abs(actd.p_t/2e-5))");
    model.result("pg3").run();
    model.result("pg3").feature("surf2").set("expr", "20*log10(actd.absp_t/2e-5)");
    model.result("pg3").run();
    model.result("pg3").feature("surf2").set("expr", "20*log10(actd.p_t[1/Pa]/2e-5)");
    model.result("pg3").run();
    model.result("pg3").feature("surf2").set("expr", "20*log10(actd.p_t/2e-5)");
    model.result("pg3").feature("surf2").set("rangecoloractive", true);
    model.result("pg3").feature("surf2").set("rangecolormin", 0);
    model.result("pg3").feature("surf2").set("rangecolormax", 150);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").set("rangecolormin", 150);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").set("rangecolormin", -150);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").set("unit", "dB");
    model.result("pg3").run();
    model.result("pg3").feature("surf2").set("rangecolormin", 0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").stepNext(0);
    model.result("pg3").run();
    model.result("pg3").feature("surf2").set("titletype", "manual");
    model.result("pg3").feature("surf2").set("title", "Acoustic Pressure (dB)");
    model.result("pg3").run();
    model.result().export("anim1").set("title2d", true);
    model.result().export("anim1").run();

    model.label("ModelFromTroy_R6_June14YR24_ML.mph");

    model.result().export("anim1").set("target", "player");
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("stopped", true);
    model.result().export("anim1").run();
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").feature("tblp1").set("plotcolumns", new int[]{3});
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").run();
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").feature("tblp1").set("plotcolumns", new int[]{2});
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").run();
    model.result("pg5").feature("tblp1").set("plotcolumns", new int[]{3});
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").run();
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").set("axislimits", false);
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").run();

    model.component("comp1").probe("bnd1").set("expr", "arg(actd.p_t)");

    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").run();
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").run();

    model.label("ModelFromTroy_R8_June14YR24.mph");

    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").set("window", "window2");
    model.result("pg5").set("windowtitle", "Probe Plot 2");
    model.result("pg5").run();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").showFrame();
    model.result().export("anim1").set("showframe", 428);

    return model;
  }

  public static void main(String[] args) {
    Model model = run();
    model = run2(model);
    model = run3(model);
    model = run4(model);
    model = run5(model);
    model = run6(model);
    model = run7(model);
    model = run8(model);
    model = run9(model);
    model = run10(model);
    model = run11(model);
    model = run12(model);
    model = run13(model);
    model = run14(model);
    model = run15(model);
    model = run16(model);
    run17(model);
  }

}
