mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of ssh://noisy/home/noisy3/OpenFOAM/OpenFOAM-dev
This commit is contained in:
@ -25,9 +25,9 @@ makeGraph(y, flowDirection & R & flowDirection, "Rff", gFormat);
|
|||||||
makeGraph(y, wallNormal & R & wallNormal, "Rww", gFormat);
|
makeGraph(y, wallNormal & R & wallNormal, "Rww", gFormat);
|
||||||
makeGraph(y, flowDirection & R & wallNormal, "Rfw", gFormat);
|
makeGraph(y, flowDirection & R & wallNormal, "Rfw", gFormat);
|
||||||
|
|
||||||
makeGraph(y, sqrt(mag(R.component(tensor::XX))), "u", gFormat);
|
makeGraph(y, sqrt(mag(R.component(symmTensor::XX))), "u", gFormat);
|
||||||
makeGraph(y, sqrt(mag(R.component(tensor::YY))), "v", gFormat);
|
makeGraph(y, sqrt(mag(R.component(symmTensor::YY))), "v", gFormat);
|
||||||
makeGraph(y, sqrt(mag(R.component(tensor::ZZ))), "w", gFormat);
|
makeGraph(y, sqrt(mag(R.component(symmTensor::ZZ))), "w", gFormat);
|
||||||
makeGraph(y, R.component(tensor::XY), "uv", gFormat);
|
makeGraph(y, R.component(symmTensor::XY), "uv", gFormat);
|
||||||
|
|
||||||
makeGraph(y, mag(fvc::grad(U)), "gammaDot", gFormat);
|
makeGraph(y, mag(fvc::grad(U)), "gammaDot", gFormat);
|
||||||
|
|||||||
@ -22,21 +22,6 @@ FoamFile
|
|||||||
// is done for all coupled faces, not just for any patches created.
|
// is done for all coupled faces, not just for any patches created.
|
||||||
// - optional: synchronise points on coupled patches.
|
// - optional: synchronise points on coupled patches.
|
||||||
|
|
||||||
// 1. Create cyclic:
|
|
||||||
// - specify where the faces should come from
|
|
||||||
// - specify the type of cyclic. If a rotational specify the rotationAxis
|
|
||||||
// and centre to make matching easier
|
|
||||||
// - pointSync true to guarantee points to line up.
|
|
||||||
|
|
||||||
// 2. Correct incorrect cyclic:
|
|
||||||
// This will usually fail upon loading:
|
|
||||||
// "face 0 area does not match neighbour 2 by 0.0100005%"
|
|
||||||
// " -- possible face ordering problem."
|
|
||||||
// - change patch type from 'cyclic' to 'patch' in the polyMesh/boundary file.
|
|
||||||
// - loosen match tolerance to get case to load
|
|
||||||
// - regenerate cyclic as above
|
|
||||||
|
|
||||||
|
|
||||||
// Tolerance used in matching faces. Absolute tolerance is span of
|
// Tolerance used in matching faces. Absolute tolerance is span of
|
||||||
// face times this factor. To load incorrectly matches meshes set this
|
// face times this factor. To load incorrectly matches meshes set this
|
||||||
// to a higher value.
|
// to a higher value.
|
||||||
@ -46,24 +31,16 @@ matchTolerance 1E-3;
|
|||||||
pointSync true;
|
pointSync true;
|
||||||
|
|
||||||
// Patches to create.
|
// Patches to create.
|
||||||
patchInfo
|
patches
|
||||||
(
|
(
|
||||||
{
|
{
|
||||||
// Name of new patch
|
// Name of new patch
|
||||||
name inlet;
|
name inlet;
|
||||||
|
|
||||||
// Type of new patch
|
// Type of new patch
|
||||||
dictionary
|
patchInfo
|
||||||
{
|
{
|
||||||
type patch;
|
type patch;
|
||||||
|
|
||||||
// Optional: explicitly set transformation tensor.
|
|
||||||
// Used when matching and synchronising points.
|
|
||||||
//transform translational;
|
|
||||||
//separationVector (-2289 0 0);
|
|
||||||
transform rotational;
|
|
||||||
rotationAxis (1 0 0);
|
|
||||||
rotationCentre (0 0 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// How to construct: either from 'patches' or 'set'
|
// How to construct: either from 'patches' or 'set'
|
||||||
|
|||||||
Reference in New Issue
Block a user