mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: remove trailing space, tabs
This commit is contained in:
@ -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
|
||||
{
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@ SIMPLE
|
||||
|
||||
solvers
|
||||
{
|
||||
"p|pa"
|
||||
"p|pa"
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
application adjointOptimisationFoam;
|
||||
|
||||
startFrom latestTime;
|
||||
startFrom latestTime;
|
||||
|
||||
startTime 0;
|
||||
|
||||
@ -47,11 +47,11 @@ runTimeModifiable yes;
|
||||
functions
|
||||
{
|
||||
yPlus
|
||||
{
|
||||
{
|
||||
type yPlus;
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
writeControl writeTime;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
@ -14,14 +14,14 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
SIMPLE
|
||||
SIMPLE
|
||||
{
|
||||
nNonOrthogonalCorrectors 0;
|
||||
}
|
||||
}
|
||||
|
||||
solvers
|
||||
{
|
||||
"p|pa"
|
||||
"p|pa"
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
@ -35,7 +35,7 @@ solvers
|
||||
tolerance 1e-9;
|
||||
relTol 0.01;
|
||||
};
|
||||
"U|Ua|nuTilda|nuaTilda|yWall|da"
|
||||
"U|Ua|nuTilda|nuaTilda|yWall|da"
|
||||
{
|
||||
solver PBiCGStab;
|
||||
preconditioner DILU;
|
||||
@ -44,7 +44,7 @@ solvers
|
||||
};
|
||||
}
|
||||
|
||||
relaxationFactors
|
||||
relaxationFactors
|
||||
{
|
||||
fields
|
||||
{
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / O peration | Version: v1912 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
@ -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;
|
||||
@ -35,7 +35,7 @@ solvers
|
||||
tolerance 1e-9;
|
||||
relTol 0.01;
|
||||
};
|
||||
"U.*|Ua.*|nuTilda.*|nuaTilda.*|yWall|da"
|
||||
"U.*|Ua.*|nuTilda.*|nuaTilda.*|yWall|da"
|
||||
{
|
||||
solver PBiCGStab;
|
||||
preconditioner DILU;
|
||||
@ -44,7 +44,7 @@ solvers
|
||||
};
|
||||
}
|
||||
|
||||
relaxationFactors
|
||||
relaxationFactors
|
||||
{
|
||||
fields
|
||||
{
|
||||
|
||||
@ -16,7 +16,7 @@ FoamFile
|
||||
|
||||
application adjointOptimisationFoam;
|
||||
|
||||
startFrom latestTime;
|
||||
startFrom latestTime;
|
||||
|
||||
startTime 0;
|
||||
|
||||
@ -47,11 +47,11 @@ runTimeModifiable yes;
|
||||
functions
|
||||
{
|
||||
yPlus
|
||||
{
|
||||
{
|
||||
type yPlus;
|
||||
libs ("libfieldFunctionObjects.so");
|
||||
writeControl writeTime;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -14,14 +14,14 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
SIMPLE
|
||||
SIMPLE
|
||||
{
|
||||
nNonOrthogonalCorrectors 0;
|
||||
}
|
||||
}
|
||||
|
||||
solvers
|
||||
{
|
||||
"p|pa"
|
||||
"p|pa"
|
||||
{
|
||||
solver PCG;
|
||||
preconditioner DIC;
|
||||
@ -35,7 +35,7 @@ solvers
|
||||
tolerance 1e-9;
|
||||
relTol 0.01;
|
||||
};
|
||||
"U|Ua|nuTilda|nuaTilda|yWall|da"
|
||||
"U|Ua|nuTilda|nuaTilda|yWall|da"
|
||||
{
|
||||
solver PBiCGStab;
|
||||
preconditioner DILU;
|
||||
@ -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;
|
||||
@ -35,7 +35,7 @@ solvers
|
||||
tolerance 1e-9;
|
||||
relTol 0.01;
|
||||
};
|
||||
"U|Ua|nuTilda|nuaTilda|yWall|da"
|
||||
"U|Ua|nuTilda|nuaTilda|yWall|da"
|
||||
{
|
||||
solver PBiCGStab;
|
||||
preconditioner DILU;
|
||||
@ -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;
|
||||
@ -35,7 +35,7 @@ solvers
|
||||
tolerance 1e-9;
|
||||
relTol 0.01;
|
||||
};
|
||||
"U|Ua|nuTilda|nuaTilda|yWall|da"
|
||||
"U|Ua|nuTilda|nuaTilda|yWall|da"
|
||||
{
|
||||
solver PBiCGStab;
|
||||
preconditioner DILU;
|
||||
@ -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;
|
||||
@ -35,7 +35,7 @@ solvers
|
||||
tolerance 1e-9;
|
||||
relTol 0.01;
|
||||
};
|
||||
"U|Ua|nuTilda|nuaTilda|yWall|da"
|
||||
"U|Ua|nuTilda|nuaTilda|yWall|da"
|
||||
{
|
||||
solver PBiCGStab;
|
||||
preconditioner DILU;
|
||||
@ -44,7 +44,7 @@ solvers
|
||||
};
|
||||
}
|
||||
|
||||
relaxationFactors
|
||||
relaxationFactors
|
||||
{
|
||||
fields
|
||||
{
|
||||
|
||||
@ -117,7 +117,7 @@ optimisation
|
||||
{
|
||||
type volumetricBSplines;
|
||||
patches (lower upper);
|
||||
includeObjectiveContribution true; // one of this or the equivalent flag in
|
||||
includeObjectiveContribution true; // one of this or the equivalent flag in
|
||||
// surfaceSensitivities has to be set to true
|
||||
// with this being the prefered one
|
||||
surfaceSensitivities
|
||||
@ -128,9 +128,9 @@ optimisation
|
||||
includeDistance true;
|
||||
includeObjectiveContribution false;
|
||||
|
||||
// adjointEikonal and adjointMeshMovement solvers should be always nested
|
||||
// within the dictionary of the sensitivity type they correspond to.
|
||||
// For (E)SI based sensitivities, this means the surfaceSensitivities dict
|
||||
// adjointEikonal and adjointMeshMovement solvers should be always nested
|
||||
// within the dictionary of the sensitivity type they correspond to.
|
||||
// For (E)SI based sensitivities, this means the surfaceSensitivities dict
|
||||
// Default values are provided, so the dictionaries can be skipped
|
||||
adjointEikonalSolver
|
||||
{
|
||||
|
||||
@ -12,5 +12,5 @@ For more information, see:
|
||||
|
||||
https://www.openfoam.com/documentation/cpp-guide/html/verification-validation-turbulent-decay-homogeneous-isotropic-turbulence.html
|
||||
|
||||
[1] G. Comte-Bellot and S. Corrsin, "The use of a contraction to improve the
|
||||
[1] G. Comte-Bellot and S. Corrsin, "The use of a contraction to improve the
|
||||
isotropy of grid-generated turbulence," J. Fluid Mech. 25, 657 (1966).
|
||||
|
||||
@ -51,4 +51,4 @@ Ek table
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -28,7 +28,7 @@ gradSchemes
|
||||
divSchemes
|
||||
{
|
||||
default none;
|
||||
div(U) Gauss linear;
|
||||
div(U) Gauss linear;
|
||||
div(phi,U) Gauss linearUpwind grad(U);
|
||||
div(phi,k) Gauss linearUpwind grad(U);
|
||||
div(phi,K) Gauss linearUpwind grad(U);
|
||||
|
||||
@ -55,7 +55,7 @@ castellatedMeshControls
|
||||
cellZone rotatingZone;
|
||||
faceZone rotatingZone;
|
||||
cellZoneInside inside;
|
||||
}
|
||||
}
|
||||
fan{ level (2 2);} // Note: better: levels 3 3
|
||||
door{ level (0 0);}
|
||||
outlet{ level (0 0);}
|
||||
@ -67,7 +67,7 @@ castellatedMeshControls
|
||||
|
||||
refinementRegions
|
||||
{
|
||||
// Note: for better mesh quality utilize this refinement region
|
||||
// Note: for better mesh quality utilize this refinement region
|
||||
// AMI{ mode inside; levels ((1E15 3));}
|
||||
}
|
||||
|
||||
@ -78,7 +78,7 @@ castellatedMeshControls
|
||||
snapControls
|
||||
{
|
||||
nSmoothPatch 3;
|
||||
tolerance 4.0;
|
||||
tolerance 4.0;
|
||||
nSolveIter 300;
|
||||
nRelaxIter 5;
|
||||
nFeatureSnapIter 10;
|
||||
|
||||
Reference in New Issue
Block a user