|
[Sponsors] |
Calculate internal angles of an Trilinear interpolation Cube |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 8, 2011, 11:09 |
Calculate internal angles of an Trilinear interpolation Cube
|
#1 |
New Member
Join Date: Aug 2011
Posts: 8
Rep Power: 16 |
Does anybody know the (computational) fastest way to calculate the internal angles (minimal internal angle) of a cube, result of a trilinear interpolation between 8 points, in 3D space, of course.
|
|
October 11, 2011, 11:09 |
|
#2 | |
Senior Member
Rami Ben-Zvi
Join Date: Mar 2009
Posts: 155
Rep Power: 17 |
Quote:
I guess you meant a hexa rather than a cube. A straightforward way is computing angles from scalar product of vectors. Doing this for all the combinations you need, you can find the minimum angle. Not sure this is the fastest way, and whether it is what you were asking. |
||
October 11, 2011, 12:18 |
|
#3 |
New Member
Join Date: Aug 2011
Posts: 8
Rep Power: 16 |
Ok. Yes, itīs a hexa, resulting from a trilinear interpolation between 8 vertices.
And yes, actually I use the common way calculating each vector and the angles between them. I could save time, by allocating a Matrix with all vectors. So I only compute each vector one time. But does anyone know of a method, for example taking some diagonal, in order to save computacional cost? |
|
Tags |
cube, mininal angle, trilinear interpolation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gambit help: Cube inside cube | Jack Martinez | FLUENT | 13 | August 11, 2010 07:29 |
Surface interpolation schemes and parallelization | jutta | OpenFOAM Running, Solving & CFD | 0 | February 25, 2010 15:32 |
How to store the variable on internal faces to calculate UDS_FLUX? | bigfans | FLUENT | 0 | October 28, 2009 15:22 |
Problems with internal angles when meshing | Ivan | CFX | 2 | August 30, 2002 07:54 |
Trilinear interpolation | Bowen Zhong | Main CFD Forum | 0 | November 2, 1999 05:45 |