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.
Interpolation
Posted 2015年2月24日 GMT-5 05:44 Low-Frequency Electromagnetics Version 5.1 2 Replies
Please login with a confirmed email address before reporting spam
Dear all,
I'm encountering problems when using the Interpolation functions. I'm working on a couples "Rotating Machinery, Magnetic" and "Global ODEs and DAEs" model. The goal is to simulate an electrical machine with a PWM voltage supply.
When I define the voltage as a Global Variable using, for example, the expression "Vc = Vamp*cos(2*pi*f*t-4*pi/3)" everything works fine. However, when defining the voltage using interpolation functions COMSOL can't solve the ODE's I've imposed (these ODE's contain the voltages). The error message is:
Failed to evaluate variable
- Variable: Vc
- Global scope
Failed to evaluate expression
- Expression: Vc-R*mod1.Ic2-L*mod1.Ic2t-mod1.EMF_C2
Anyone an idea on how to solve this?
BR,
Bert Hannon
I'm encountering problems when using the Interpolation functions. I'm working on a couples "Rotating Machinery, Magnetic" and "Global ODEs and DAEs" model. The goal is to simulate an electrical machine with a PWM voltage supply.
When I define the voltage as a Global Variable using, for example, the expression "Vc = Vamp*cos(2*pi*f*t-4*pi/3)" everything works fine. However, when defining the voltage using interpolation functions COMSOL can't solve the ODE's I've imposed (these ODE's contain the voltages). The error message is:
Failed to evaluate variable
- Variable: Vc
- Global scope
Failed to evaluate expression
- Expression: Vc-R*mod1.Ic2-L*mod1.Ic2t-mod1.EMF_C2
Anyone an idea on how to solve this?
BR,
Bert Hannon
2 Replies Last Post 2016年9月9日 GMT-4 06:00