mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: minor code formatting
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -56,11 +56,7 @@ bool Foam::adjustPhi
|
|||||||
|
|
||||||
if (!isA<processorFvsPatchScalarField>(phip))
|
if (!isA<processorFvsPatchScalarField>(phip))
|
||||||
{
|
{
|
||||||
if
|
if (Up.fixesValue() && !isA<inletOutletFvPatchVectorField>(Up))
|
||||||
(
|
|
||||||
Up.fixesValue()
|
|
||||||
&& !isA<inletOutletFvPatchVectorField>(Up)
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
forAll(phip, i)
|
forAll(phip, i)
|
||||||
{
|
{
|
||||||
@ -113,8 +109,12 @@ bool Foam::adjustPhi
|
|||||||
{
|
{
|
||||||
FatalErrorIn
|
FatalErrorIn
|
||||||
(
|
(
|
||||||
"adjustPhi(surfaceScalarField& phi, const volVectorField& U,"
|
"adjustPhi"
|
||||||
"const volScalarField& p"
|
"("
|
||||||
|
"surfaceScalarField&, "
|
||||||
|
"const volVectorField&,"
|
||||||
|
"volScalarField&"
|
||||||
|
")"
|
||||||
) << "Continuity error cannot be removed by adjusting the"
|
) << "Continuity error cannot be removed by adjusting the"
|
||||||
" outflow.\nPlease check the velocity boundary conditions"
|
" outflow.\nPlease check the velocity boundary conditions"
|
||||||
" and/or run potentialFoam to initialise the outflow." << nl
|
" and/or run potentialFoam to initialise the outflow." << nl
|
||||||
|
|||||||
Reference in New Issue
Block a user