[Getdp] getdp at onelab.info

Marlon De Souza Alc?ntara marlon.s.alcantara at outlook.com.br
Fri Dec 15 17:51:37 CET 2017



Good afternoon everyone, I'm new to GetDP and I'm apprehending a program structure. So with this example, I can not display the results in an inactive dialog box. The problem I am studying is attached here. It is an example available without a website but with a change, as it is available as already said.





I define parameter S11, in the post processing step.



{Name pos_eS; NameOfFormulation eFormulation;

Quantity{



{Name intPort~{(1)}  ; Value{Integral{ [ePort~{1}[]*Conj[ePort~{1}[]]]                       ;   In Port~{1}; Jacobian Jac ; Integration I1;}}}

{Name xS~{(1)}       ; Value{Integral{ [({e}-ePort~{1}[])*Conj[ePort~{1}[]]]             ;   In Port~{1}; Jacobian Jac ; Integration I1 ;}}}

{Name xS~{(2)}       ; Value{Integral{ [{e}*Conj[ePort~{1}[]]]                  ;   In Port~{2}; Jacobian Jac ; Integration I1 ;}}}

}

}





But when I show the value in a dialog box says the constant is unknown.



If(Excitation == 1)

                   { Name Get_S ; NameOfPostProcessing pos_eS ;

      Operation {





                      DefineConstant[

                      R      = {intPort~{(1)},  Name "Input/5Output/1Reflection ",Color "LightYellow"}];



                       Print[ intPort~{(1)}, OnGlobal, Name "/Input/3Signal/3Cutoff frequency [Hz]", Color "LightYellow" ];

                      // Print[ intPort~{(1)}, OnRegion Port~{1}, Format Table, File "res/um_middle.txt",          SendToServer "Output/Middle diplacement [m]"{0}, Color "LightYellow" ];





                    }}

                    Else



                    EndIf

Enviado do Email<https://go.microsoft.com/fwlink/?LinkId=550986> para
Windows 10

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/getdp/attachments/20171215/93285297/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: waveguide2D.geo
Type: application/octet-stream
Size: 1563 bytes
Desc: waveguide2D.geo
URL: <http://onelab.info/pipermail/getdp/attachments/20171215/93285297/attachment-0001.geo>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: waveguide2D.pro
Type: application/octet-stream
Size: 9201 bytes
Desc: waveguide2D.pro
URL: <http://onelab.info/pipermail/getdp/attachments/20171215/93285297/attachment-0001.pro>


More information about the getdp mailing list