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
26.07.2012, 16:38 GMT-4
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
26.07.2012, 17:07 GMT-4
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
31.07.2012, 09:28 GMT-4
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
02.08.2012, 13:55 GMT-4
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