mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: foamyHexMesh: Update simpleShapes tutorial
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -23,12 +23,28 @@ geometry
|
|||||||
{
|
{
|
||||||
name sphere;
|
name sphere;
|
||||||
type triSurfaceMesh;
|
type triSurfaceMesh;
|
||||||
|
|
||||||
|
regions
|
||||||
|
{
|
||||||
|
ascii
|
||||||
|
{
|
||||||
|
name sphere_patch;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cone_orient.stl
|
cone_orient.stl
|
||||||
{
|
{
|
||||||
name cone;
|
name cone;
|
||||||
type triSurfaceMesh;
|
type triSurfaceMesh;
|
||||||
|
|
||||||
|
regions
|
||||||
|
{
|
||||||
|
ascii
|
||||||
|
{
|
||||||
|
name cone_patch;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Outside of domain
|
// Outside of domain
|
||||||
@ -130,19 +146,22 @@ motionControl
|
|||||||
{
|
{
|
||||||
sphere
|
sphere
|
||||||
{
|
{
|
||||||
type searchableSurfaceControl;
|
type searchableSurfaceControl;
|
||||||
priority 1;
|
priority 2;
|
||||||
mode bothSides;
|
mode inside;
|
||||||
|
|
||||||
surfaceCellSizeFunction uniformValue;
|
surfaceCellSizeFunction uniformValue;
|
||||||
uniformValueCoeffs
|
uniformValueCoeffs
|
||||||
{
|
{
|
||||||
surfaceCellSizeCoeff 0.5;
|
surfaceCellSizeCoeff 0.25;
|
||||||
}
|
}
|
||||||
|
|
||||||
cellSizeFunction uniform;
|
cellSizeFunction linearDistance;
|
||||||
uniformCoeffs
|
linearDistanceCoeffs
|
||||||
{}
|
{
|
||||||
|
distanceCellSizeCoeff 1;
|
||||||
|
distanceCoeff 2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cone
|
cone
|
||||||
@ -154,7 +173,7 @@ motionControl
|
|||||||
surfaceCellSizeFunction uniformValue;
|
surfaceCellSizeFunction uniformValue;
|
||||||
uniformValueCoeffs
|
uniformValueCoeffs
|
||||||
{
|
{
|
||||||
surfaceCellSizeCoeff 0.75;
|
surfaceCellSizeCoeff 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
cellSizeFunction uniform;
|
cellSizeFunction uniform;
|
||||||
|
|||||||
Reference in New Issue
Block a user