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
May 8, 2011, 2:12 p.m. EDT
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
May 8, 2011, 10:17 p.m. EDT
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
May 9, 2011, 3:55 a.m. EDT
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
May 9, 2011, 7:53 p.m. EDT
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
May 10, 2011, 1:52 a.m. EDT
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