Commit 15ff97d9 authored by laurence's avatar laurence
Browse files

ENH: Update cv2DMesh tutorials

parent 3afcc234
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
7
(
letters_text
{
type patch;
nFaces 1064;
startFace 132063;
}
box_bottom
{
type patch;
nFaces 324;
startFace 133127;
}
box_top
{
type patch;
nFaces 324;
startFace 133451;
}
box_inlet
{
type patch;
nFaces 207;
startFace 133775;
}
box_outlet
{
type patch;
nFaces 207;
startFace 133982;
}
front
{
type empty;
inGroups 1(empty);
nFaces 64792;
startFace 134189;
}
back
{
type empty;
inGroups 1(empty);
nFaces 64792;
startFace 198981;
}
)
// ************************************************************************* //
......@@ -29,7 +29,7 @@ deltaT 0.001;
writeControl adjustableRunTime;
writeInterval 1;
writeInterval 0.25;
purgeWrite 0;
......
......@@ -29,7 +29,7 @@ deltaT 0.001;
writeControl adjustableRunTime;
writeInterval 1;
writeInterval 0.25;
purgeWrite 0;
......
......@@ -103,8 +103,8 @@ motionControl
linearDistanceCoeffs
{
distanceCellSize $minCellSize;
distance 1;
distanceCellSizeCoeff 1;
distanceCoeff 50;
}
uniformCoeffs
{}
......@@ -112,7 +112,7 @@ motionControl
surfaceCellSizeFunction uniformValue;
uniformValueCoeffs
{
surfaceCellSize $minCellSize;
surfaceCellSizeCoeff 1;
}
}
}
......
......@@ -94,15 +94,15 @@ motionControl
cellSizeFunction surfaceOffsetLinearDistance;
surfaceOffsetLinearDistanceCoeffs
{
distanceCellSize $minCellSize;
totalDistance 0.2;
surfaceOffset 0.05;
distanceCellSizeCoeff 1;
totalDistanceCoeff 5;
surfaceOffsetCoeff 1;
}
surfaceCellSizeFunction uniformValue;
uniformValueCoeffs
{
surfaceCellSize 0.005;
surfaceCellSizeCoeff 0.1;
}
}
}
......
......@@ -95,13 +95,13 @@ motionControl
cellSizeFunction linearDistance;
linearDistanceCoeffs
{
distanceCellSize $minCellSize;
distance #calc"5*$minCellSize";
distanceCellSizeCoeff 1;
distanceCoeff 5;
}
surfaceCellSizeFunction uniformValue;
uniformValueCoeffs
{
surfaceCellSize #calc"0.05*$minCellSize";
surfaceCellSizeCoeff 0.05;
}
}
......@@ -113,13 +113,13 @@ motionControl
cellSizeFunction linearDistance;
linearDistanceCoeffs
{
distanceCellSize $minCellSize;
distance #calc"5*$minCellSize";
distanceCellSizeCoeff 1;
distanceCoeff 5;
}
surfaceCellSizeFunction uniformValue;
uniformValueCoeffs
{
surfaceCellSize #calc"0.05*$minCellSize";
surfaceCellSizeCoeff 0.05;
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment