mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
linearUpwind: Added a temporary check to help people upgrade to the new gradient specification
This commit is contained in:
@ -111,7 +111,16 @@ public:
|
|||||||
mesh.gradScheme(gradSchemeName_)
|
mesh.gradScheme(gradSchemeName_)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
{}
|
{
|
||||||
|
if (!schemeData.eof())
|
||||||
|
{
|
||||||
|
IOWarningIn("linearUpwind(const fvMesh&, Istream&)", schemeData)
|
||||||
|
<< "unexpected additional entries in stream." << nl
|
||||||
|
<< " Only the name of the gradient scheme in the"
|
||||||
|
" 'gradSchemes' dictionary should be specified."
|
||||||
|
<< endl;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//- Construct from faceFlux and Istream
|
//- Construct from faceFlux and Istream
|
||||||
linearUpwind
|
linearUpwind
|
||||||
@ -131,7 +140,16 @@ public:
|
|||||||
mesh.gradScheme(gradSchemeName_)
|
mesh.gradScheme(gradSchemeName_)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
{}
|
{
|
||||||
|
if (!schemeData.eof())
|
||||||
|
{
|
||||||
|
IOWarningIn("linearUpwind(const fvMesh&, Istream&)", schemeData)
|
||||||
|
<< "unexpected additional entries in stream." << nl
|
||||||
|
<< " Only the name of the gradient scheme in the"
|
||||||
|
" 'gradSchemes' dictionary should be specified."
|
||||||
|
<< endl;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|||||||
@ -110,7 +110,13 @@ public:
|
|||||||
mesh.gradScheme(gradSchemeName_)
|
mesh.gradScheme(gradSchemeName_)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
{}
|
{
|
||||||
|
IOWarningIn("linearUpwindV(const fvMesh&, Istream&)", schemeData)
|
||||||
|
<< "unexpected additional entries in stream." << nl
|
||||||
|
<< " Only the name of the gradient scheme in the"
|
||||||
|
" 'gradSchemes' dictionary should be specified."
|
||||||
|
<< endl;
|
||||||
|
}
|
||||||
|
|
||||||
//- Construct from faceFlux and Istream
|
//- Construct from faceFlux and Istream
|
||||||
linearUpwindV
|
linearUpwindV
|
||||||
@ -130,7 +136,13 @@ public:
|
|||||||
mesh.gradScheme(gradSchemeName_)
|
mesh.gradScheme(gradSchemeName_)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
{}
|
{
|
||||||
|
IOWarningIn("linearUpwindV(const fvMesh&, Istream&)", schemeData)
|
||||||
|
<< "unexpected additional entries in stream." << nl
|
||||||
|
<< " Only the name of the gradient scheme in the"
|
||||||
|
" 'gradSchemes' dictionary should be specified."
|
||||||
|
<< endl;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Member Functions
|
// Member Functions
|
||||||
|
|||||||
Reference in New Issue
Block a user