BUG: Correcting axesRotation.C virtual member functions and

tutorials using coordinates systems dictionary
This commit is contained in:
sergio
2013-02-07 11:32:40 +00:00
parent 29b74534c7
commit 20cfa7c6ae
4 changed files with 40 additions and 24 deletions

View File

@ -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);
} }

View File

@ -33,8 +33,14 @@ porosity1
coordinateSystem coordinateSystem
{ {
e1 (0.70710678 0.70710678 0); type cartesian;
e3 (0 0 1); origin (0 0 0);
coordinateRotation
{
type axesRotation;
e1 (0.70710678 0.70710678 0);
e3 (0 0 1);
}
} }
} }
} }

View File

@ -54,10 +54,17 @@ geometry
scale (1.0 1.0 2.1); scale (1.0 1.0 2.1);
transform transform
{ {
type cartesian; coordinateSystem
origin (2 2 0); {
e1 (1 0 0); type cartesian;
e3 (0 0 1); origin (2 2 0);
coordinateRotation
{
type axesRotation;
e1 (1 0 0);
e3 (0 0 1);
}
}
} }
} }
herring herring
@ -66,10 +73,17 @@ geometry
scale (1.0 1.0 2.1); scale (1.0 1.0 2.1);
transform transform
{ {
type cartesian; coordinateSystem
origin (3.5 3 0); {
e1 (1 0 0); type cartesian;
e3 (0 0 1); origin (3.5 3 0);
coordinateRotation
{
type axesRotation;
e1 (1 0 0);
e3 (0 0 1);
}
}
} }
} }
} }

View File

@ -51,8 +51,14 @@ porosityBlockage
coordinateSystem coordinateSystem
{ {
e1 (0 1 0); type cartesian;
e2 (0 0 1); origin (0 0 0);
coordinateRotation
{
type axesRotation;
e1 (0 1 0);
e2 (0 0 1);
}
} }
} }
} }