Replies: 1 comment
-
Here are the properties for the integral operator And the properties for the Line Integration under Derived Values {'allowdescrupdate': True, 'axisymshift': 0, 'compactexprs': True, 'config': 'none', 'const': [[]], 'constUnit': [], 'constactive': 'off', 'constprefixes': [''], 'data': 'dset1', 'dataisaxisym': 'off', 'dataseries': 'none', 'dataseriescumulative': False, 'dataseriesmethod': 'auto', 'defaultPlotID': None, 'descr': ['Back Scattered Power'], 'descractive': False, 'differential': False, 'evalmethod': 'harmonic', 'evalmethodactive': 'off', 'expr': ['intop(emw.nPoav)'], 'exprexcelcalculatedvalues': False, 'exprexcelfilename': None, 'exprexcelincludeheaders': False, 'exprexceloverwrite': True, 'exprexcelrange': None, 'exprexcelseparateunits': False, 'exprexcelsheet': None, 'hasbeenevaluated': True, 'hasouter': 'off', 'includeparam': False, 'innerinput': 'all', 'interp': array([], shape=(1, 0), dtype=object), 'interp_vector_freqperdec': [], 'interp_vector_function': [], 'interp_vector_interval': ['octave'], 'interp_vector_method': [], 'interp_vector_numvalues': [], 'interp_vector_start': [], 'interp_vector_step': [], 'interp_vector_stop': [], 'intorder': 4, 'intorderactive': False, 'intsurface': True, 'localzphys': '0', 'localzphys_vector_freqperdec': None, 'localzphys_vector_function': 'none', 'localzphys_vector_interval': 'octave', 'localzphys_vector_method': 'step', 'localzphys_vector_numvalues': None, 'localzphys_vector_start': None, 'localzphys_vector_step': None, 'localzphys_vector_stop': None, 'localzrel': '0', 'localzrel_vector_freqperdec': None, 'localzrel_vector_function': 'none', 'localzrel_vector_interval': 'octave', 'localzrel_vector_method': 'step', 'localzrel_vector_numvalues': None, 'localzrel_vector_start': None, 'localzrel_vector_step': None, 'localzrel_vector_stop': None, 'locdef': 'refsurf', 'locinput': 'fromdataset', 'looplevel': array([[1.0]], dtype=object), 'looplevelindices': array([], shape=(1, 0), dtype=object), 'looplevelindices_vector_freqperdec': [], 'looplevelindices_vector_function': [], 'looplevelindices_vector_interval': ['octave'], 'looplevelindices_vector_method': [], 'looplevelindices_vector_numvalues': [], 'looplevelindices_vector_start': [], 'looplevelindices_vector_step': [], 'looplevelindices_vector_stop': [], 'looplevelinput': ['all'], 'maximumobj': 'real', 'method': 'auto', 'minimumobj': 'real', 'normalization': 'none', 'oldanalysistype': 'Parameter_value', 'oldouteranalysistype': 'noneavailable', 'outerinput': 'all', 'outersolnum': array([1]), 'outersolnumindices': array([], dtype=float64), 'outersolnumindices_vector_freqperdec': None, 'outersolnumindices_vector_function': 'none', 'outersolnumindices_vector_interval': 'octave', 'outersolnumindices_vector_method': 'step', 'outersolnumindices_vector_numvalues': None, 'outersolnumindices_vector_start': None, 'outersolnumindices_vector_step': None, 'outersolnumindices_vector_stop': None, 'outertype': 'none', 'probetag': 'none', 'showinterp': ['off', 'off', 'off'], 'showlayerlocation': False, 'showlocationinput': 'off', 'showlooplevel': ['off', 'off', 'off'], 'showlooplevelindices': ['off', 'off', 'off'], 'showlooplevelinput': ['on', 'off', 'off'], 'solnum': array([1]), 'solnumindices': array([], dtype=float64), 'solnumindices_vector_freqperdec': None, 'solnumindices_vector_function': 'none', 'solnumindices_vector_interval': 'octave', 'solnumindices_vector_method': 'step', 'solnumindices_vector_numvalues': None, 'solnumindices_vector_start': None, 'solnumindices_vector_step': None, 'solnumindices_vector_stop': None, 'solrepresentation': 'solutioninfo', 'solutionparams': 'manual', 'solutiontouchtype': 'RESOLVE', 'solvertype': 'solnum', 't': array([], dtype=float64), 't_vector_freqperdec': None, 't_vector_function': 'none', 't_vector_interval': 'octave', 't_vector_method': 'step', 't_vector_numvalues': None, 't_vector_start': None, 't_vector_step': None, 't_vector_stop': None, 'table': 'tbl1', 'tablecols': 'data', 'unit': ['W'], 'unittrans': '1'} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a line integration that I evaluate after i run my simulation.
It consists of an Integration operator defined as such
And the actual derived result defined as such
Specifically when I evaluate this value in my code, I get a wildly different value then what I get in the GUI version of COMSOL.
When I evaluate other expressions in my code I get pretty much the same value as in the GUI.
My intuition tells me this has something to do with the boundary selection as this is a line integral but Im a bit lost on how to enforce this?
I have attached my code below
bsNode = model/'evaluations'/'Line Integration 3'
intNode = model/'couplings'/'Integration 1'
expr = model.property(bsNode, 'expr')[0]
value = model.evaluate(expr)
Beta Was this translation helpful? Give feedback.
All reactions