You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use Method of Lines to simulate gas-phase fixed bed experiments. This involves solving PDE's+DAE's+NLAE for the mass, energy and momentum balances in space and time. I started just with the mass balance (P, u0 and T constant in space and time) and I think it was working fine. However, now I have the momentum balance, and a problem is appearing. The mass balance consists of an algebraic equation and a dif. equation in space. The problem is on the BC for the momentum balance. When I discretize, I get this: AssertionError: Boundary condition u0(0, t) ~ 0.011033525276772852 is not on a boundary of the domain, or is not a valid boundary condition or AssertionError: Boundary condition P(0.236, t) ~ 100000.0 is not on a boundary of the domain, or is not a valid boundary condition. I've seen this issue on other people, but no one seemed to have solved it.
ruidanielgm
changed the title
MTK : AssertionError: Boundary condition is not on a boundary of the domain, or is not a valid boundary condition
MoL : AssertionError: Boundary condition is not on a boundary of the domain, or is not a valid boundary condition
Jun 4, 2024
I'm trying to use
Method of Lines
to simulate gas-phase fixed bed experiments. This involves solving PDE's+DAE's+NLAE for the mass, energy and momentum balances in space and time. I started just with the mass balance (P, u0 and T constant in space and time) and I think it was working fine. However, now I have the momentum balance, and a problem is appearing. The mass balance consists of an algebraic equation and a dif. equation in space. The problem is on the BC for the momentum balance. When I discretize, I get this:AssertionError: Boundary condition u0(0, t) ~ 0.011033525276772852 is not on a boundary of the domain, or is not a valid boundary condition
orAssertionError: Boundary condition P(0.236, t) ~ 100000.0 is not on a boundary of the domain, or is not a valid boundary condition
. I've seen this issue on other people, but no one seemed to have solved it.let me know if you need more information
The text was updated successfully, but these errors were encountered: