mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: cvMesh: Try to fix alignment
This commit is contained in:
@ -816,6 +816,13 @@ void Foam::cellShapeControlMesh::write() const
|
||||
)
|
||||
{
|
||||
Info<< "Bad alignment = " << vit->info();
|
||||
|
||||
triad tmpTriad(vit->alignment());
|
||||
tmpTriad.orthogonalize();
|
||||
vit->alignment() = tmpTriad;
|
||||
|
||||
Info<< "New alignment = " << vit->info();
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user