Skip to content
Snippets Groups Projects
Commit f0a8404e authored by Mark OLESEN's avatar Mark OLESEN
Browse files

BUG: incorrect io name for friction sources

parent 65831d81
No related branches found
No related tags found
1 merge request!2Code style
...@@ -42,7 +42,8 @@ namespace Foam ...@@ -42,7 +42,8 @@ namespace Foam
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
Foam::entrainmentModel::entrainmentModel Foam::entrainmentModel::entrainmentModel
(const word& name, (
const word& name,
const dictionary& entrainmentProperties, const dictionary& entrainmentProperties,
const areaVectorField &Us, const areaVectorField &Us,
const areaScalarField &h, const areaScalarField &h,
......
...@@ -60,7 +60,7 @@ Foam::frictionModel::frictionModel ...@@ -60,7 +60,7 @@ Foam::frictionModel::frictionModel
( (
IOobject IOobject
( (
name, "tauSp",
Us_.time().timeName(), Us_.time().timeName(),
Us_.db(), Us_.db(),
IOobject::NO_READ, IOobject::NO_READ,
...@@ -73,7 +73,7 @@ Foam::frictionModel::frictionModel ...@@ -73,7 +73,7 @@ Foam::frictionModel::frictionModel
( (
IOobject IOobject
( (
name, "tauSc",
Us_.time().timeName(), Us_.time().timeName(),
Us_.db(), Us_.db(),
IOobject::NO_READ, IOobject::NO_READ,
...@@ -83,9 +83,9 @@ Foam::frictionModel::frictionModel ...@@ -83,9 +83,9 @@ Foam::frictionModel::frictionModel
dimensionedVector(dimensionSet(0, 2, -2, 0, 0, 0, 0)) dimensionedVector(dimensionSet(0, 2, -2, 0, 0, 0, 0))
) )
{ {
Info<< " with " << endl Info<< " with " << nl
<< " " << rho_ << endl << " " << rho_ << nl
<< " " << u0_ << endl << " " << u0_ << nl
<< " " << h0_ << endl; << " " << h0_ << endl;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment