PostOperation{ For i In {1:#Sur_UNIFPORT_N_N_List()} {Name postOp_getdpMicrowaves~{i}; NameOfPostProcessing postProc_getdpMicrowaves~{i}; Operation{ For j In {1:#Sur_UNIFPORT_N_N_List()} Print[AaLoadVoltage~{j}, OnRegion Sur_UNIFPORT_N~{i}, File StrCat[ "..\getdpresults\globals\AaLoadVoltage~{j}", Sprintf("_%g", j), Sprintf("_Sur_UNIFPORT_N_%g", j), Sprintf("_port%g", i), "_globals.dat"], AppendToExistingFile 1, Format Table, TimeStep 0, StoreInVariable $AaLoadVoltage~{j} ]; EndFor Print[AbGamma~{i}, OnRegion Face4, File StrCat[ "..\getdpresults\globals\AbGamma~{i}_Face4", Sprintf("_port%g",i),"_globals.dat"], Format Table, TimeStep 0, StoreInVariable $AbGamma~{i} ]; For j In {1:#Sur_UNIFPORT_N_N_List()} Print[AcLoadCurrent~{j}, OnRegion Sur_UNIFPORT_N~{i}, File StrCat[ "..\getdpresults\globals\AcLoadCurrent~{j}", Sprintf("_%g", j), Sprintf("_Sur_UNIFPORT_N_%g", j), Sprintf("_port%g", i), "_globals.dat"], AppendToExistingFile 1, Format Table, TimeStep 0, StoreInVariable $AcLoadCurrent~{j} ]; EndFor For j In {1:#Sur_UNIFPORT_N_N_List()} Print[AdLoadImpedance~{j}, OnRegion Sur_UNIFPORT_N~{i}, File StrCat[ "..\getdpresults\globals\AdLoadImpedance~{j}", Sprintf("_%g", j), Sprintf("_Sur_UNIFPORT_N_%g", j), Sprintf("_port%g", i), "_globals.dat"], AppendToExistingFile 1, Format Table, TimeStep 0, StoreInVariable $AdLoadImpedance~{j} ]; EndFor For j In {1:#Sur_UNIFPORT_N_N_List()} Print[AeLoadPower~{j}, OnRegion Sur_UNIFPORT_N~{i}, File StrCat[ "..\getdpresults\globals\AeLoadPower~{j}", Sprintf("_%g", j), Sprintf("_Sur_UNIFPORT_N_%g", j), Sprintf("_port%g", i), "_globals.dat"], AppendToExistingFile 1, Format Table, TimeStep 0, StoreInVariable $AeLoadPower~{j} ]; EndFor For j In {1:#Sur_UNIFPORT_N_N_List()} Print[AfScale~{j}, OnRegion Sur_UNIFPORT_N~{i}, File StrCat[ "..\getdpresults\globals\AfScale~{j}", Sprintf("_%g", j), Sprintf("_Sur_UNIFPORT_N_%g", j), Sprintf("_port%g", i), "_globals.dat"], AppendToExistingFile 1, Format Table, TimeStep 0, StoreInVariable $AfScale~{j} ]; EndFor Print[Efield, OnElementsOf Region[{ Fem__FemMeshObjectPython}], File "..\getdpresults\Efield_Fem__FemMeshObjectPython_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[Efield, OnElementsOf Region[{ MeshGroup001}], File "..\getdpresults\Efield_MeshGroup001_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[Efield_im, OnElementsOf Region[{ Fem__FemMeshObjectPython}], File "..\getdpresults\Efield_im_Fem__FemMeshObjectPython_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[Efield_im, OnElementsOf Region[{ MeshGroup001}], File "..\getdpresults\Efield_im_MeshGroup001_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[Efield_re, OnElementsOf Region[{ Fem__FemMeshObjectPython}], File "..\getdpresults\Efield_re_Fem__FemMeshObjectPython_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[Efield_re, OnElementsOf Region[{ MeshGroup001}], File "..\getdpresults\Efield_re_MeshGroup001_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[Hfield, OnElementsOf Region[{ Fem__FemMeshObjectPython}], File "..\getdpresults\Hfield_Fem__FemMeshObjectPython_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[Hfield, OnElementsOf Region[{ MeshGroup001}], File "..\getdpresults\Hfield_MeshGroup001_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[Hfield_im, OnElementsOf Region[{ Fem__FemMeshObjectPython}], File "..\getdpresults\Hfield_im_Fem__FemMeshObjectPython_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[Hfield_im, OnElementsOf Region[{ MeshGroup001}], File "..\getdpresults\Hfield_im_MeshGroup001_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[Hfield_re, OnElementsOf Region[{ Fem__FemMeshObjectPython}], File "..\getdpresults\Hfield_re_Fem__FemMeshObjectPython_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[Hfield_re, OnElementsOf Region[{ MeshGroup001}], File "..\getdpresults\Hfield_re_MeshGroup001_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SEfield_im, OnElementsOf Region[{ Face1}], File "..\getdpresults\SEfield_im_Face1_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SEfield_im, OnElementsOf Region[{ Face2}], File "..\getdpresults\SEfield_im_Face2_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SEfield_im, OnElementsOf Region[{ Face3}], File "..\getdpresults\SEfield_im_Face3_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SEfield_im, OnElementsOf Region[{ Face4}], File "..\getdpresults\SEfield_im_Face4_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SEfield_im, OnElementsOf Region[{ Face5}], File "..\getdpresults\SEfield_im_Face5_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SEfield_im, OnElementsOf Region[{ Face6}], File "..\getdpresults\SEfield_im_Face6_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SEfield_im, OnElementsOf Region[{ Face8}], File "..\getdpresults\SEfield_im_Face8_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SEfield_re, OnElementsOf Region[{ Face1}], File "..\getdpresults\SEfield_re_Face1_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SEfield_re, OnElementsOf Region[{ Face2}], File "..\getdpresults\SEfield_re_Face2_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SEfield_re, OnElementsOf Region[{ Face3}], File "..\getdpresults\SEfield_re_Face3_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SEfield_re, OnElementsOf Region[{ Face4}], File "..\getdpresults\SEfield_re_Face4_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SEfield_re, OnElementsOf Region[{ Face5}], File "..\getdpresults\SEfield_re_Face5_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SEfield_re, OnElementsOf Region[{ Face6}], File "..\getdpresults\SEfield_re_Face6_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SEfield_re, OnElementsOf Region[{ Face8}], File "..\getdpresults\SEfield_re_Face8_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SHfield_im, OnElementsOf Region[{ Face1}], File "..\getdpresults\SHfield_im_Face1_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SHfield_im, OnElementsOf Region[{ Face2}], File "..\getdpresults\SHfield_im_Face2_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SHfield_im, OnElementsOf Region[{ Face3}], File "..\getdpresults\SHfield_im_Face3_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SHfield_im, OnElementsOf Region[{ Face4}], File "..\getdpresults\SHfield_im_Face4_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SHfield_im, OnElementsOf Region[{ Face5}], File "..\getdpresults\SHfield_im_Face5_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SHfield_im, OnElementsOf Region[{ Face6}], File "..\getdpresults\SHfield_im_Face6_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SHfield_im, OnElementsOf Region[{ Face8}], File "..\getdpresults\SHfield_im_Face8_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SHfield_re, OnElementsOf Region[{ Face1}], File "..\getdpresults\SHfield_re_Face1_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SHfield_re, OnElementsOf Region[{ Face2}], File "..\getdpresults\SHfield_re_Face2_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SHfield_re, OnElementsOf Region[{ Face3}], File "..\getdpresults\SHfield_re_Face3_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SHfield_re, OnElementsOf Region[{ Face4}], File "..\getdpresults\SHfield_re_Face4_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SHfield_re, OnElementsOf Region[{ Face5}], File "..\getdpresults\SHfield_re_Face5_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SHfield_re, OnElementsOf Region[{ Face6}], File "..\getdpresults\SHfield_re_Face6_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SHfield_re, OnElementsOf Region[{ Face8}], File "..\getdpresults\SHfield_re_Face8_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SurEfield, OnElementsOf Region[{ Face1}], File "..\getdpresults\SurEfield_Face1_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SurEfield, OnElementsOf Region[{ Face2}], File "..\getdpresults\SurEfield_Face2_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SurEfield, OnElementsOf Region[{ Face3}], File "..\getdpresults\SurEfield_Face3_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SurEfield, OnElementsOf Region[{ Face4}], File "..\getdpresults\SurEfield_Face4_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SurEfield, OnElementsOf Region[{ Face5}], File "..\getdpresults\SurEfield_Face5_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SurEfield, OnElementsOf Region[{ Face6}], File "..\getdpresults\SurEfield_Face6_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SurEfield, OnElementsOf Region[{ Face8}], File "..\getdpresults\SurEfield_Face8_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SurHfield, OnElementsOf Region[{ Face1}], File "..\getdpresults\SurHfield_Face1_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SurHfield, OnElementsOf Region[{ Face2}], File "..\getdpresults\SurHfield_Face2_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SurHfield, OnElementsOf Region[{ Face3}], File "..\getdpresults\SurHfield_Face3_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SurHfield, OnElementsOf Region[{ Face4}], File "..\getdpresults\SurHfield_Face4_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SurHfield, OnElementsOf Region[{ Face5}], File "..\getdpresults\SurHfield_Face5_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SurHfield, OnElementsOf Region[{ Face6}], File "..\getdpresults\SurHfield_Face6_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[SurHfield, OnElementsOf Region[{ Face8}], File "..\getdpresults\SurHfield_Face8_0.dat", TimeStep 0, Smoothing 1, Format NodeTable]; Print[VSWR, OnRegion Face4, File StrCat[ "..\getdpresults\globals\VSWR_Face4", Sprintf("_port%g",i),"_globals.dat"], Format Table, TimeStep 0 ]; Print[acS11, OnRegion Face4, File StrCat[ "..\getdpresults\globals\acS11_Face4", Sprintf("_port%g",i),"_globals.dat"], Format Table, TimeStep 0 ]; For k In {1:#Sur_UNIFPORT_N_N_List()} For j In {1:#Sur_UNIFPORT_N_N_List()} Print[acS~{j}~{k}, OnRegion Sur_UNIFPORT_N~{j}, File StrCat[ "..\getdpresults\globals\acS~{j}~{k}", Sprintf("_port%g", i), "_globals.dat"], AppendToExistingFile 1, Format Table, TimeStep 0 ]; EndFor EndFor Print[acceptedPower, OnRegion Face4, File StrCat[ "..\getdpresults\globals\acceptedPower_Face4", Sprintf("_port%g",i),"_globals.dat"], Format Table, TimeStep 0 ]; Print[bDielectricLosses[Fem__FemMeshObjectPython], OnGlobal, File "..\getdpresults\globals\bDielectricLosses_Fem__FemMeshObjectPython_globals.dat", Format Table, TimeStep 0 ]; Print[gamma, OnRegion Face4, File StrCat[ "..\getdpresults\globals\gamma_Face4", Sprintf("_port%g",i),"_globals.dat"], Format Table, TimeStep 0 ]; Print[portImpedance, OnRegion Face4, File StrCat[ "..\getdpresults\globals\portImpedance_Face4", Sprintf("_port%g",i),"_globals.dat"], Format Table, TimeStep 0 ]; Print[portReactance, OnRegion Face4, File StrCat[ "..\getdpresults\globals\portReactance_Face4", Sprintf("_port%g",i),"_globals.dat"], Format Table, TimeStep 0 ]; Print[portResistance, OnRegion Face4, File StrCat[ "..\getdpresults\globals\portResistance_Face4", Sprintf("_port%g",i),"_globals.dat"], Format Table, TimeStep 0 ]; } } EndFor }