CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Dimensions of skewCorrectionVectors (http://www.cfd-online.com/Forums/openfoam/65041-dimensions-skewcorrectionvectors.html)

cliffoi June 2, 2009 04:29

Dimensions of skewCorrectionVectors
 
I am implementing a new surface interpolation scheme and have noticed that the skewCorrectionVectors class returns a dimensionless field. Shouldn't the dimensions of this field be dimLength, especially since this is dotted with the gradient of the field to obtain the correction?
Does anybody have any comments?

hjasak June 3, 2009 05:47

Hi Ivor,

Have a look at the non-orthogonal correction vectors and do the same :)

Hrv

cliffoi June 12, 2009 10:08

Hi Hrv,
Thanks for your replay and sorry for my delayed response. I did notice that this is not an issue if you work with the field components. I was just curious why the dimensions were not strictly correct.

Ivor

hjasak June 12, 2009 12:18

Can you fix it?

Hrv

cliffoi June 15, 2009 10:36

1 Attachment(s)
Well, yes... just need to replace the keyword dimless with dimLength. I'm not so sure what the downstream result might be though. It seems like the only class which makes use of skewCorrectionVectors is skewCorrected so this is all that could potentially break (I hope). Here we go. If you would like me to upload it to the extend server, I don't yet have a login for this.

Regards
Ivor


All times are GMT -4. The time now is 22:06.