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
8 mai 2011, 14:12 UTC−4
Hi
normally time derivative terms are only added if you are in transient analysis (and it's clearly identified by COMSOL), so sometimes, when you have several combined solver steps, you need to load the initial values of the transient analysis to get the formulas updated (or after a first full solver case).
its the same for the time "t", that gets defined only from the moment you run a transient analysis. If you start with a stationary case and solve that only you might have formulas that imply "t" and this i flagged "undefined" => workaround, define a PARAMETER t=0[s] and COMSOL finds out of it. Conclusions: never fully trust a formula before you have run the solver ;)
--
Good luck
Ivar
Hi
normally time derivative terms are only added if you are in transient analysis (and it's clearly identified by COMSOL), so sometimes, when you have several combined solver steps, you need to load the initial values of the transient analysis to get the formulas updated (or after a first full solver case).
its the same for the time "t", that gets defined only from the moment you run a transient analysis. If you start with a stationary case and solve that only you might have formulas that imply "t" and this i flagged "undefined" => workaround, define a PARAMETER t=0[s] and COMSOL finds out of it. Conclusions: never fully trust a formula before you have run the solver ;)
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
8 mai 2011, 22:17 UTC−4
Hi Ivar,
I'm running a transient analysis since the beginning, over and over. No transient term has appeared in the weak forms after simulation.
The transient term for the concentration (c) is present in the equation from the start: -chpm.theta*ct*test(c).
What I'm saying is that there should be a time derivative of the porosity in order to respect the equation in the User's Guide (see eq. 3-107 in the attached pdf). This derivative would have this form if we respect the default comsol nomenclature: -c*chpm.thetat*test(c)
with
c: concentration
chpm.theta: porosity
But this term is never there! As if the porosity was ALWAYS considered constant...which is wrong.
Is it clear now? Sorry if my explanations are not clear, english is not my native language.
Hi Ivar,
I'm running a transient analysis since the beginning, over and over. No transient term has appeared in the weak forms after simulation.
The transient term for the concentration (c) is present in the equation from the start: -chpm.theta*ct*test(c).
What I'm saying is that there should be a time derivative of the porosity in order to respect the equation in the User's Guide (see eq. 3-107 in the attached pdf). This derivative would have this form if we respect the default comsol nomenclature: -c*chpm.thetat*test(c)
with
c: concentration
chpm.theta: porosity
But this term is never there! As if the porosity was ALWAYS considered constant...which is wrong.
Is it clear now? Sorry if my explanations are not clear, english is not my native language.
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
9 mai 2011, 03:55 UTC−4
Hi
To make it easier to compare, pls specify CM version and dimension (2-3D?)
From what you say the issue was not in the solver not being updated then (what I thought and mentioned in the previous answer).
If you are in v4.0 there might be a missing term indeed (as that was an early version after a major software change), but that should be corrected in the newer one if so. But I have problems to find back your formula in my patched 4.1 ;) So it's difficult for me to say much more
Hei, just one thing still: I see a "ct" = dc/dt in Comsol notation, there in the first term of your original mail:
-chpm.theta*ct*test(c)
----------------^^^
--
Good luck
Ivar
Hi
To make it easier to compare, pls specify CM version and dimension (2-3D?)
From what you say the issue was not in the solver not being updated then (what I thought and mentioned in the previous answer).
If you are in v4.0 there might be a missing term indeed (as that was an early version after a major software change), but that should be corrected in the newer one if so. But I have problems to find back your formula in my patched 4.1 ;) So it's difficult for me to say much more
Hei, just one thing still: I see a "ct" = dc/dt in Comsol notation, there in the first term of your original mail:
-chpm.theta*ct*test(c)
----------------^^^
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
9 mai 2011, 19:53 UTC−4
Hi,
There should be TWO time derivatives: one for the concentration (c) and one for the porosity (chpm.theta).
Please look at eq.3-107 in the attached pdf of my second post.
I work in 1D.
Have a look at the weak espressions in the attached jpg here, and compare with eq. 3-107: the second time derivative is not there, as if porosity was considered constant.
No matter the value of the porosity (I tried many things: time dependent polynomial, etc.), the second time derivative never appears.
I'm running 4.1.0.185.
Hi,
There should be TWO time derivatives: one for the concentration (c) and one for the porosity (chpm.theta).
Please look at eq.3-107 in the attached pdf of my second post.
I work in 1D.
Have a look at the weak espressions in the attached jpg here, and compare with eq. 3-107: the second time derivative is not there, as if porosity was considered constant.
No matter the value of the porosity (I tried many things: time dependent polynomial, etc.), the second time derivative never appears.
I'm running 4.1.0.185.
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
10 mai 2011, 01:52 UTC−4
Hi
you should get this clarified by "Support", as you are using v4.1 with the latest patch
--
Good luck
Ivar
Hi
you should get this clarified by "Support", as you are using v4.1 with the latest patch
--
Good luck
Ivar