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
11 janv. 2011, 11:51 UTC−5
Hi
in 3.5 (comapred to v4) you have less control on your meshing, I'm not sure how to "restart" the meshing for the parametric sweep anylonger in 3.5a, passing via matlab is certainly possible
--
Good luck
Ivar
Hi
in 3.5 (comapred to v4) you have less control on your meshing, I'm not sure how to "restart" the meshing for the parametric sweep anylonger in 3.5a, passing via matlab is certainly possible
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
11 janv. 2011, 15:16 UTC−5
Hi Ivar,
thanks for your response.
I managed to get a solution by using Matlab and a loop, where the swept parameter is changed by multiplication with the loop counter "i" and the mesh is reset at each loop run.
Still, I have a question concerning the call of parameters which could be used as a list, e.g. in a text file.
Is it possible to read single defined values from such a textfile and use them in a loop in the comsol m-file, e.g. entry at line "i" in the text file according to the "i" given in the loop counter with "for i = 1:x"?
The intention is to use arbitrary sets of values, which can not be expressed by a function or series.
I only know from the manual how to call functions from text files with "fem.functions{2}.fileindex = {i,...};" but can this be applied in my case?
I feel, there should be an elegant solution to this, which I might not be able so see.
(have to try this out though)
Regards
Matthias
Hi Ivar,
thanks for your response.
I managed to get a solution by using Matlab and a loop, where the swept parameter is changed by multiplication with the loop counter "i" and the mesh is reset at each loop run.
Still, I have a question concerning the call of parameters which could be used as a list, e.g. in a text file.
Is it possible to read single defined values from such a textfile and use them in a loop in the comsol m-file, e.g. entry at line "i" in the text file according to the "i" given in the loop counter with "for i = 1:x"?
The intention is to use arbitrary sets of values, which can not be expressed by a function or series.
I only know from the manual how to call functions from text files with "fem.functions{2}.fileindex = {i,...};" but can this be applied in my case?
I feel, there should be an elegant solution to this, which I might not be able so see.
(have to try this out though)
Regards
Matthias
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
23 mars 2011, 15:04 UTC−4
Hi
in 3.5 (comapred to v4) you have less control on your meshing, I'm not sure how to "restart" the meshing for the parametric sweep anylonger in 3.5a, passing via matlab is certainly possible
--
Good luck
Ivar
Would you happen to now how to "restart" the meshing in between parameter steps in version 4.1?
Thanks,
John
[QUOTE]
Hi
in 3.5 (comapred to v4) you have less control on your meshing, I'm not sure how to "restart" the meshing for the parametric sweep anylonger in 3.5a, passing via matlab is certainly possible
--
Good luck
Ivar
[/QUOTE]
Would you happen to now how to "restart" the meshing in between parameter steps in version 4.1?
Thanks,
John
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
24 mars 2011, 03:10 UTC−4
Hi
normally with a "true "Parametric Sweep, if you change the geometry, it will remesh at each step (V4.1)
--
Good luck
Ivar
Hi
normally with a "true "Parametric Sweep, if you change the geometry, it will remesh at each step (V4.1)
--
Good luck
Ivar