Skip to content
Discussion options

You must be logged in to vote

Hi. There are a couple of issues with your code:

  • For starters, when you add a model to a phase, you just need to pass a "handle" to the model, and not call it. In your case, you just need to pass gas_mixture_ce instead of gas_mixture_ce(...).
  • Air is already a mixture so I assume it should already have a model for diffusivity, so I guess you don't need to add those models yourself.
  • When setting temperature, use lowercase, i.e., temperature instead of Temperature.
  • Size factor models are to be added to your network, and not to the phase object.

Have you looked at this example? It explains how to compute tortuosity of a network.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by ma-sadeghi
Comment options

You must be logged in to vote
1 reply
@ma-sadeghi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2713 on March 23, 2023 18:04.