mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Updated output message if porosity present
This commit is contained in:
@ -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"))
|
||||||
|
|||||||
Reference in New Issue
Block a user