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:
@ -228,5 +228,4 @@ if (thermalStress)
|
|||||||
|
|
||||||
threeKalpha = threeK*alpha;
|
threeKalpha = threeK*alpha;
|
||||||
DT = k/C;
|
DT = k/C;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -72,13 +72,7 @@ void Foam::interRegionHeatTransferModel::check()
|
|||||||
{
|
{
|
||||||
FatalErrorIn
|
FatalErrorIn
|
||||||
(
|
(
|
||||||
"constantHeatTransfer::interRegionHeatTransferModel"
|
"constantHeatTransfer::interRegionHeatTransferModel::check()"
|
||||||
"("
|
|
||||||
" const word& name,"
|
|
||||||
" const word& modelType,"
|
|
||||||
" const dictionary& dict,"
|
|
||||||
" const fvMesh& mesh"
|
|
||||||
")"
|
|
||||||
) << "Secondary source name not found" << secondarySourceName_
|
) << "Secondary source name not found" << secondarySourceName_
|
||||||
<< " in region " << secondaryMesh.name()
|
<< " in region " << secondaryMesh.name()
|
||||||
<< nl
|
<< nl
|
||||||
@ -125,9 +119,12 @@ Foam::interRegionHeatTransferModel::interRegionHeatTransferModel
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
Foam::interRegionHeatTransferModel::~interRegionHeatTransferModel()
|
Foam::interRegionHeatTransferModel::~interRegionHeatTransferModel()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
|
||||||
@ -269,4 +266,6 @@ bool Foam::interRegionHeatTransferModel::read(const dictionary& dict)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -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-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -68,10 +68,8 @@ Foam::scalar Foam::NoBinaryCollision<CloudType>::sigmaTcR
|
|||||||
(
|
(
|
||||||
"Foam::scalar Foam::NoBinaryCollision<CloudType>::sigmaTcR"
|
"Foam::scalar Foam::NoBinaryCollision<CloudType>::sigmaTcR"
|
||||||
"("
|
"("
|
||||||
"label typeIdP,"
|
"const typename CloudType::parcelType&, "
|
||||||
"label typeIdQ,"
|
"const typename CloudType::parcelType"
|
||||||
"const vector& UP,"
|
|
||||||
"const vector& UQ"
|
|
||||||
") const"
|
") const"
|
||||||
)
|
)
|
||||||
<< "sigmaTcR called on NoBinaryCollision model, this should "
|
<< "sigmaTcR called on NoBinaryCollision model, this should "
|
||||||
|
|||||||
@ -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-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
|
|||||||
@ -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-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
|
|||||||
@ -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-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -129,8 +129,7 @@ void Foam::sixDoFRigidBodyMotion::applyConstraints(scalar deltaT)
|
|||||||
{
|
{
|
||||||
FatalErrorIn
|
FatalErrorIn
|
||||||
(
|
(
|
||||||
"Foam::sixDoFRigidBodyMotion::applyConstraints"
|
"Foam::sixDoFRigidBodyMotion::applyConstraints(scalar)"
|
||||||
"(scalar deltaT)"
|
|
||||||
)
|
)
|
||||||
<< nl << "Maximum number of sixDoFRigidBodyMotion constraint "
|
<< nl << "Maximum number of sixDoFRigidBodyMotion constraint "
|
||||||
<< "iterations ("
|
<< "iterations ("
|
||||||
@ -391,8 +390,8 @@ void Foam::sixDoFRigidBodyMotion::updatePosition
|
|||||||
(
|
(
|
||||||
"void Foam::sixDoFRigidBodyMotion::updatePosition"
|
"void Foam::sixDoFRigidBodyMotion::updatePosition"
|
||||||
"("
|
"("
|
||||||
"scalar deltaT, "
|
"scalar, "
|
||||||
"scalar deltaT0"
|
"scalar"
|
||||||
")"
|
")"
|
||||||
)
|
)
|
||||||
<< "Limited acceleration " << a()
|
<< "Limited acceleration " << a()
|
||||||
@ -449,9 +448,9 @@ void Foam::sixDoFRigidBodyMotion::updateForce
|
|||||||
(
|
(
|
||||||
"void Foam::sixDoFRigidBodyMotion::updateForce"
|
"void Foam::sixDoFRigidBodyMotion::updateForce"
|
||||||
"("
|
"("
|
||||||
"const vector& fGlobal, "
|
"const vector&, "
|
||||||
"const vector& tauGlobal, "
|
"const vector&, "
|
||||||
"scalar deltaT"
|
"scalar"
|
||||||
")"
|
")"
|
||||||
)
|
)
|
||||||
<< "Limited acceleration " << a()
|
<< "Limited acceleration " << a()
|
||||||
|
|||||||
@ -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-2012 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
|
|||||||
Reference in New Issue
Block a user