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:
2 decades ago
5 ago 2009, 16:04 GMT-4
Hi
I would propose that you state explicitely which variables are time dependent and which are not (COMSOL documents assumes that you know, this is often misleading for me) so if I assume you have rho, cp and qss as constants I would rewrite this as:
rho*cp*( V(t)*dT(t)/dt+T(t)*dV(t) ) = qss
or
d( V(t)*T(t) )/dt = qss/rho/cp = cte
which by integration is
V(t)*T(t) = qss/rho/cp*(t-t0)
no ?
So if the volume and the temperature are changing with time, but not the density, nor cp you should be talking about an incompressible fluid I believe, then I do not see what you are missing (for a constant power exchange), except if you are talking about chemistry (for which I'm not using COMSOL regularly), but then you should express this as several volumes mixing, no ?
There are so many "physics" that can be solved with COMSOL, so perhaps you should be more explicit on the physics and the boundary conditions ?
Good luck
Ivar
Hi
I would propose that you state explicitely which variables are time dependent and which are not (COMSOL documents assumes that you know, this is often misleading for me) so if I assume you have rho, cp and qss as constants I would rewrite this as:
rho*cp*( V(t)*dT(t)/dt+T(t)*dV(t) ) = qss
or
d( V(t)*T(t) )/dt = qss/rho/cp = cte
which by integration is
V(t)*T(t) = qss/rho/cp*(t-t0)
no ?
So if the volume and the temperature are changing with time, but not the density, nor cp you should be talking about an incompressible fluid I believe, then I do not see what you are missing (for a constant power exchange), except if you are talking about chemistry (for which I'm not using COMSOL regularly), but then you should express this as several volumes mixing, no ?
There are so many "physics" that can be solved with COMSOL, so perhaps you should be more explicit on the physics and the boundary conditions ?
Good luck
Ivar
Michael Rembe
Certified Consultant
Please login with a confirmed email address before reporting spam
Posted:
2 decades ago
6 ago 2009, 09:12 GMT-4
Hi Ivar,
it seems, d( V(t)*T(t) )/dt = qss/rho/cp = cte helps and V*Tst+Ts*V_t-cte=0 is the correct formulation of the ODE.
Thanks for your hint!
Best regards
Michael
Hi Ivar,
it seems, d( V(t)*T(t) )/dt = qss/rho/cp = cte helps and V*Tst+Ts*V_t-cte=0 is the correct formulation of the ODE.
Thanks for your hint!
Best regards
Michael