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
14 mai 2011, 13:20 UTC−4
Hi
not easy to understand like that what is the true issue you have, is it how to make a periodic function (I would propose to use the rectangular pulse, as it has continuous smooth transitions, and modulate it with a "modulo" mod(t[1/s],Periode)
But then you might also have an issue with the solver settings, as the default "automatic" solver is not tailored fo repetitive changes in the BC, you should give the time steps, and impose a "strict" or an "intermediate" time stepping to ensure that the solver is not skipping over some of your NaCl injection pulses
--
Good luck
Ivar
Hi
not easy to understand like that what is the true issue you have, is it how to make a periodic function (I would propose to use the rectangular pulse, as it has continuous smooth transitions, and modulate it with a "modulo" mod(t[1/s],Periode)
But then you might also have an issue with the solver settings, as the default "automatic" solver is not tailored fo repetitive changes in the BC, you should give the time steps, and impose a "strict" or an "intermediate" time stepping to ensure that the solver is not skipping over some of your NaCl injection pulses
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
15 mai 2011, 11:49 UTC−4
Thank you for the answer,
the boudary condition that I want to introduce is a crenel function.
I tried to do that but only one pulse is detected, i am not sure that I used the "mod" properly please would you like to tell me how to use it exactally.
Thanks
Thank you for the answer,
the boudary condition that I want to introduce is a crenel function.
I tried to do that but only one pulse is detected, i am not sure that I used the "mod" properly please would you like to tell me how to use it exactally.
Thanks