View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001217 | OpenFOAM | Bug | public | 2014-03-12 15:49 | 2014-03-28 20:33 |
Reporter | Assigned To | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Ubuntu | OS Version | 12.x |
Summary | 0001217: problem with cyclicAMI | ||||
Description | rotation of cyclicAMI does not work for complex geometries | ||||
Steps To Reproduce | try a complex axial turbomachinery geometry | ||||
Additional Information | it can be fixed changing the code in: ./meshTools/lnInclude/cyclicAMIPolyPatch.C where a subtraction is needed instead of a sum (see fix#1 and fix#2) in the following [blablabla.....] case ROTATIONAL: { tensor revT = tensor::zero; if (rotationAngleDefined_) { tensor T(rotationAxis_*rotationAxis_); tensor S ( 0, -rotationAxis_.z(), rotationAxis_.y(), rotationAxis_.z(), 0, -rotationAxis_.x(), -rotationAxis_.y(), rotationAxis_.x(), 0 ); tensor RPos ( T // originalcode#1 + cos(rotationAngle_)*(tensor::I + T) fix#1 + cos(rotationAngle_)*(tensor::I - T) + sin(rotationAngle_)*S ); tensor RNeg ( T //originalcode#2 + cos(-rotationAngle_)*(tensor::I + T) fix #2 + cos(-rotationAngle_)*(tensor::I - T) + sin(-rotationAngle_)*S ); // check - assume correct angle when difference in face areas // is the smallest vector transformedAreaPos = sum(half0Areas & RPos); vector transformedAreaNeg = sum(half0Areas & RNeg); vector area1 = sum(half1Areas); reduce(transformedAreaPos, sumOp<vector>()); reduce(transformedAreaNeg, sumOp<vector>()); reduce(area1, sumOp<vector>()); [....blablabla....] | ||||
Tags | No tags attached. | ||||
has duplicate | 0001249 | resolved | Transformation Tensor in AMI is calculated wrong when using given rotation angle |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-03-12 15:49 |
|
New Issue | |
2014-03-28 15:43 |
|
Relationship added | has duplicate 0001249 |
2014-03-28 16:01 |
|
Note Added: 0002986 | |
2014-03-28 16:01 |
|
Status | new => resolved |
2014-03-28 16:01 |
|
Fixed in Version | => 2.3.x |
2014-03-28 16:01 |
|
Resolution | open => fixed |
2014-03-28 16:01 |
|
Assigned To | => user2 |