CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CCM+ (https://www.cfd-online.com/Forums/star-ccm/)
-   -   spatial resolution in StarCCM+ for LES (https://www.cfd-online.com/Forums/star-ccm/131150-spatial-resolution-starccm-les.html)

aqua March 10, 2014 09:37

spatial resolution in StarCCM+ for LES
 
Dear All, I am performing LES in StarCCM+. To make sure the mesh is reasonable, I need to check the spatial resolution including Y+, as well as X+ and Z+ in the other two directions. StarCCM+ already has the field function of Y+, but how to get the spacitial resolution for the other direction, X+ and Z+? :confused:

Thank you so so much !

Aqua

me3840 March 10, 2014 11:20

Y+ does not refer to a specific direction, it is a parameter which is relative to the local face normal. X+ and Z+ do not exist.

Please read up here:
http://en.wikipedia.org/wiki/Law_of_the_wall

flotus1 March 10, 2014 12:03

x^+ and z^+ do exist.
You can estimate them through the extent of the cell in the respective direction.
Say you have a certain value of y^+ for a cell which has an extent of \Delta y in y-direction.
Then the value for x^+ is
x^+ = y^+ \frac{\Delta x}{\Delta y}.
Same with z^+.

Pay attention that this concept is only valid for the first cell near a wall where y^+ is related to the wall-normal extent of the cell.

me3840 March 10, 2014 12:20

I meant they don't exist in STAR-CCM+, sorry.

I don't see any method of calculating these values without user code, unless the geometry is simple enough to know the cell dimensions a priori.

aqua March 11, 2014 06:52

Hi, thank you very much for your reply... which really shocked me... StarCCM+ does not have x+ and z+ ? OMG... If that's true, I would have big trouble with my work..

Thank you.
Aqua

Quote:

Originally Posted by me3840 (Post 479181)
I meant they don't exist in STAR-CCM+, sorry.

I don't see any method of calculating these values without user code, unless the geometry is simple enough to know the cell dimensions a priori.


aqua March 11, 2014 06:57

Hello Alex, thank you for your kind reply. I understand your explanation, but my problem is , how to get it from StarCCM+... do you have any idea?

In Starccm+, I can get Y+, but then , to calculate X+ and Z+, I would need the size of the cell (width or length), which is an issue for me...

Thank you

Aqua
Quote:

Originally Posted by flotus1 (Post 479179)
x^+ and z^+ do exist.
You can estimate them through the extent of the cell in the respective direction.
Say you have a certain value of y^+ for a cell which has an extent of \Delta y in y-direction.
Then the value for x^+ is
x^+ = y^+ \frac{\Delta x}{\Delta y}.
Same with z^+.

Pay attention that this concept is only valid for the first cell near a wall where y^+ is related to the wall-normal extent of the cell.


flotus1 March 11, 2014 10:29

No need to be shocked, no general purpose commercial CFD software has predefined functions for these values.
As pointed out by me3840, you will need some user code to get them unless you have a very simple setup.
I am no longer working with CCM+, so I cant really give you a hint how to do this.


All times are GMT -4. The time now is 18:16.