mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev
This commit is contained in:
@ -440,6 +440,10 @@ void Foam::conformalVoronoiMesh::buildSurfaceConformation
|
||||
existingSurfacePtLocations
|
||||
);
|
||||
}
|
||||
// else
|
||||
// {
|
||||
// vit->setInternal();
|
||||
// }
|
||||
}
|
||||
else if (vit->ppSlave() || vit->referredExternal())
|
||||
{
|
||||
@ -477,6 +481,10 @@ void Foam::conformalVoronoiMesh::buildSurfaceConformation
|
||||
existingSurfacePtLocations
|
||||
);
|
||||
}
|
||||
// else
|
||||
// {
|
||||
// vit->setInternal();
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
@ -2697,7 +2705,7 @@ void Foam::conformalVoronoiMesh::addSurfaceAndEdgeHits
|
||||
// NEED TO REMOVE FROM THE SURFACE TREE...
|
||||
surfacePtLocationTreePtr_().remove
|
||||
(
|
||||
existingSurfacePtLocations.size()
|
||||
existingSurfacePtLocations.size() - 1
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2011 OpenCFD Ltd.
|
||||
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
||||
@ -268,7 +268,7 @@ kOmegaSST::kOmegaSST
|
||||
/ max
|
||||
(
|
||||
a1_*omega_,
|
||||
F2()*sqrt(2.0*magSqr(symm(fvc::grad(U_))))
|
||||
F2()*sqrt(2.0)*mag(symm(fvc::grad(U_)))
|
||||
)
|
||||
);
|
||||
mut_.correctBoundaryConditions();
|
||||
@ -365,7 +365,7 @@ void kOmegaSST::correct()
|
||||
// Re-calculate viscosity
|
||||
mut_ =
|
||||
a1_*rho_*k_
|
||||
/max(a1_*omega_, F2()*sqrt(2.0*magSqr(symm(fvc::grad(U_)))));
|
||||
/max(a1_*omega_, F2()*sqrt(2.0)*mag(symm(fvc::grad(U_))));
|
||||
mut_.correctBoundaryConditions();
|
||||
|
||||
// Re-calculate thermal diffusivity
|
||||
|
||||
@ -6,7 +6,6 @@ cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication cvMesh
|
||||
runApplication collapseEdges 1e-3 45
|
||||
runApplication snappyHexMesh
|
||||
runApplication checkMesh -constant -allGeometry -allTopology
|
||||
|
||||
|
||||
@ -59,7 +59,6 @@ initialPoints
|
||||
|
||||
autoDensityCoeffs
|
||||
{
|
||||
minCellSizeLimit 0.04;
|
||||
minLevels 0;
|
||||
maxSizeRatio 5.0;
|
||||
sampleResolution 5;
|
||||
@ -150,12 +149,12 @@ motionControl
|
||||
{
|
||||
priority 1;
|
||||
mode bothSides;
|
||||
|
||||
surfaceCellSizeFunction uniformValue;
|
||||
uniformValueCoeffs
|
||||
{
|
||||
surfaceCellSize 0.04;
|
||||
}
|
||||
refinementFactor 1;
|
||||
|
||||
cellSizeFunction uniformDistance;
|
||||
uniformDistanceCoeffs
|
||||
@ -164,7 +163,6 @@ motionControl
|
||||
}
|
||||
linearDistanceCoeffs
|
||||
{
|
||||
surfaceCellSize 0.02;
|
||||
distanceCellSize $defaultCellSize;
|
||||
distance 0.1;
|
||||
}
|
||||
@ -217,14 +215,15 @@ polyMeshFiltering
|
||||
{
|
||||
writeTetDualMesh false;
|
||||
filterSizeCoeff 0.2;
|
||||
mergeClosenessCoeff 1e-9;
|
||||
mergeClosenessCoeff 1e-3;
|
||||
edgeMergeAngle 45;
|
||||
continueFilteringOnBadInitialPolyMesh true;
|
||||
filterErrorReductionCoeff 0.5;
|
||||
filterCountSkipThreshold 4;
|
||||
surfaceStepFaceAngle 80;
|
||||
maxCollapseIterations 25;
|
||||
maxConsecutiveEqualFaceSets 5;
|
||||
edgeCollapseGuardFraction 0.3;
|
||||
edgeCollapseGuardFraction 0.1;
|
||||
maxCollapseFaceToPointSideLengthCoeff 0.35;
|
||||
}
|
||||
|
||||
|
||||
@ -17,8 +17,8 @@ FoamFile
|
||||
|
||||
numberOfSubdomains 8;
|
||||
|
||||
method scotch;
|
||||
// method ptscotch;
|
||||
//method scotch;
|
||||
method ptscotch;
|
||||
// method hierarchical;
|
||||
|
||||
simpleCoeffs
|
||||
|
||||
Reference in New Issue
Block a user