Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
does a periodic boundary condition for u implement inflow u (boundary1) = outflow u (boundary2) in newer comsol versions as well? (periodic boundary condition for the flux)
Posted 17 gen 2013, 14:59 GMT-5 Fluid & Heat, Interfacing, Parameters, Variables, & Functions Version 4.1, Version 4.2, Version 4.2a, Version 4.3, Version 4.3a 8 Replies
Please login with a confirmed email address before reporting spam
I have a question about the implementation of periodic boundary conditions for fluxes, so that the inflow through one boundary equals the outflow through the other. In comsol 3.5, this condition was 'automatically' implemented when chosing periodic boundary conditions for a dependent variable with Neumann boundary conditions (no flux). Is this the same in the newer versions? (And if not, how can i implement this instead? I am working with the matlab live link, but any hint is highly appreciated) I cannot find any information about this neither in the manuals nor in internet ressources, so if you know the answer, PLEASE let me know, it won't take you ong to write a line, but help me a lot :)
All best,
Sabine
Please login with a confirmed email address before reporting spam
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
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
Please login with a confirmed email address before reporting spam
--
Good luck
Ivar
Attachments:
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
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
(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
Please login with a confirmed email address before reporting spam
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
Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.
Suggested Content
- KNOWLEDGE BASE Resolving Time-Dependent Waves
- BLOG The Heat Is On: Modeling Temperature Distribution in a Sauna
- KNOWLEDGE BASE Avoiding Negative Concentrations
- KNOWLEDGE BASE My Flux Calculation Seems Wrong
- FORUM Obsolete features in Newer versions of COMSOL
