Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
integration-cfmesh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Community
integration-cfmesh
Commits
e13158a6
Commit
e13158a6
authored
10 years ago
by
Franjo
Browse files
Options
Downloads
Patches
Plain Diff
Applying anisotropic sources to surfaceMeshRefinement
parent
9891e228
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
meshLibrary/utilities/octrees/meshOctree/meshOctreeCreator/meshOctreeCreatorAdjustOctreeToSurface.C
+13
-6
13 additions, 6 deletions
...eshOctreeCreator/meshOctreeCreatorAdjustOctreeToSurface.C
with
13 additions
and
6 deletions
meshLibrary/utilities/octrees/meshOctree/meshOctreeCreator/meshOctreeCreatorAdjustOctreeToSurface.C
+
13
−
6
View file @
e13158a6
...
...
@@ -36,6 +36,7 @@ Description
#include
"HashSet.H"
#include
"coordinateModifier.H"
#include
"surfaceMeshGeometryModification.H"
# ifdef USE_OMP
#include
<omp.h>
...
...
@@ -431,7 +432,7 @@ void meshOctreeCreator::refineBoxesIntersectingSurfaces()
//- surface mesh
const
dictionary
&
surfDict
=
meshDictPtr_
->
subDict
(
"surfaceMeshRefinement"
);
const
wordList
surfaces
=
surfDict
.
toc
();
PtrList
<
triSurf
>
surfaceMeshesPtr
(
surfaces
.
size
());
PtrList
<
const
triSurf
>
surfaceMeshesPtr
(
surfaces
.
size
());
List
<
direction
>
refLevels
(
surfaces
.
size
(),
globalRefLevel_
);
scalarList
refThickness
(
surfaces
.
size
());
...
...
@@ -442,11 +443,17 @@ void meshOctreeCreator::refineBoxesIntersectingSurfaces()
const
fileName
fName
(
dict
.
lookup
(
"surfaceFile"
));
surfaceMeshesPtr
.
set
(
surfI
,
new
triSurf
(
fName
)
);
if
(
meshDictPtr_
->
found
(
"anisotropicSources"
)
)
{
triSurf
origSurf
(
fName
);
surfaceMeshGeometryModification
surfMod
(
origSurf
,
*
meshDictPtr_
);
surfaceMeshesPtr
.
set
(
surfI
,
surfMod
.
modifyGeometry
());
}
else
{
surfaceMeshesPtr
.
set
(
surfI
,
new
triSurf
(
fName
));
}
direction
addLevel
(
0
);
if
(
dict
.
found
(
"cellSize"
)
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment