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
17 gen 2013, 15:20 GMT-5
Hi
check the "equation" tab of your periodic boundary condition node, for me it's written out fully thereunder (the tab is closed by default, except if you have enabled the default showin of the equations).
I find it useful to regularly check the equations it helps understanding whree you are and what you need to do, possibly help you identify errors in solvers, particularly for multi-physics since all physics do not accept all solver combinations
--
Good luck
Ivar
Hi
check the "equation" tab of your periodic boundary condition node, for me it's written out fully thereunder (the tab is closed by default, except if you have enabled the default showin of the equations).
I find it useful to regularly check the equations it helps understanding whree you are and what you need to do, possibly help you identify errors in solvers, particularly for multi-physics since all physics do not accept all solver combinations
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
18 gen 2013, 04:41 GMT-5
Hey Ivar and everybody,
thx for the reply. I had checked the equation view, but there it says only that the continuity or antiperiodicity condition, respectively, corresponds to var_source=+/- var_destination -- thats clear so far, but does not help me in knowing about any consequences for the flux of var or how to implement inflow=outflow if it is not already included :(
Sabine
Hey Ivar and everybody,
thx for the reply. I had checked the equation view, but there it says only that the continuity or antiperiodicity condition, respectively, corresponds to var_source=+/- var_destination -- thats clear so far, but does not help me in knowing about any consequences for the flux of var or how to implement inflow=outflow if it is not already included :(
Sabine
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
18 gen 2013, 04:55 GMT-5
Here is what I see
--
Good luck
Ivar
Here is what I see
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
18 gen 2013, 05:03 GMT-5
Ah, ok, but youre using the fluid flow physics! We have it as well, but so far I have my problem implemented in the PDE mode and are generally quite happy with it. And there only usource=udestination appears as equation, so nothing said about the derivatives, right? So in tha PDE mode, I could just define myself a second periodic boundary condition, where I type as expression the flux by hand, no?
Ah, ok, but youre using the fluid flow physics! We have it as well, but so far I have my problem implemented in the PDE mode and are generally quite happy with it. And there only usource=udestination appears as equation, so nothing said about the derivatives, right? So in tha PDE mode, I could just define myself a second periodic boundary condition, where I type as expression the flux by hand, no?
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
18 gen 2013, 05:14 GMT-5
oh no, I dont know how to do that, since there is no field where to type in the expression, I can only aplly the condition to the dependent variables by klicking on them ->?
oh no, I dont know how to do that, since there is no field where to type in the expression, I can only aplly the condition to the dependent variables by klicking on them ->?
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
18 gen 2013, 08:54 GMT-5
Hi
in PDE view you have the option for continuity or symmetric, and antisymmetric periodic conditions (4.3a), which means you flip the sign of the flow over the boundaries. This does NOT show up in the equation that remains static, but if you dig into the under-laying COMSOL equations you will see that you have a "-u" instead of "+u"
--
Good luck
Ivar
Hi
in PDE view you have the option for continuity or symmetric, and antisymmetric periodic conditions (4.3a), which means you flip the sign of the flow over the boundaries. This does NOT show up in the equation that remains static, but if you dig into the under-laying COMSOL equations you will see that you have a "-u" instead of "+u"
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
19 gen 2013, 07:45 GMT-5
hey ivar, last comment to make sure i got you right - so the continuity/antisymmetry setting is for the FLOW, not for the dep. variable, i.e. the u in the equation ("-u" instead of "+u) does NOT stand for the dep. varialbe itself? (but usually this is the meaning of u, no? so it is not very intuitive then :( ) so whether i choose continutity or antisymmetry, for my variable say c it is always c_source=c_destination, but the flow is then flow_c_source=+flow_c_destination (continuity) or flow_c_source=-flow_c_destination (antisymmetry), respectively?
(and do you know if there has been any change in this from v.4.1 to the v.4.3a?)
thanks a lot for your time :) sabine
hey ivar, last comment to make sure i got you right - so the continuity/antisymmetry setting is for the FLOW, not for the dep. variable, i.e. the u in the equation ("-u" instead of "+u) does NOT stand for the dep. varialbe itself? (but usually this is the meaning of u, no? so it is not very intuitive then :( ) so whether i choose continutity or antisymmetry, for my variable say c it is always c_source=c_destination, but the flow is then flow_c_source=+flow_c_destination (continuity) or flow_c_source=-flow_c_destination (antisymmetry), respectively?
(and do you know if there has been any change in this from v.4.1 to the v.4.3a?)
thanks a lot for your time :) sabine
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
19 gen 2013, 18:38 GMT-5
Hi
by default COMSOL proposes "u" as dependent variable for a new PDE physics, but depending on how you rename it it might have anoher name.
Turn on the preferences equatin views andlook at the COMSOL equations
I know many persons prefer to click to link in phenomena but stll , often it's worth to take a look at the equations generated
in SPF I agree, you do not have the symmetry/antisymmetry condition as an option, then use rather inlet and outlet and a coupling variable
--
Good luck
Ivar
Hi
by default COMSOL proposes "u" as dependent variable for a new PDE physics, but depending on how you rename it it might have anoher name.
Turn on the preferences equatin views andlook at the COMSOL equations
I know many persons prefer to click to link in phenomena but stll , often it's worth to take a look at the equations generated
in SPF I agree, you do not have the symmetry/antisymmetry condition as an option, then use rather inlet and outlet and a coupling variable
--
Good luck
Ivar