Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor 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
Development
openfoam
Commits
5873ec1b
Commit
5873ec1b
authored
1 year ago
by
mattijs
Browse files
Options
Downloads
Patches
Plain Diff
ENH: topoSet: allow transformation of input locations
parent
bb483951
No related branches found
No related tags found
1 merge request
!695
OpenFOAM v2406
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
etc/caseDicts/annotated/topoSetSourcesDict
+36
-0
36 additions, 0 deletions
etc/caseDicts/annotated/topoSetSourcesDict
tutorials/multiphase/overInterDyMFoam/twoSquaresOutDomain/constant/dynamicMeshDict
+0
-7
0 additions, 7 deletions
...InterDyMFoam/twoSquaresOutDomain/constant/dynamicMeshDict
with
36 additions
and
7 deletions
etc/caseDicts/annotated/topoSetSourcesDict
+
36
−
0
View file @
5873ec1b
...
@@ -34,6 +34,16 @@ cellSet_doc
...
@@ -34,6 +34,16 @@ cellSet_doc
// or
// or
min (0 0 0);
min (0 0 0);
max (1 1 1);
max (1 1 1);
// Optional the cell centres can be transformed before being used. This
// can be used to simulate moving selections in transient simulations.
// Any solidBodyMotionFunction can be used. Note: the same optional
// transformation can be used for any selection requiring face centres
// or point locations.
solidBodyMotionFunction linearMotion
{
velocity (-0.1 -0.1 0);
}
}
}
...
@@ -58,6 +68,8 @@ cellSet_doc
...
@@ -58,6 +68,8 @@ cellSet_doc
radius 5.0;
radius 5.0;
// optional
// optional
innerRadius 1.0;
innerRadius 1.0;
// See boxToCell for optional transformation of the cell centres
}
}
//- Select based on faceSet
//- Select based on faceSet
...
@@ -117,6 +129,8 @@ cellSet_doc
...
@@ -117,6 +129,8 @@ cellSet_doc
{
{
source nearestToCell;
source nearestToCell;
points ((0 0 0) (1 1 1)(2 2 2));
points ((0 0 0) (1 1 1)(2 2 2));
// See boxToCell for optional transformation of the cell centres
}
}
...
@@ -162,6 +176,8 @@ cellSet_doc
...
@@ -162,6 +176,8 @@ cellSet_doc
i (0.2 0.2 0);
i (0.2 0.2 0);
j (-0.2 0.2 0);
j (-0.2 0.2 0);
k (10 10 10);
k (10 10 10);
// See boxToCell for optional transformation of the cell centres
}
}
...
@@ -170,6 +186,8 @@ cellSet_doc
...
@@ -170,6 +186,8 @@ cellSet_doc
source searchableSurfaceToCell;
source searchableSurfaceToCell;
surfaceType triSurfaceMesh; // Type of surface
surfaceType triSurfaceMesh; // Type of surface
surfaceName blob.obj; // Name for surface object
surfaceName blob.obj; // Name for surface object
// See boxToCell for optional transformation of the cell centres
}
}
...
@@ -188,6 +206,8 @@ cellSet_doc
...
@@ -188,6 +206,8 @@ cellSet_doc
// optional
// optional
innerRadius 1.0;
innerRadius 1.0;
// See boxToCell for optional transformation of the cell centres
}
}
...
@@ -209,6 +229,7 @@ cellSet_doc
...
@@ -209,6 +229,7 @@ cellSet_doc
useSurfaceOrientation false; // use closed surface inside/outside
useSurfaceOrientation false; // use closed surface inside/outside
// test (ignores includeCut,
// test (ignores includeCut,
// outsidePoints)
// outsidePoints)
// See boxToCell for optional transformation of the cell centres
}
}
...
@@ -257,6 +278,8 @@ faceSet_doc
...
@@ -257,6 +278,8 @@ faceSet_doc
// or
// or
min (0 0 0);
min (0 0 0);
max (1 1 1);
max (1 1 1);
// See boxToCell for optional transformation of the face centres
}
}
...
@@ -286,6 +309,8 @@ faceSet_doc
...
@@ -286,6 +309,8 @@ faceSet_doc
radius 5.0;
radius 5.0;
// optional
// optional
innerRadius 1.0;
innerRadius 1.0;
// See boxToCell for optional transformation of the face centres
}
}
...
@@ -352,6 +377,8 @@ faceSet_doc
...
@@ -352,6 +377,8 @@ faceSet_doc
source searchableSurfaceToFace;
source searchableSurfaceToFace;
surfaceType triSurfaceMesh; // Type of surface
surfaceType triSurfaceMesh; // Type of surface
surfaceName blob.obj; // Name for surface object
surfaceName blob.obj; // Name for surface object
// See boxToCell for optional transformation of the face centres
}
}
...
@@ -362,6 +389,8 @@ faceSet_doc
...
@@ -362,6 +389,8 @@ faceSet_doc
radius 5.0;
radius 5.0;
// optional
// optional
innerRadius 1.0;
innerRadius 1.0;
// See boxToCell for optional transformation of the face centres
}
}
...
@@ -410,6 +439,8 @@ pointSet_doc
...
@@ -410,6 +439,8 @@ pointSet_doc
// or
// or
min (0 0 0);
min (0 0 0);
max (1 1 1);
max (1 1 1);
// See boxToCell for optional transformation of the points
}
}
...
@@ -436,6 +467,7 @@ pointSet_doc
...
@@ -436,6 +467,7 @@ pointSet_doc
radius 5.0;
radius 5.0;
// optional
// optional
innerRadius 1.0;
innerRadius 1.0;
// See boxToCell for optional transformation of the points
}
}
...
@@ -465,6 +497,7 @@ pointSet_doc
...
@@ -465,6 +497,7 @@ pointSet_doc
{
{
source nearestToPoint;
source nearestToPoint;
points ((0 0 0) (1 1 1));
points ((0 0 0) (1 1 1));
// See boxToCell for optional transformation of the points
}
}
...
@@ -486,6 +519,7 @@ pointSet_doc
...
@@ -486,6 +519,7 @@ pointSet_doc
source searchableSurfaceToCell;
source searchableSurfaceToCell;
surfaceType triSurfaceMesh; // Type of surface
surfaceType triSurfaceMesh; // Type of surface
surfaceName blob.obj; // Name for surface object
surfaceName blob.obj; // Name for surface object
// See boxToCell for optional transformation of the points
}
}
...
@@ -496,6 +530,7 @@ pointSet_doc
...
@@ -496,6 +530,7 @@ pointSet_doc
radius 5.0;
radius 5.0;
// optional
// optional
innerRadius 1.0;
innerRadius 1.0;
// See boxToCell for optional transformation of the points
}
}
...
@@ -508,6 +543,7 @@ pointSet_doc
...
@@ -508,6 +543,7 @@ pointSet_doc
// (requires closed surface with consistent
// (requires closed surface with consistent
// normals)
// normals)
includeOutside false; // ,, outside ,,
includeOutside false; // ,, outside ,,
// See boxToCell for optional transformation of the points
}
}
...
...
This diff is collapsed.
Click to expand it.
tutorials/multiphase/overInterDyMFoam/twoSquaresOutDomain/constant/dynamicMeshDict
+
0
−
7
View file @
5873ec1b
...
@@ -28,9 +28,6 @@ multiSolidBodyMotionSolverCoeffs
...
@@ -28,9 +28,6 @@ multiSolidBodyMotionSolverCoeffs
one
one
{
{
solidBodyMotionFunction linearMotion;
solidBodyMotionFunction linearMotion;
origin (0.005 0.005 0.005);
axis (0 0 1);
omega 0;
velocity (-0.1 -0.1 0);
velocity (-0.1 -0.1 0);
}
}
two
two
...
@@ -39,7 +36,6 @@ multiSolidBodyMotionSolverCoeffs
...
@@ -39,7 +36,6 @@ multiSolidBodyMotionSolverCoeffs
origin (0.005 0.005 0.005);
origin (0.005 0.005 0.005);
axis (0 0 1);
axis (0 0 1);
omega 20.0;
omega 20.0;
velocity (-0.1 0 0);
}
}
}
}
}
}
...
@@ -50,9 +46,6 @@ multiSolidBodyMotionSolverCoeffs
...
@@ -50,9 +46,6 @@ multiSolidBodyMotionSolverCoeffs
linearMotionCoeffs
linearMotionCoeffs
{
{
velocity (0.1 0 0);
velocity (0.1 0 0);
origin (0.009 0.005 0.005);
axis (0 0 1);
omega -100.0;
}
}
}
}
}
}
...
...
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