Replies: 1 comment 2 replies
-
In eq1 = TransientTerm(var=qj) == k_pj * a_p * (q_j_star - qj)
eq2 = (TransientTerm() == DiffusionTerm(coeff=D_az) - ConvectionTerm(coeff=u_i)
- ((1 - porosity) / porosity) * density * f * k_pj * a_p * (q_j_star - qj))
eqn = eq1 & eq2 you specify which variable that the If you use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm trying to solve a system of coupled partial differential equations using FiPy, but I keep running into an ExplicitVariableError. The error message says "Terms with explicit Variables cannot mix with Terms with implicit Variables".
Here are the equations I'm trying to solve:
The variables are Cj and qj, the rest of terms are constants.
Here is the code I've written so far:
I'm new at using fipy so there are likely several errors. I would greatly appreciate any advice or guidance on my issue. Additionally, I have attempted to resolve it in parallel using PETSc, but it's not working either.
Thank you very much in advance.
Beta Was this translation helpful? Give feedback.
All reactions