mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Correcting axesRotation.C virtual member functions and
tutorials using coordinates systems dictionary
This commit is contained in:
@ -171,12 +171,7 @@ Foam::tmp<Foam::vectorField> Foam::axesRotation::transform
|
|||||||
const vectorField& st
|
const vectorField& st
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
notImplemented
|
return (R_ & st);
|
||||||
(
|
|
||||||
"tmp<vectorField> Foam::axesRotation:: "
|
|
||||||
"transform(const vectorField& st) const"
|
|
||||||
);
|
|
||||||
return tmp<vectorField>(NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -185,12 +180,7 @@ Foam::tmp<Foam::vectorField> Foam::axesRotation::invTransform
|
|||||||
const vectorField& st
|
const vectorField& st
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
notImplemented
|
return (Rtr_ & st);
|
||||||
(
|
|
||||||
"tmp<vectorField> Foam::axesRotation::"
|
|
||||||
"invTransform(const vectorField& st) const"
|
|
||||||
);
|
|
||||||
return tmp<vectorField>(NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -33,12 +33,18 @@ porosity1
|
|||||||
|
|
||||||
coordinateSystem
|
coordinateSystem
|
||||||
{
|
{
|
||||||
|
type cartesian;
|
||||||
|
origin (0 0 0);
|
||||||
|
coordinateRotation
|
||||||
|
{
|
||||||
|
type axesRotation;
|
||||||
e1 (0.70710678 0.70710678 0);
|
e1 (0.70710678 0.70710678 0);
|
||||||
e3 (0 0 1);
|
e3 (0 0 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//************************************************************************ //
|
//************************************************************************ //
|
||||||
|
|||||||
@ -53,26 +53,40 @@ geometry
|
|||||||
surface box1;
|
surface box1;
|
||||||
scale (1.0 1.0 2.1);
|
scale (1.0 1.0 2.1);
|
||||||
transform
|
transform
|
||||||
|
{
|
||||||
|
coordinateSystem
|
||||||
{
|
{
|
||||||
type cartesian;
|
type cartesian;
|
||||||
origin (2 2 0);
|
origin (2 2 0);
|
||||||
|
coordinateRotation
|
||||||
|
{
|
||||||
|
type axesRotation;
|
||||||
e1 (1 0 0);
|
e1 (1 0 0);
|
||||||
e3 (0 0 1);
|
e3 (0 0 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
herring
|
herring
|
||||||
{
|
{
|
||||||
surface box1;
|
surface box1;
|
||||||
scale (1.0 1.0 2.1);
|
scale (1.0 1.0 2.1);
|
||||||
transform
|
transform
|
||||||
|
{
|
||||||
|
coordinateSystem
|
||||||
{
|
{
|
||||||
type cartesian;
|
type cartesian;
|
||||||
origin (3.5 3 0);
|
origin (3.5 3 0);
|
||||||
|
coordinateRotation
|
||||||
|
{
|
||||||
|
type axesRotation;
|
||||||
e1 (1 0 0);
|
e1 (1 0 0);
|
||||||
e3 (0 0 1);
|
e3 (0 0 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -51,12 +51,18 @@ porosityBlockage
|
|||||||
|
|
||||||
coordinateSystem
|
coordinateSystem
|
||||||
{
|
{
|
||||||
|
type cartesian;
|
||||||
|
origin (0 0 0);
|
||||||
|
coordinateRotation
|
||||||
|
{
|
||||||
|
type axesRotation;
|
||||||
e1 (0 1 0);
|
e1 (0 1 0);
|
||||||
e2 (0 0 1);
|
e2 (0 0 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
MRF1
|
MRF1
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user