Lars Gregersen
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
Jun 23, 2016, 5:25 a.m. EDT
Hi John
Please send your model to support where someone will have a look.
I received an error when I tried to compact my Comsol file
Syntax error in expression
- Expression: SpaceCharge(root.x[[um]],root.y[[um]])
- Subexpression: [[um]],root
- Position: 19
I cannot understand where the error is coming from. SpaceCharge is an interpolation function.
--
Lars Gregersen
Comsol Denmark
Hi John
Please send your model to support where someone will have a look.
[QUOTE]
I received an error when I tried to compact my Comsol file
Syntax error in expression
- Expression: SpaceCharge(root.x[[um]],root.y[[um]])
- Subexpression: [[um]],root
- Position: 19
I cannot understand where the error is coming from. SpaceCharge is an interpolation function.
[/QUOTE]
--
Lars Gregersen
Comsol Denmark
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
Jun 23, 2016, 9:54 a.m. EDT
I have attached the model.
I have attached the model.
Daniel Smith
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
Jun 23, 2016, 10:45 a.m. EDT
Hi John, the problem seems to be with the disabled "2DPlot Group 1" feature under Results. In the "Surface 1" plot, the expression is set to SpaceCharge(root.x[[um]],root.y[[um]]). COMSOL can't interpret the double square brackets when compacting history. To fix the problem, simply replace the expression with SpaceCharge(root.x[um],root.y[um]). You should be able to compact history after making this change.
Dan
Hi John, the problem seems to be with the disabled "2DPlot Group 1" feature under Results. In the "Surface 1" plot, the expression is set to SpaceCharge(root.x[[um]],root.y[[um]]). COMSOL can't interpret the double square brackets when compacting history. To fix the problem, simply replace the expression with SpaceCharge(root.x[um],root.y[um]). You should be able to compact history after making this change.
Dan