Skip to content

Importing a constant number (maybe via ConstantFunction) to damage dependent perm (K) calculation #26366

Discussion options

You must be logged in to vote

Have you tried adding these as parameters? Something like (I'm just guessing names for these, you probably have better ones you could use)

params.addParam<Real>("perm_backfill", 1e-15, "Permeability for backfill (default 1e-15)");
params.addParam<Real>("perm_cave", 1e-13, "Permeability for cave (default 1e-13)");

in validParams(), then

_perm_backfill(getParam<Real>("perm_backfill")

etc in the constructor, then

if (_damage[_qp] >= 3 ) { // backfill  
        _perm[_qp](0) =  _perm_backfill; 
        _perm[_qp](1) =   _perm_backfill; 
        _perm[_qp](2) =   _perm_backfill; 

       }

etc

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Traiwit
Comment options

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