Replies: 2 comments
-
So As to the forms of the terms, I try to avoid 1D expressions because the role of the derivatives is ambiguous:
It may technically not matter for the 1D analytical expressions, but the discretizations are very different and they're not the same in higher dimensions at all. If I had to guess, If The problem with this interpretation of is dimensionally inconsistent (I really wish that If is OK, but is not. So, I think No good ever comes from writing PDEs in 1D. Another point of confusion is the interpretation of |
Beta Was this translation helpful? Give feedback.
-
Hi there,
You are correct, this was a typo, it should have been
I guess
Ok, thanks a lot
Ok, again, thanks
:)
Yes, the paper doesnt actually say, but i assumed it was. These equations are 1D models of mass, momentum and energy convservation (modelling pressure and density wave instabilities in thermohydraulic systems) |
Beta Was this translation helpful? Give feedback.
-
Firstly, thanks for t great tool, this is truly invaluable for those who work in such an area, and for making it available.
Second, I would like to solve the following system:
From the paper, the linearised system is, where the * quantities are from the previous timestep:
From the papers i have seen (solved with another method, Least squares spectral method (LSSM)), the solution vector is$[G, P, h]$ so i am guessing $\rho$ is calculated using a gas law or an equation of state ... I was wondering whether this could be solved using Fipy - I guess it could be, and whether one needs to solve in a coupled or segregated fashion (sweeps), and whether anyone had any tips on how to get started.
I guess the transient terms (
TransientTerm
) are trivial, and the gradient terms can be modelled using the.grad
orImplicitSourceTerm
or similar ...EDIT. Fix up wrong derivative term (should$\frac{\partial G}{\partial z}$ should have been $\frac{\partial G}{\partial t}$ and $\frac{\partial}{\partial z}(\frac{G^2}{\partial \rho})$ should have been $\frac{\partial}{\partial z}(\frac{G^2}{\rho})$ and also in the linearised equations
Beta Was this translation helpful? Give feedback.
All reactions