Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
c5a50795
Commit
c5a50795
authored
Jan 15, 2010
by
mattijs
Browse files
Changed printing
parent
c182daf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoLayerDriver.C
View file @
c5a50795
...
...
@@ -2490,13 +2490,18 @@ void Foam::autoLayerDriver::mergePatchFacesUndo
<<
"---------------------------"
<<
nl
<<
" - which are on the same patch"
<<
nl
<<
" - which make an angle < "
<<
layerParams
.
featureAngle
()
<<
"- which are on the same patch"
<<
nl
<<
"- which make an angle < "
<<
layerParams
.
featureAngle
()
<<
" degrees"
<<
nl
<<
" (cos:"
<<
minCos
<<
')'
<<
nl
<<
" - as long as the resulting face doesn't become concave"
<<
" (cos:"
<<
minCos
<<
')'
<<
nl
<<
"- as long as the resulting face doesn't become concave"
<<
" by more than "
<<
layerParams
.
concaveAngle
()
<<
" degrees"
<<
nl
<<
" (0=straight, 180=fully concave)"
<<
nl
<<
" (0=straight, 180=fully concave)"
<<
nl
<<
endl
;
label
nChanged
=
mergePatchFacesUndo
(
minCos
,
concaveCos
,
motionDict
);
...
...
@@ -2546,11 +2551,6 @@ void Foam::autoLayerDriver::addLayers
);
// Undistorted edge length
const
scalar
edge0Len
=
meshRefiner_
.
meshCutter
().
level0EdgeLength
();
const
labelList
&
cellLevel
=
meshRefiner_
.
meshCutter
().
cellLevel
();
// Point-wise extrusion data
// ~~~~~~~~~~~~~~~~~~~~~~~~~
...
...
@@ -2612,6 +2612,10 @@ void Foam::autoLayerDriver::addLayers
// Disable extrusion on warped faces
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Undistorted edge length
const
scalar
edge0Len
=
meshRefiner_
.
meshCutter
().
level0EdgeLength
();
const
labelList
&
cellLevel
=
meshRefiner_
.
meshCutter
().
cellLevel
();
handleWarpedFaces
(
pp
,
...
...
@@ -2651,6 +2655,10 @@ void Foam::autoLayerDriver::addLayers
}
// Undistorted edge length
const
scalar
edge0Len
=
meshRefiner_
.
meshCutter
().
level0EdgeLength
();
const
labelList
&
cellLevel
=
meshRefiner_
.
meshCutter
().
cellLevel
();
// Determine (wanted) point-wise layer thickness and expansion ratio
scalarField
thickness
(
pp
().
nPoints
());
scalarField
minThickness
(
pp
().
nPoints
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment