Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
COMSOL 5.3 extract the electric field with mphinterp
Posted 2017年8月7日 GMT-4 12:30 RF & Microwave Engineering Version 5.3 3 Replies
Please login with a confirmed email address before reporting spam
Hi everyone,
I have a problem with the command mphinterp, since in the version 5.1 my code was working fine, while when i switched to the version 5.3, it is not working anymore.
I am using an adaptive mesh refinement as follows:
model.sol('sol1').feature('e1').create('ad1', 'Adaption');
And to extract the electric field (x component for example) of the modes of my fiber:
Ex_data = mphinterp(model, 'emw.Ex', 'coord',p, 'solnum',[Mode_num],'dataset','dset2');
When I run my simulation with the version 5.3, I have the following error:
The following feature has encountered a problem:
- Feature: Eigenvalue Solver 1 (sol1/e1)
Cannot use adaptation without referring to a study.
I am using the same code I was using with the version 5.1. I am wondering if something is changed between the two versions.
Many thanks for any answer.
I have a problem with the command mphinterp, since in the version 5.1 my code was working fine, while when i switched to the version 5.3, it is not working anymore.
I am using an adaptive mesh refinement as follows:
model.sol('sol1').feature('e1').create('ad1', 'Adaption');
And to extract the electric field (x component for example) of the modes of my fiber:
Ex_data = mphinterp(model, 'emw.Ex', 'coord',p, 'solnum',[Mode_num],'dataset','dset2');
When I run my simulation with the version 5.3, I have the following error:
The following feature has encountered a problem:
- Feature: Eigenvalue Solver 1 (sol1/e1)
Cannot use adaptation without referring to a study.
I am using the same code I was using with the version 5.1. I am wondering if something is changed between the two versions.
Many thanks for any answer.
3 Replies Last Post 2017年8月22日 GMT-4 09:31