Please login with a confirmed email address before reporting spam
Posted:
6 years ago
20 ago 2018, 03:43 GMT-4
Hi,
COMSOL software supports t variable as time.
So, if you want to consider a value as a function of time,
- setup function in Definitions > Functions
- use the function(function name) in a boundary condition you want
If you use Piecewise function, Function name is pw1 by default, and you can setup pw1(t) in boundary condition.
Thanks.
Kim
Hi,
COMSOL software supports **t** variable as time.
So, if you want to consider a value as a function of time,
1. setup function in Definitions > Functions
2. use the function(function name) in a boundary condition you want
If you use Piecewise function, Function name is **pw1** by default, and you can setup **pw1(t)** in boundary condition.
Thanks.
Kim
Please login with a confirmed email address before reporting spam
Posted:
6 years ago
20 ago 2018, 08:57 GMT-4
Hi,
thanks a lot! I implanted the Piecewise function, but i can't see any sweep in the study and when I add the Electrostatic Physics interface to the time dependent step in my study I get an error :
"Failed to find consistent initial values.
Last time step is not converged.".
Thanks in advance,
Dennis
Hi,
thanks a lot! I implanted the Piecewise function, but i can't see any sweep in the study and when I add the Electrostatic Physics interface to the time dependent step in my study I get an error :
"Failed to find consistent initial values.
Last time step is not converged.".
Thanks in advance,
Dennis
Please login with a confirmed email address before reporting spam
Posted:
6 years ago
21 ago 2018, 09:01 GMT-4
Hi,
thanks a lot! I implanted the Piecewise function, but i can't see any sweep in the study and when I add the Electrostatic Physics interface to the time dependent step in my study I get an error :
"Failed to find consistent initial values.
Last time step is not converged.".
Thanks in advance,
Dennis
Okay, I solved the problem. The piecewise function worked perfect, but I had to add the Electrostatic Physics interface to the time dependent step in my study and for this combination the absolute tolerance in the time-dependent solver was to low and couldn't converged.
For higher tolerances and bigger time steps everything is working fine!
>Hi,
>thanks a lot! I implanted the Piecewise function, but i can't see any sweep in the study and when I add the Electrostatic Physics interface to the time dependent step in my study I get an error :
>"Failed to find consistent initial values.
>Last time step is not converged.".
>
>Thanks in advance,
>Dennis
Okay, I solved the problem. The piecewise function worked perfect, but I had to add the Electrostatic Physics interface to the time dependent step in my study and for this combination the absolute tolerance in the time-dependent solver was to low and couldn't converged.
For higher tolerances and bigger time steps everything is working fine!