Please login with a confirmed email address before reporting spam
Posted:
6 years ago
Aug 20, 2018, 3:43 a.m. EDT
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
Aug 20, 2018, 8:57 a.m. EDT
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
Aug 21, 2018, 9:01 a.m. EDT
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!