mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
tutorials: Updated formatting of dictionaries and specification of 'plane' and 'samplePlane'
This commit is contained in:
@ -26,8 +26,8 @@ cuttingPlane
|
|||||||
planeType pointAndNormal;
|
planeType pointAndNormal;
|
||||||
pointAndNormalDict
|
pointAndNormalDict
|
||||||
{
|
{
|
||||||
basePoint (0 0 0);
|
point (0 0 0);
|
||||||
normalVector (0 0 1);
|
normal (0 0 1);
|
||||||
}
|
}
|
||||||
interpolate true;
|
interpolate true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -26,8 +26,8 @@ cuttingPlane
|
|||||||
planeType pointAndNormal;
|
planeType pointAndNormal;
|
||||||
pointAndNormalDict
|
pointAndNormalDict
|
||||||
{
|
{
|
||||||
basePoint (0 0 0);
|
point (0 0 0);
|
||||||
normalVector (0 0 1);
|
normal (0 0 1);
|
||||||
}
|
}
|
||||||
interpolate true;
|
interpolate true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -26,8 +26,8 @@ cuttingPlane
|
|||||||
planeType pointAndNormal;
|
planeType pointAndNormal;
|
||||||
pointAndNormalDict
|
pointAndNormalDict
|
||||||
{
|
{
|
||||||
basePoint (0 0 0);
|
point (0 0 0);
|
||||||
normalVector (0 0 1);
|
normal (0 0 1);
|
||||||
}
|
}
|
||||||
interpolate true;
|
interpolate true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -25,8 +25,8 @@ surfaces
|
|||||||
planeType pointAndNormal;
|
planeType pointAndNormal;
|
||||||
pointAndNormalDict
|
pointAndNormalDict
|
||||||
{
|
{
|
||||||
basePoint (0 0 0);
|
point (0 0 0);
|
||||||
normalVector (0 0 1);
|
normal (0 0 1);
|
||||||
}
|
}
|
||||||
interpolate true;
|
interpolate true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -66,10 +66,7 @@ functions
|
|||||||
writeInterval 1;
|
writeInterval 1;
|
||||||
|
|
||||||
// Fields to be probed
|
// Fields to be probed
|
||||||
fields
|
fields (p U);
|
||||||
(
|
|
||||||
p U
|
|
||||||
);
|
|
||||||
|
|
||||||
probeLocations
|
probeLocations
|
||||||
(
|
(
|
||||||
|
|||||||
@ -18,8 +18,8 @@ mirrorMeshDict
|
|||||||
{
|
{
|
||||||
pointAndNormalDict
|
pointAndNormalDict
|
||||||
{
|
{
|
||||||
basePoint (0 0 0);
|
point (0 0 0);
|
||||||
normalVector (0 -1 0);
|
normal (0 -1 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -18,8 +18,8 @@ mirrorMeshDict
|
|||||||
{
|
{
|
||||||
pointAndNormalDict
|
pointAndNormalDict
|
||||||
{
|
{
|
||||||
basePoint (0 0 0);
|
point (0 0 0);
|
||||||
normalVector (-1 0 0);
|
normal (-1 0 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -18,8 +18,8 @@ mirrorMeshDict
|
|||||||
{
|
{
|
||||||
pointAndNormalDict
|
pointAndNormalDict
|
||||||
{
|
{
|
||||||
basePoint (0 0 0);
|
point (0 0 0);
|
||||||
normalVector (0 -1 0);
|
normal (0 -1 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -19,8 +19,8 @@ planeType pointAndNormal;
|
|||||||
|
|
||||||
pointAndNormalDict
|
pointAndNormalDict
|
||||||
{
|
{
|
||||||
basePoint (0 0 0);
|
point (0 0 0);
|
||||||
normalVector (0 -1 0);
|
normal (0 -1 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
planeTolerance 1e-06;
|
planeTolerance 1e-06;
|
||||||
|
|||||||
@ -85,8 +85,8 @@ functions
|
|||||||
planeType pointAndNormal;
|
planeType pointAndNormal;
|
||||||
pointAndNormalDict
|
pointAndNormalDict
|
||||||
{
|
{
|
||||||
basePoint (0 0 0);
|
point (0 0 0);
|
||||||
normalVector (0 1 0);
|
normal (0 1 0);
|
||||||
}
|
}
|
||||||
interpolate true;
|
interpolate true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -25,8 +25,8 @@ cuttingPlane
|
|||||||
planeType pointAndNormal;
|
planeType pointAndNormal;
|
||||||
pointAndNormalDict
|
pointAndNormalDict
|
||||||
{
|
{
|
||||||
basePoint (0 0 0);
|
point (0 0 0);
|
||||||
normalVector (0 1 0);
|
normal (0 1 0);
|
||||||
}
|
}
|
||||||
interpolate true;
|
interpolate true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -25,8 +25,8 @@ cuttingPlane
|
|||||||
planeType pointAndNormal;
|
planeType pointAndNormal;
|
||||||
pointAndNormalDict
|
pointAndNormalDict
|
||||||
{
|
{
|
||||||
basePoint (0 0 0);
|
point (0 0 0);
|
||||||
normalVector (0 1 0);
|
normal (0 1 0);
|
||||||
}
|
}
|
||||||
interpolate true;
|
interpolate true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -30,7 +30,7 @@ opencfd_text.stl
|
|||||||
subsetFeatures
|
subsetFeatures
|
||||||
{
|
{
|
||||||
// Use a plane to select feature edges
|
// Use a plane to select feature edges
|
||||||
// (normal)(basePoint)
|
// (normal)(point)
|
||||||
// Keep only edges that intersect the plane will be included
|
// Keep only edges that intersect the plane will be included
|
||||||
plane (0 0 1)(0 0 0);
|
plane (0 0 1)(0 0 0);
|
||||||
|
|
||||||
@ -65,7 +65,7 @@ opencfd_box.stl
|
|||||||
subsetFeatures
|
subsetFeatures
|
||||||
{
|
{
|
||||||
// Use a plane to select feature edges
|
// Use a plane to select feature edges
|
||||||
// (normal)(basePoint)
|
// (normal)(point)
|
||||||
// Keep only edges that intersect the plane will be included
|
// Keep only edges that intersect the plane will be included
|
||||||
plane (0 0 1)(0 0 0);
|
plane (0 0 1)(0 0 0);
|
||||||
|
|
||||||
|
|||||||
@ -30,7 +30,7 @@ jaggedBoundary.stl
|
|||||||
subsetFeatures
|
subsetFeatures
|
||||||
{
|
{
|
||||||
// Use a plane to select feature edges
|
// Use a plane to select feature edges
|
||||||
// (normal)(basePoint)
|
// (normal)(point)
|
||||||
// Keep only edges that intersect the plane will be included
|
// Keep only edges that intersect the plane will be included
|
||||||
plane (0 0 1)(-0.6 0.3 0.0);
|
plane (0 0 1)(-0.6 0.3 0.0);
|
||||||
|
|
||||||
|
|||||||
@ -30,7 +30,7 @@ unit_cube.stl
|
|||||||
subsetFeatures
|
subsetFeatures
|
||||||
{
|
{
|
||||||
// Use a plane to select feature edges
|
// Use a plane to select feature edges
|
||||||
// (normal)(basePoint)
|
// (normal)(point)
|
||||||
// Keep only edges that intersect the plane will be included
|
// Keep only edges that intersect the plane will be included
|
||||||
plane (0 0 1)(0 0 0);
|
plane (0 0 1)(0 0 0);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user