Commit 8f533fef authored by Thomas Fetzer's avatar Thomas Fetzer
Browse files

[2cstokes2p2c]

changed the way how, the boundaryLayerModel parameter is set; now it is not
mandatory to specify it in the input file, but it is disabled by
default


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@13886 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent d1eb1ccd
......@@ -133,21 +133,19 @@ class TwoCStokesTwoPTwoCLocalOperator :
{
blModel_ = GET_RUNTIME_PARAM_FROM_GROUP(TypeTag, int, FreeFlow, UseBoundaryLayerModel);
massTransferModel_ = GET_RUNTIME_PARAM_FROM_GROUP(TypeTag, int, FreeFlow, MassTransferModel);
if (massTransferModel_ == 1)
std::cout << "Using power law for mass transfer coefficient\n";
if (massTransferModel_ == 2){
std::cout << "Using Schluender model\n";
}
}
catch (Dumux::ParameterException &e) {
std::cerr << e << ". Abort!\n";
exit(1) ;
}
catch (...) {
std::cerr << "Unknown exception thrown!\n";
exit(1);
blModel_ = 0;
massTransferModel_ = 1;
std::cout << "For using the mass transfer model, the following paremeters have to be set:\n";
std::cout << "FreeFlow.UseBoundaryLayerModel\n";
std::cout << "FreeFlow.MassTransferModel\n";
}
if (massTransferModel_ == 1)
std::cout << "Using power law for mass transfer coefficient\n";
else if (massTransferModel_ == 2)
std::cout << "Using Schluender model for mass transfer\n";
}
// multidomain flags
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment