refineMesh: Rationalised and standardised the coordinate axes naming to e1, e2 and e3

the previous naming tan1, tan2, normal was non-intuitive and very confusing.

It was not practical to maintain backward compatibility but all tutorials and
example refineMeshDict files have been updated to provide examples of the
change.
This commit is contained in:
Henry Weller
2021-06-15 16:08:55 +01:00
parent be9fb841a1
commit 926ba22b74
25 changed files with 175 additions and 175 deletions

View File

@ -27,17 +27,17 @@ set range1;
coordinateSystem fieldBased;
// .. and its coefficients. x,y in this case. (normal direction is calculated
// as tan1^tan2)
// as e1 ^e2 )
globalCoeffs
{
tan1 (1 0 0);
tan2 (0 1 0);
e1 (1 0 0);
e2 (0 1 0);
}
patchLocalCoeffs
{
patch maxX; // Normal direction is facenormal of zero'th face of patch
tan1 (1 -1 0);
patch maxX; // Normal direction is facenormal of zero'th face of patch
e1 (1 -1 0);
}
// List of directions to refine

View File

@ -27,17 +27,17 @@ set range1;
coordinateSystem fieldBased;
// .. and its coefficients. x,y in this case. (normal direction is calculated
// as tan1^tan2)
// as e1 ^e2 )
globalCoeffs
{
tan1 (1 0 0);
tan2 (0 1 0);
e1 (1 0 0);
e2 (0 1 0);
}
patchLocalCoeffs
{
patch maxX; // Normal direction is facenormal of zero'th face of patch
tan1 (1 -1 0);
patch maxX; // Normal direction is facenormal of zero'th face of patch
e1 (1 -1 0);
}
// List of directions to refine

View File

@ -27,17 +27,17 @@ set range1;
coordinateSystem fieldBased;
// .. and its coefficients. x,y in this case. (normal direction is calculated
// as tan1^tan2)
// as e1 ^e2 )
globalCoeffs
{
tan1 (1 0 0);
tan2 (0 1 0);
e1 (1 0 0);
e2 (0 1 0);
}
patchLocalCoeffs
{
patch maxX; // Normal direction is facenormal of zero'th face of patch
tan1 (1 -1 0);
patch maxX; // Normal direction is facenormal of zero'th face of patch
e1 (1 -1 0);
}
// List of directions to refine

View File

@ -26,23 +26,23 @@ coordinateSystem global;
//coordinateSystem patchLocal;
// .. and its coefficients. x,y in this case. (normal direction is calculated
// as tan1^tan2)
// as e1 ^e2 )
globalCoeffs
{
tan1 (1 0 0);
tan2 (0 1 0);
e1 (1 0 0);
e2 (0 1 0);
}
patchLocalCoeffs
{
patch outside; // Normal direction is facenormal of zero'th face of patch
tan1 (1 0 0);
patch outside; // Normal direction is facenormal of zero'th face of patch
e1 (1 0 0);
}
// List of directions to refine
directions
(
normal
e3
);
// Whether to use hex topology. This will

View File

@ -26,23 +26,23 @@ coordinateSystem global;
//coordinateSystem patchLocal;
// .. and its coefficients. x,y in this case. (normal direction is calculated
// as tan1^tan2)
// as e1 ^e2 )
globalCoeffs
{
tan1 (1 0 0);
tan2 (0 1 0);
e1 (1 0 0);
e2 (0 1 0);
}
patchLocalCoeffs
{
patch outside; // Normal direction is facenormal of zero'th face of patch
tan1 (1 0 0);
patch outside; // Normal direction is facenormal of zero'th face of patch
e1 (1 0 0);
}
// List of directions to refine
directions
(
normal
e3
);
// Whether to use hex topology. This will

View File

@ -26,23 +26,23 @@ coordinateSystem global;
//coordinateSystem patchLocal;
// .. and its coefficients. x,y in this case. (normal direction is calculated
// as tan1^tan2)
// as e1 ^e2 )
globalCoeffs
{
tan1 (1 0 0);
tan2 (0 1 0);
e1 (1 0 0);
e2 (0 1 0);
}
patchLocalCoeffs
{
patch outside; // Normal direction is facenormal of zero'th face of patch
tan1 (1 0 0);
patch outside; // Normal direction is facenormal of zero'th face of patch
e1 (1 0 0);
}
// List of directions to refine
directions
(
normal
e3
);
// Whether to use hex topology. This will

View File

@ -26,23 +26,23 @@ coordinateSystem global;
//coordinateSystem patchLocal;
// .. and its coefficients. x,y in this case. (normal direction is calculated
// as tan1^tan2)
// as e1 ^e2 )
globalCoeffs
{
tan1 (1 0 0);
tan2 (0 1 0);
e1 (1 0 0);
e2 (0 1 0);
}
patchLocalCoeffs
{
patch outside; // Normal direction is facenormal of zero'th face of patch
tan1 (1 0 0);
patch outside; // Normal direction is facenormal of zero'th face of patch
e1 (1 0 0);
}
// List of directions to refine
directions
(
normal
e3
);
// Whether to use hex topology. This will

View File

@ -26,23 +26,23 @@ coordinateSystem global;
//coordinateSystem patchLocal;
// .. and its coefficients. x,y in this case. (normal direction is calculated
// as tan1^tan2)
// as e1 ^e2 )
globalCoeffs
{
tan1 (1 0 0);
tan2 (0 1 0);
e1 (1 0 0);
e2 (0 1 0);
}
patchLocalCoeffs
{
patch outside; // Normal direction is facenormal of zero'th face of patch
tan1 (1 0 0);
patch outside; // Normal direction is facenormal of zero'th face of patch
e1 (1 0 0);
}
// List of directions to refine
directions
(
normal
e3
);
// Whether to use hex topology. This will

View File

@ -26,23 +26,23 @@ coordinateSystem global;
//coordinateSystem patchLocal;
// .. and its coefficients. x,y in this case. (normal direction is calculated
// as tan1^tan2)
// as e1 ^e2 )
globalCoeffs
{
tan1 (1 0 0);
tan2 (0 1 0);
e1 (1 0 0);
e2 (0 1 0);
}
patchLocalCoeffs
{
patch outside; // Normal direction is facenormal of zero'th face of patch
tan1 (1 0 0);
patch outside; // Normal direction is facenormal of zero'th face of patch
e1 (1 0 0);
}
// List of directions to refine
directions
(
normal
e3
);
// Whether to use hex topology. This will