Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
Jul 26, 2012, 4:38 p.m. EDT
Hi
there are a few things you should notice about time series and the continuity of your functions.
If you have a "square" BC function your derivative will be discontinuous and this will give trouble for the solver to estimate next step to take (Jacobian error), if you use an "smooth" function it would probalby work OK, and you have a series of functions awailable in COMSOL with "smoothed transition", specially for this.
Then the defalt "automatic" time stepper algorithm, asssumes a solution of a diffusion type, hence for periodic BC conditions, you should use an "intermediate" or strict time stepping (se solver sub-node settings) and give enough time steps to solve correctly your signal, else the solver will skip your steps easily (this was so for <= v4.2 I expect it's still so for v4.3, but COMSOL continuously updates their algoritm, so it might have become cleverer now ;)
--
Good luck
Ivar
Hi
there are a few things you should notice about time series and the continuity of your functions.
If you have a "square" BC function your derivative will be discontinuous and this will give trouble for the solver to estimate next step to take (Jacobian error), if you use an "smooth" function it would probalby work OK, and you have a series of functions awailable in COMSOL with "smoothed transition", specially for this.
Then the defalt "automatic" time stepper algorithm, asssumes a solution of a diffusion type, hence for periodic BC conditions, you should use an "intermediate" or strict time stepping (se solver sub-node settings) and give enough time steps to solve correctly your signal, else the solver will skip your steps easily (this was so for
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
Jul 26, 2012, 5:07 p.m. EDT
thank you, Mr.Kjelberg, I see the reason now.
--
physics undergrad
loves photon.
thank you, Mr.Kjelberg, I see the reason now.
--
physics undergrad
loves photon.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
Jul 31, 2012, 9:28 a.m. EDT
Hi again,
I have a question regarding the AC potential. I need to create a varying electric field in square wave form.
I chose one boundary as the varying potential, other as the ground, as thinking after one half period the varying potential boundary will be minus magnitude and the ground will be greater than that.
Is it correct? If not, what is the way of creating a varying potential between two boundaries?
thanks!
--
physics undergrad
loves photon.
Hi again,
I have a question regarding the AC potential. I need to create a varying electric field in square wave form.
I chose one boundary as the varying potential, other as the ground, as thinking after one half period the varying potential boundary will be minus magnitude and the ground will be greater than that.
Is it correct? If not, what is the way of creating a varying potential between two boundaries?
thanks!
--
physics undergrad
loves photon.
Ivar KJELBERG
COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
Aug 2, 2012, 1:55 p.m. EDT
Hi
if you check the equations you well notice that a GND boundary is simply a electric potential with V=0, so indeed if you have a varying potential in +/- in this way
--
Good luck
Ivar
Hi
if you check the equations you well notice that a GND boundary is simply a electric potential with V=0, so indeed if you have a varying potential in +/- in this way
--
Good luck
Ivar