Skip to content
Snippets Groups Projects
Commit 0ccbf6e7 authored by andy's avatar andy
Browse files

BUG: Updated output message if porosity present

parent 7d7d210d
Branches
Tags
No related merge requests found
...@@ -678,16 +678,14 @@ void Foam::forces::read(const dictionary& dict) ...@@ -678,16 +678,14 @@ void Foam::forces::read(const dictionary& dict)
localSystem_ = true; localSystem_ = true;
} }
if (dict.readIfPresent("porosity", porosity_) && log_) dict.readIfPresent("porosity", porosity_);
if (porosity_)
{ {
if (porosity_) Info(log_)<< " Including porosity effects" << endl;
{ }
Info<< " Including porosity effects" << endl; else
} {
else Info(log_)<< " Not including porosity effects" << endl;
{
Info<< " Not including porosity effects" << endl;
}
} }
if (dict.found("binData")) if (dict.found("binData"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment