STYLE: remove trailing space, tabs
This commit is contained in:
parent
7bef18a274
commit
2b1061420c
@ -113,7 +113,7 @@ void Foam::checkPatch
|
||||
labelList() // null value
|
||||
);
|
||||
|
||||
|
||||
|
||||
label labelTyp = TopoType::MANIFOLD;
|
||||
forAll(meshEdges, edgei)
|
||||
{
|
||||
|
@ -57,7 +57,7 @@ Description
|
||||
-combineZones '((zoneA "zoneB.*")(none otherZone))
|
||||
This can be combined with e.g. 'cellZones' or 'cellZonesOnly'. The
|
||||
addZones option supplies the destination region name as first element in
|
||||
the list. The combineZones option synthesises the region name e.g.
|
||||
the list. The combineZones option synthesises the region name e.g.
|
||||
zoneA_zoneB0_zoneB1
|
||||
|
||||
- cellZonesOnly does not do a walk and uses the cellZones only. Use
|
||||
@ -1830,7 +1830,7 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
label ownCluster = clusterID[mesh.faceOwner()[facei]];
|
||||
label neiCluster = clusterID[mesh.faceNeighbour()[facei]];
|
||||
|
||||
|
||||
if (ownCluster != neiCluster)
|
||||
{
|
||||
blockedFace[facei] = true;
|
||||
|
@ -39,27 +39,28 @@ Description
|
||||
and the distance between face centres.
|
||||
|
||||
The input from viewFactorsDict are:
|
||||
|
||||
\verbatim
|
||||
GaussQuadTol 0.1; // GaussQuad error
|
||||
distTol 8; // R/Average(rm)
|
||||
alpha 0.22; // Use for common edges for 2LI
|
||||
\endverbatim
|
||||
|
||||
|
||||
For debugging purposes, the following entries can be set in viewFactorsDict:
|
||||
|
||||
\verbatim
|
||||
writeViewFactorMatrix true;
|
||||
writeFacesAgglomeration false;
|
||||
dumpRays false;
|
||||
|
||||
dumpRays false;
|
||||
|
||||
writeViewFactorMatrix writes the sum of the VF on each face.
|
||||
writeFacesAgglomeration writes the agglomeration
|
||||
dumpRays dumps rays
|
||||
|
||||
\endverbatim
|
||||
|
||||
The participating patches in the VF calculation have to be in the
|
||||
'viewFactorWall' patch group (in the polyMesh/boundary file), e.g.
|
||||
|
||||
\verbatim
|
||||
floor
|
||||
{
|
||||
type wall;
|
||||
@ -67,6 +68,7 @@ Description
|
||||
nFaces 100;
|
||||
startFace 3100;
|
||||
}
|
||||
\endverbatim
|
||||
|
||||
Compile with -DNO_CGAL only if no CGAL present - CGAL AABB tree performs
|
||||
better than the built-in octree.
|
||||
|
@ -216,7 +216,7 @@ void Foam::dynamicRefineFvMesh::mapFields(const mapPolyMesh& mpm)
|
||||
const label oldCelli = cellMap[celli];
|
||||
if (oldCelli >= 0 && reverseCellMap[oldCelli] >= 0)
|
||||
{
|
||||
// Found master cell.
|
||||
// Found master cell.
|
||||
nSubCells[oldCelli]++;
|
||||
}
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ Description
|
||||
The computation of the sensitivity derivatives follows the (E-)SI
|
||||
formulation of
|
||||
|
||||
Kavvadias, I. S., Papoutsis-Kiachagias, E. M.,
|
||||
Kavvadias, I. S., Papoutsis-Kiachagias, E. M.,
|
||||
Giannakoglou, K. C. (2015).
|
||||
On the proper treatment of grid sensitivities in continuous adjoint
|
||||
methods for shape optimization.
|
||||
@ -45,7 +45,7 @@ Description
|
||||
|
||||
whereas their smoothing based on the computation of the 'Sobolev
|
||||
gradient' is derived from
|
||||
|
||||
|
||||
Vassberg J. C., Jameson A. (2006).
|
||||
Aerodynamic Shape Optimization Part I: Theoretical Background.
|
||||
VKI Lecture Series, Introduction to Optimization and
|
||||
@ -119,7 +119,7 @@ protected:
|
||||
//- Write geometric info for use by external programs
|
||||
bool writeGeometricInfo_;
|
||||
|
||||
//- Smooth sensitivity derivatives based on the computation of the
|
||||
//- Smooth sensitivity derivatives based on the computation of the
|
||||
//- 'Sobolev gradient'
|
||||
bool smoothSensitivities_;
|
||||
|
||||
@ -142,7 +142,7 @@ protected:
|
||||
//- Set suffix name for sensitivity fields
|
||||
void setSuffixName();
|
||||
|
||||
//- Smooth sensitivity derivatives based on the computation of the
|
||||
//- Smooth sensitivity derivatives based on the computation of the
|
||||
//- 'Sobolev gradient'
|
||||
void smoothSensitivities();
|
||||
|
||||
|
@ -185,7 +185,7 @@ Foam::meltingEvaporationModels::diffusionGasEvaporation<Thermo, OtherThermo>
|
||||
)
|
||||
);
|
||||
|
||||
const volScalarField Ygm(max(from*YvSat + to*Yv, Zero));
|
||||
const volScalarField Ygm(max(from*YvSat + to*Yv, Zero));
|
||||
|
||||
const multiphaseInterSystem& fluid = this->fluid();
|
||||
|
||||
|
@ -54,7 +54,7 @@ Description
|
||||
Extension to porous media flows:
|
||||
\verbatim
|
||||
Missios, K., Jacobsen, N. G., Moeller, K., & Roenby, J.
|
||||
Using the isoAdvector Geometric VOF Method for Interfacial Flows
|
||||
Using the isoAdvector Geometric VOF Method for Interfacial Flows
|
||||
Through Porous Media. MARINE 2021.
|
||||
\endverbatim
|
||||
|
||||
|
@ -20,7 +20,7 @@ runParallel $(getApplication)
|
||||
foamDictionary -entry solvers.p.processorAgglomerator -set 'masterCoarsest' system/fvSolution
|
||||
runParallel -s masterCoarsest $(getApplication)
|
||||
|
||||
#- Run with processorAgglomerator - multiple masters
|
||||
#- Run with processorAgglomerator - multiple masters
|
||||
foamDictionary -entry solvers.p.nMasters -set '2' system/fvSolution
|
||||
runParallel -s masterCoarsest2 $(getApplication)
|
||||
|
||||
|
@ -35,7 +35,7 @@ solvers
|
||||
tolerance 1e-9;
|
||||
relTol 0.01;
|
||||
};
|
||||
"U|Ua|nuTilda|nuaTilda|yWall|da|k|ka|omega|wa"
|
||||
"U|Ua|nuTilda|nuaTilda|yWall|da|k|ka|omega|wa"
|
||||
{
|
||||
solver PBiCGStab;
|
||||
preconditioner DILU;
|
||||
|
@ -20,7 +20,7 @@ internalField uniform (0 0 0);
|
||||
|
||||
boundaryField
|
||||
{
|
||||
innerWall
|
||||
innerWall
|
||||
{
|
||||
type noSlip;
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ internalField uniform 0;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
"innerWall|outerWall"
|
||||
"innerWall|outerWall"
|
||||
{
|
||||
type zeroGradient;
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ geom
|
||||
ntheta 40;
|
||||
|
||||
g 10;
|
||||
|
||||
|
||||
mr0 #eval{ - $r0 };
|
||||
mr1 #eval{ - $r1 };
|
||||
invG #eval{ 1./$g };
|
||||
|
@ -1,57 +1,57 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v2212 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object epsilon;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 2 -3 0 0 0 0];
|
||||
|
||||
internalField uniform 6.9e-5;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
#includeEtc "caseDicts/setConstraintTypes"
|
||||
|
||||
inlet
|
||||
{
|
||||
type fixedValue;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
"(atmosphere|outlet)"
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
"(HULL*.*)"
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
"(BLADES|HUB_DISK|HUB)"
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
"(overset-1|oversetPatch)"
|
||||
{
|
||||
type overset;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v2212 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class volScalarField;
|
||||
object epsilon;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dimensions [0 2 -3 0 0 0 0];
|
||||
|
||||
internalField uniform 6.9e-5;
|
||||
|
||||
boundaryField
|
||||
{
|
||||
#includeEtc "caseDicts/setConstraintTypes"
|
||||
|
||||
inlet
|
||||
{
|
||||
type fixedValue;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
"(atmosphere|outlet)"
|
||||
{
|
||||
type inletOutlet;
|
||||
inletValue $internalField;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
"(HULL*.*)"
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
"(BLADES|HUB_DISK|HUB)"
|
||||
{
|
||||
type epsilonWallFunction;
|
||||
value $internalField;
|
||||
}
|
||||
|
||||
"(overset-1|oversetPatch)"
|
||||
{
|
||||
type overset;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
@ -31,7 +31,7 @@ boundaryField
|
||||
{
|
||||
type overset;
|
||||
value uniform 0;
|
||||
fluxCorrection false;
|
||||
fluxCorrection false;
|
||||
}
|
||||
|
||||
top
|
||||
|
@ -47,7 +47,7 @@ runTimeModifiable true;
|
||||
adjustTimeStep yes;
|
||||
|
||||
maxCo 1.0;
|
||||
maxAlphaCo 2.0;
|
||||
maxAlphaCo 2.0;
|
||||
|
||||
functions
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user