Commit 596e4aef authored by OpenFOAM bot's avatar OpenFOAM bot
Browse files

STYLE: remove trailing space, tabs

parent f1723099
......@@ -275,7 +275,7 @@ int main(int argc, char *argv[])
{ false, " 31E1 " },
{ false, " 31.4159E-1 " },
{ true, "100" },
{ true, " 2147483644" },
{ true, "\t2147483644" },
{ false, " 2147483700 " },
}
);
......
......@@ -29,9 +29,9 @@ Application
writeActiveDesignVariables
Description
Writes the active design variables based on the selected parameterisation
Writes the active design variables based on the selected parameterisation
scheme, as read from the meshMovement part of optimisationDict.
Keeps a back-up of the original optimisationDict in
Keeps a back-up of the original optimisationDict in
system/optimisationDict.org, as comments in the dict will be lost.
\*---------------------------------------------------------------------------*/
......@@ -69,17 +69,17 @@ int main(int argc, char *argv[])
// Construct mesh movement object and grab active design variables
// Will exit with error if not implemented for this type
const dictionary& movementDict =
const dictionary& movementDict =
optDict.subDict("optimisation").subDict("meshMovement");
// Empty patch list will do
// Empty patch list will do
labelList patchIDs(0);
autoPtr<optMeshMovement> movementPtr
(optMeshMovement::New(mesh, movementDict, patchIDs));
const labelList activeDesignVariables =
const labelList activeDesignVariables =
movementPtr().getActiveDesignVariables();
// Construct update method to grab the type
dictionary& updateMethodDict =
dictionary& updateMethodDict =
optDict.subDict("optimisation").subDict("updateMethod");
autoPtr<updateMethod> updMethod(updateMethod::New(mesh, updateMethodDict));
......@@ -87,11 +87,11 @@ int main(int argc, char *argv[])
dictionary& coeffsDict = updateMethodDict.subDictOrAdd(updMethod().type());
coeffsDict.add<labelList>
(
"activeDesignVariables",
activeDesignVariables,
"activeDesignVariables",
activeDesignVariables,
true
);
// Write modified dictionary
optDict.regIOobject::writeObject
(
......
......@@ -44,14 +44,14 @@ namespace fa
template<class Type>
scalar EulerFaD2dt2Scheme<Type>::deltaT_() const
{
return mesh().time().deltaT().value();
return mesh().time().deltaT().value();
}
template<class Type>
scalar EulerFaD2dt2Scheme<Type>::deltaT0_() const
{
return mesh().time().deltaT0().value();
return mesh().time().deltaT0().value();
}
......
......@@ -61,11 +61,11 @@ class EulerFaD2dt2Scheme
{
// Private Member Functions
//- Return the current time-step
scalar deltaT_() const;
//- Return the current time-step
scalar deltaT_() const;
//- Return the previous time-step
scalar deltaT0_() const;
//- Return the previous time-step
scalar deltaT0_() const;
//- No copy construct
EulerFaD2dt2Scheme(const EulerFaD2dt2Scheme&) = delete;
......
......@@ -48,7 +48,7 @@ Usage
type heatTransferCoeff;
libs ("libfieldFunctionObjects.so");
...
htcModel ReynoldsAnalogy;
htcModel ReynoldsAnalogy;
UInf (20 0 0);
Cp CpInf;
CpInf 1005;
......
......@@ -42,8 +42,8 @@ Usage
type heatTransferCoeff;
libs ("libfieldFunctionObjects.so");
...
htcModel fixedReferenceTemperature;
TRef 300;
htcModel fixedReferenceTemperature;
TRef 300;
...
\endverbatim
......
......@@ -42,7 +42,7 @@ Usage
type heatTransferCoeff;
libs ("libfieldFunctionObjects.so");
...
htcModel localReferenceTemperature;
htcModel localReferenceTemperature;
...
\endverbatim
......
......@@ -338,7 +338,7 @@ void Foam::LocalInteraction<CloudType>::info(Ostream& os)
scalarListList mpe0(patchData_.size());
labelListList nps0(patchData_.size());
scalarListList mps0(patchData_.size());
forAll(patchData_, patchi)
{
label lsd = nEscape_[patchi].size();
......@@ -348,8 +348,8 @@ void Foam::LocalInteraction<CloudType>::info(Ostream& os)
mps0[patchi].setSize(lsd, Zero);
}
this->getModelProperty("nEscape", npe0);
this->getModelProperty("nEscape", npe0);
this->getModelProperty("massEscape", mpe0);
this->getModelProperty("nStick", nps0);
this->getModelProperty("massStick", mps0);
......
......@@ -252,7 +252,7 @@ void Foam::StandardWallInteraction<CloudType>::info(Ostream& os)
scalarListList mpe0(nEscape_.size());
labelListList nps0(nEscape_.size());
scalarListList mps0(nEscape_.size());
forAll(nEscape_, patchi)
{
label lsd = nEscape_[patchi].size();
......@@ -261,7 +261,7 @@ void Foam::StandardWallInteraction<CloudType>::info(Ostream& os)
nps0[patchi].setSize(lsd, Zero);
mps0[patchi].setSize(lsd, Zero);
}
this->getModelProperty("nEscape", npe0);
this->getModelProperty("massEscape", mpe0);
this->getModelProperty("nStick", nps0);
......
......@@ -1796,7 +1796,7 @@ Foam::label Foam::NURBS3DVolume::nUSymmetry() const
else
{
nU = (nU - 1)/2 + 1;
}
}
return nU;
}
......@@ -1811,7 +1811,7 @@ Foam::label Foam::NURBS3DVolume::nVSymmetry() const
else
{
nV = (nV - 1)/2 + 1;
}
}
return nV;
}
......@@ -1826,7 +1826,7 @@ Foam::label Foam::NURBS3DVolume::nWSymmetry() const
else
{
nW = (nW - 1)/2 + 1;
}
}
return nW;
}
......
......@@ -58,7 +58,7 @@ class NURBS3DVolumeCylindrical
protected:
// Protected Data
//- Translation vector
vector origin_;
......
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 .master.develop |
| \\ / O peration | Version: v1912 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
......
......@@ -138,7 +138,7 @@ castellatedMeshControls
// section reachable from the locationInMesh is kept.
// NOTE: This point should never be on a face, always inside a cell, even
// after refinement.
locationsInMesh
locationsInMesh
(
(( 0.005 0.005 0.005) heater)
(( 0.05 0.005 0.005) rightSolid)
......
......@@ -16,7 +16,7 @@ FoamFile
application adjointOptimisationFoam;
startFrom latestTime;
startFrom latestTime;
startTime 0;
......
......@@ -16,7 +16,7 @@ FoamFile
application adjointOptimisationFoam;
startFrom latestTime;
startFrom latestTime;
startTime 0;
......
......@@ -16,7 +16,7 @@ FoamFile
application adjointOptimisationFoam;
startFrom latestTime;
startFrom latestTime;
startTime 0;
......
......@@ -16,7 +16,7 @@ FoamFile
application adjointOptimisationFoam;
startFrom latestTime;
startFrom latestTime;
startTime 0;
......
......@@ -14,14 +14,14 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
SIMPLE
SIMPLE
{
nNonOrthogonalCorrectors 0;
}
}
solvers
{
"p|pa.*"
"p|pa.*"
{
solver PCG;
preconditioner DIC;
......@@ -44,7 +44,7 @@ solvers
};
}
relaxationFactors
relaxationFactors
{
fields
{
......
......@@ -16,7 +16,7 @@ FoamFile
application adjointOptimisationFoam;
startFrom latestTime;
startFrom latestTime;
startTime 0;
......
......@@ -14,14 +14,14 @@ FoamFile
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
SIMPLE
SIMPLE
{
nNonOrthogonalCorrectors 0;
}
}
solvers
{
"p|pa"
"p|pa"
{
solver PCG;
preconditioner DIC;
......@@ -44,7 +44,7 @@ solvers
};
}
relaxationFactors
relaxationFactors
{
fields
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment