Skip to content

DoNothingBC's and parameter "diff" is being retrieved before being set #106

Discussion options

You must be logged in to vote

The DriftDiffusionDoNothingBC is old code that was made when @lindsayad was first making Zapdos and hasn't been developed upon since. Looking at the body files, it looks like that BC is not fluid dependent with the material block (i.e. instead of calling the diffusion and mobility coefficient for a specific variable, it calls on a singular mu and diff term). The error is because a material property of mu and diff was not define in the input file. Because multiple variable are using that BC, you need to define the mobility and diffusion coefficient in the each separate BC. It should look something like:

[Species_outlet]
type = DriftDiffusionDoNothingBC
variable = species
mu = #
diff = #

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@ghost
Comment options

@ghost
Comment options

@cticenhour
Comment options

@ghost
Comment options

@cticenhour
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants