12.12UDO commands and functions in alphabetic order
Command |
Parameters |
Short description |
|
|
(x2, y2) |
Insert line from previous point to point (x2, y2). |
|
||
(dx) |
Insert line from previous point (x, y) to point (x+dx, y). |
|
||
(x, y, z) |
Insert contour point. |
|
||
(dy) |
Insert line from previous point (x, y) to point (x, y+dy) |
|
||
(x, y, z, r) |
Move points at level z to position (x, y) if they are in the square with corners (x-r, y-r) and (x+r, y+r). |
|
||
|
Switch on BHM mode. |
|
||
|
Switch on Heat Flow (heat transfer analysis). |
|
||
(allow) |
Enables or disables AMIGO mesh control. |
|
||
(meshcontrolX, meshcontrolY, meshcontrolZ) |
Sets AMIGO active axes. |
|
||
(cells_per_wavelength, avoid_cells below lmin) |
Sets AMIGO parameters: number of cells per wavelength and and minimal cell size to avoid generating too small FDTD cells. |
|
||
(f1, f2, resolution df, change ports & postprocessing data) |
Sets the frequency band of interest for AMIGO mesh creation. |
|
||
|
Activates the same action as pressing ‘<’ button in the AMIGO dialogue. |
|
||
(allow) |
Enables or disables AMIGO mesh control. |
|
||
(n) |
For 2DVcoa circuits sets modal angular variation (range [0-99]). For 3DP circuits sets phase shift per period |
|
||
(what, after each, after step) |
Set Suspend or Freeze for BHM steps. |
|
||
(allow) |
Enables or disables BHM module. |
|
||
(what, OnOff, Use) |
Sets the additional components and quantities that will be saved in QW-Simulator after each BHM step. |
|
||
(Data Format, Include Shape Data, Include FDTD Mesh) |
Sets the data format for saving additional components and quantities. |
|
||
(First EM steady state, Consecutive EM steady states, Heating pattern construction, Total heating time, Heating time step) |
Sets BHM Tasker times (accordingly to Heating details dialogue). |
|
||
(Use, heating_steps_string) |
Defines variable heating steps and switches on or off their usage in simulation. |
|
||
(oname, Ox, Oy, rpm) |
Creates BHM Rotation Axis with speed rpm (in rotations per minute) around the axis parallel to Oz and passing through point (x0, y0) and assigns object oname. |
|
||
(oname) |
Creates BHM Movement Trajectory with consecutive positions loaded from <oname>.md3 file in the project directory. |
|
||
(Allow heat flow, Allow rotation, Movement) |
Sets BHM mode options (accordingly to Heating details dialogue). |
|
||
(Allow) |
Sets automatic source parameters changing mode for BHM. |
|
||
(Object name, X0, Y0, Speed, Angular step index) |
Sets Rotation parameters (accordingly to Heating details dialogue). |
|
||
(manual_tuning) |
Switches on or off manual mode of tuning. |
|
||
(path, par1, par2, ... , parn, parx, pary, parz, N) |
Calls another object to be nested as a subobject in the present object. |
|
||
(type, medium_name) |
Sets circuit type and default medium. |
|
||
|
Inserts line from previous point to (x1, y1) point of the last NEWLINE. |
|
||
|
End of object frame. |
|
||
(string, n) |
Function returning ASCII code of n-th char in string. |
|
||
(xx) |
Copies the marked element. |
|
||
|
Forces mesh creation inside UDO file. |
|
||
(item_type, range) |
Deletes element(s) or object(s). |
|
||
(dia) |
Declaration of wire diameter, allowed only inside the frame of the element declared as WIRE. |
|
||
(medium_name, model_name, par1, par2, par3, par4) |
Declaration of dispersive electric data. |
|
||
(medium_name, model_name, par1, …, par11) |
Declaration of multipole dispersive electric data. |
|
||
(medium_name, model_name, par1, par2, par3, par4) |
Declaration of dispersive magnetic data. |
|
||
(medium_name, model_name, par1, …, par11) |
Declaration of multipole dispersive magnetic data. |
|
||
|
Keyword for if and while commands. |
|
||
(level, height, type, medname, name, spin/wire) |
Start of element frame. |
|
||
|
End of element frame. |
|
||
|
Separates header and body of the UDO program. |
|
||
|
End if command. |
|
||
|
End of port frame. |
|
||
|
End of section frame. |
|
||
endwhile |
|
Ends while command. |
|
|
(allow) |
Switches on or off energy stop criterion that will be used in simulation. |
|
||
(saveSParametersWhenFinished, freezeWhenFinished, suspendWhenFinished, continueAfterPulsesNbLimit) |
Sets options for energy stop criterion. |
|
||
(energyLevelDescentDB, energyLevelLogEveryDB, energyProbingEvery, sParametersAccuracy, pulsesNbLimit) |
Sets parameters for energy stop criterion. |
|
||
(value) |
Port effective permittivity setting. |
|
||
(Sx, Sy, Sz, sparsityX, sparsityY, sparsityZ) |
Activates ExH time integral postprocessing, sets components and spatial sparsity for X, Y and Z direction |
|
||
(lowerlevel, upperlevel) |
Expands mesh limits in z-direction. |
|
||
(Suppress singularity corrections, Suppress density/SAR, Allow BHM) |
Sets export options. |
|
||
(<what>, <OnOff>) |
Sets advanced export options. |
|
||
FDPROB |
(lower_freq, upper_freq, freq_step) |
Enables frequency domain probing. |
|
|
(lower_freq, upper_freq, freq_step) |
Enables frequency domain probing for power available from the source. |
|
||
(fdm_freq_list) |
Sets frequency domain monitor frequencies. |
|
||
(sparsity) |
Sets spatial sparsity. |
|
||
(Ex,Ey,Ez,Hx,Hy,Hz) |
Sets on/off components for Fields Monitor post-processing. |
|
||
((Ex,Ey,Ez,Hx,Hy,Hz) |
Sets on/off components for frequency domain monitor. |
|
||
(frequencies_string) |
Sets frequencies for frequency domain monitor. |
|
||
(sparsX, sparsY, sparsZ) |
Sets spatial sparsity in X, Y, and Z direction for frequency domain monitor. |
|
||
(sparsX, sparsY, sparsZ) |
Sets sparsity in X, Y, and Z direction for Fields Monitor post-processing. |
|
||
(mediumname, eps, mu, sigma, sigmaM, alpha, Ms, Hi, dens) |
Ferrite material parameters setting. |
|
||
(file_name) |
The I/O port parameters are read from the file. |
|
||
(n) |
Function returning the n-th mesh parameter. |
|
||
(orientation_h, orientation_v) |
Declaration of wire grid, allowed only inside the frame of the element declared as WIRE. |
|
||
(First EM steady state, Consecutive EM steady states, Heating pattern construction, Total heating time, Heating time step) |
Sets BHM Tasker times (accordingly to Heating details dialogue). |
|
||
|
Standard control command. |
|
||
(name, type) |
Inserts a medium into the project. |
|
||
(operation) |
CUT, INTERSECT, GLUE Joining elements. |
|
||
(text string) |
Controlls losses suppression and metal loss bandwidth. |
|
||
(component, options, impedance) |
Parameters of lumped port. |
|
||
(type, component, Rp, Lp, Cp, Rs, Ls, Cs) |
Parameters of lumped impedance.
|
|
||
(item_type, range, command) |
Used to Mark or Unmark elements or objects for further operations of movement or reproduction. |
|
||
(item_type,range,command) |
Used to Mark or Unmark elements or objects as Passive or Active for subsequent JOIN operation. |
|
||
|
(medname, pen_R, pen_G, pen_B, pen_style, pen_width, brush_pen_R, brush_pen_G, brush_pen_B, brush_bkg_R, brush_bkg_G, brush_bkg_B, brush_style) |
Material pen/brush colour/style setting. |
|
|
(medname, epsx, mux, sigx, msigx, psy, muy, sigy, msigy, epsz, muz, sigz, msigz, density) |
Material parameters setting. |
|
||
(n) |
Function returning the z-level of the n-th sublayer of the FDTD mesh. |
|
||
(level) |
Function returning the ordinal number of the sublayer of FDTD mesh situated at or below level. |
|
||
(arg1, ..., arg10) |
Permits to make global mesh settings. |
|
||
(n) |
Function returning the x-coordinate of the n-th mesh line of the FDTD mesh. |
|
||
(level) |
Function returning the ordinal number of the border between FDTD cells at or below level (in –X direction). |
|
||
(n) |
Function returning the y-coordinate of the n-th mesh line of the FDTD mesh. |
|
||
MESSAGE |
(text) |
Displays text message in QW Project Info window. |
|
|
(level) |
Function returning the ordinal number of the border between FDTD cells at or below level (in –Y direction). |
|
||
(xy, xz, yz) |
Performs a mirror reflection of all the marked elements or objects with respect to the planes z=0 or/and y=0 or/and x=0. |
|
||
(xmirror) |
Performs a mirror reflection of all the marked elements or objects with respect to the plane x=xmirror. |
|
||
(ymirror) |
Performs a mirror reflection of all the marked elements or objects with respect to the plane y=ymirror. |
|
||
(zmirror) |
Performs a mirror reflection of all the marked elements or objects with respect to the plane z=zmirror. |
|
||
(port_mode_index) |
Sets port mode. |
|
||
(medium_name, potential2) |
Assigns potential to medium in port. |
|
||
(enable, size|shape) |
Sets multipoint option. |
|
||
|
Clears all previously defined movements and their parameters. |
|
||
(oname, Ox, Oy, rpm) |
Creates BHM Rotation Axis with speed rpm (in rotations per minute) around the axis parallel to Oz and passing through point (x0, y0) and assign object oname. |
|
||
(oname) |
Selects object oname for translation. |
|
||
(x1, y1, x2, y2) |
Creates the first segment of a broken line. |
|
||
(mediumname, model_name, hi3, tau1, tau2, alpha) |
Declaration of nonlinearity. |
|
||
(frequencies_string) |
Enables NTF postprocessing and sets NTF frequencies. |
|
||
(lower_freq, upper_freq, freq_step) |
Enables NTF postprocessing and sets NTF frequencies with a band. |
|
||
(eps, mu, sig, msig) |
Defines NTF and PlaneWave background dielectric. |
|
||
(f1, f2, df, phi_theta_strings) |
Sets NTF FixAng. Parameters. |
|
||
(x1, x2, y1, y2, z1, z2) |
Turns on/off NTFFA walls. |
|
||
(file_name) |
Opens a disk text file for reading. |
|
||
(name) |
Start of object frame. |
|
||
(description, name, val_default) |
Parameter definition. |
|
||
(description, name, val1_default,val2,...,valN) |
Parameter definition with values choice as a list. |
|
||
(activity_x, activity_y, activity_z, beta_x, beta_y, beta_z) |
Defines features for periodic circuits. |
|
||
(phi, theta, polarisation) |
Defines plane wave data. |
|
||
(beam_type, neck_origin_X, neck_origin_Y, neck_origin_Z, neck_dia, angle_of_variation) |
Defines beam data. |
|
||
(level, height, type, activity, name, reference) |
Start of port frame. |
|
||
(point1z, point2z) |
Moves the excitation points to arbitrary z-level. |
|
||
(size-, size+, activity-, activity+, port_plane, port_circumf.) |
Sets mesh snapping and mesh enforcing properties of the port. |
|
||
(subcircuits_margin, active_walls, dummy, dummy) |
Sets subcircuits_margin property of the port. |
|
||
(arg1, arg2) |
Refers to lumped source/probe and determines in which postprocessing it is to be included. |
|
||
(index, int) |
Turns on/off post-processings. |
|
||
(type, par_a, par_b, file_name) |
Defines PML profile. |
|
||
(thickness, type, par_a, par_b, file_name) |
Defines PML thickness and profile. |
|
||
(take_every, below) |
Enables Prony post-processing. |
|
||
|
Function returning the value of the next number read from the file defined by OPENF command. |
|||
|
Function returning the next string read from the file defined by OPENF. |
|||
(delay) |
Redraws all the elements on the screen with a specified delay. |
|||
(item_type, range, new_name) |
Changes the name of an element or an object. |
|||
(angle, x0, y0) |
Rotates all the marked elements or objects with respect to the specified axis of symmetry, by a specified angle. |
|||
(level, height, height2, medium_name,element_name) |
Start of section frame |
|||
(which_attribute, attr_value_1, attr_value2) |
Sets a property for element. |
|||
(obj_name, med_name) |
Changes object material. |
|||
(colour_R, colour_G, colour_B, width, style) |
Defines the pen colour, line width and style for drawing the elements marked with the MARK command. |
|||
(draw_suspended, skip_EXPANDMESH, slicing_phase) |
Sets internal QW-Editor flags. |
|||
(sfm) |
Sets stability factor modifier. |
|||
(dx, dy, dz) |
Shifts all the marked elements or objects. |
|||
(low_freq, upper_freq, freq_step, assumptions) |
Activates SK1 differential postprocessing. |
|||
|
Function returning 0 when QW-Editor is in the DRAFT phase and 1 when QW-Editor is in the FINAL phase. |
|||
(low_freq, upper_freq, freq_step, assumptions, mode, IterForS) |
Activates Smn differential post-procesing. |
|||
(value) |
Function returning value snapped to geometry resolution (1E-5). |
|||
(x1, y1, z1, x2, y2, z2) |
Inserts STL format section. |
|||
(arithmetic_expression) |
Function converting arithmetic expression into string. |
|||
(symm_v, symm_h) |
Defines port symmetry. |
|||
(mode, m, n, freq, dummy) |
Defines analitic template data. |
|||
(method, match_freq, within, from, to, step, component, iter) |
Defines dynamic template data. |
|||
(method, match_freq, within, from, to, step, component, periods) |
Defines dynamic template data with periods. |
|||
(logical expression, text) |
Tests and validates expression. |
|||
(med_name,ini_temp,spec_heat,therm_cond_X,_Y,_Z) |
Material thermal parameters setting. |
|||
(space, freq) |
Defines project units. |
|||
UNITSGEOMETRY |
(space) |
Defines project’s geometry units. |
||
UNITSFREQUENCY |
(freq) |
Defines project’s frequencyunits. |
||
(text_expression) |
Function returning value of the variable given as the text expression. |
|||
(medname, viscosity) |
Sets material viscosity parameter. |
|||
(shape, f1, f2, duration, amplitude, delay, file_name) |
Defines waveform parameters. |
|||
(amplitude_im, delay_im) |
Defines additional waveform parameters for periodic circuits. |
|||
|
Standard control command. |
|||
(R1) |
Declaration of wire resistance, allowed only inside the frame of the element declared as WIRE. |
|||
(value) |
Writes value into udodebug.txt file (located in the project directory). |
|||
(string) |
Writes string into udodebug.txt file (located in the project directory). |
|||
VERSION |
(n) |
Returns a number of current base version of QW-Editor. |
||
(item_type,name,n) |
Function returning x-coordinate of n-th point of the element. |
|||
(item_type,name,n) |
Function returning y-coordinate of n-th point of the element. |
|||
(item_type,name,n) |
Function returning z-coordinate of n-th point of the element. |
|||
Back to Syntax of the User Defined Object (UDO) language chapter.