Skip to content

Commit

Permalink
Backporting ConstantLewisDiffusivity bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
pbauman committed Jun 23, 2015
1 parent 186e5a7 commit f425a1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/transport/include/antioch/constant_lewis_diffusivity.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ namespace Antioch
template<typename StateType>
ANTIOCH_AUTO(StateType)
D( const StateType& rho, const StateType& cp, const StateType& k ) const
ANTIOCH_AUTOFUNC(StateType, _Le*k/(rho*cp))
ANTIOCH_AUTOFUNC(StateType, k/(_Le*rho*cp))

};

Expand Down
2 changes: 1 addition & 1 deletion test/constant_lewis_unit.C
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ int tester()

const Scalar D = diff.D( rho, cp, k );

const Scalar D_exact = Le*k/(rho*cp);
const Scalar D_exact = k/(Le*rho*cp);

return test_val( D, D_exact, tol, std::string("D") );
}
Expand Down

0 comments on commit f425a1f

Please sign in to comment.