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
|
||||
{
|
||||
notImplemented
|
||||
(
|
||||
"tmp<vectorField> Foam::axesRotation:: "
|
||||
"transform(const vectorField& st) const"
|
||||
);
|
||||
return tmp<vectorField>(NULL);
|
||||
return (R_ & st);
|
||||
}
|
||||
|
||||
|
||||
@ -185,12 +180,7 @@ Foam::tmp<Foam::vectorField> Foam::axesRotation::invTransform
|
||||
const vectorField& st
|
||||
) const
|
||||
{
|
||||
notImplemented
|
||||
(
|
||||
"tmp<vectorField> Foam::axesRotation::"
|
||||
"invTransform(const vectorField& st) const"
|
||||
);
|
||||
return tmp<vectorField>(NULL);
|
||||
return (Rtr_ & st);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -33,8 +33,14 @@ porosity1
|
||||
|
||||
coordinateSystem
|
||||
{
|
||||
e1 (0.70710678 0.70710678 0);
|
||||
e3 (0 0 1);
|
||||
type cartesian;
|
||||
origin (0 0 0);
|
||||
coordinateRotation
|
||||
{
|
||||
type axesRotation;
|
||||
e1 (0.70710678 0.70710678 0);
|
||||
e3 (0 0 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -54,10 +54,17 @@ geometry
|
||||
scale (1.0 1.0 2.1);
|
||||
transform
|
||||
{
|
||||
type cartesian;
|
||||
origin (2 2 0);
|
||||
e1 (1 0 0);
|
||||
e3 (0 0 1);
|
||||
coordinateSystem
|
||||
{
|
||||
type cartesian;
|
||||
origin (2 2 0);
|
||||
coordinateRotation
|
||||
{
|
||||
type axesRotation;
|
||||
e1 (1 0 0);
|
||||
e3 (0 0 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
herring
|
||||
@ -66,10 +73,17 @@ geometry
|
||||
scale (1.0 1.0 2.1);
|
||||
transform
|
||||
{
|
||||
type cartesian;
|
||||
origin (3.5 3 0);
|
||||
e1 (1 0 0);
|
||||
e3 (0 0 1);
|
||||
coordinateSystem
|
||||
{
|
||||
type cartesian;
|
||||
origin (3.5 3 0);
|
||||
coordinateRotation
|
||||
{
|
||||
type axesRotation;
|
||||
e1 (1 0 0);
|
||||
e3 (0 0 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -51,8 +51,14 @@ porosityBlockage
|
||||
|
||||
coordinateSystem
|
||||
{
|
||||
e1 (0 1 0);
|
||||
e2 (0 0 1);
|
||||
type cartesian;
|
||||
origin (0 0 0);
|
||||
coordinateRotation
|
||||
{
|
||||
type axesRotation;
|
||||
e1 (0 1 0);
|
||||
e2 (0 0 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user