CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Why double precision for Y+<1?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 2, 2013, 07:46
Question Why double precision for Y+<1?
  #1
New Member
 
Omer
Join Date: Aug 2012
Posts: 4
Rep Power: 13
Omer is on a distinguished road
Hi ,

I am aerodynamic designer and I used CFD for some of my analysis. The Best practise guide http://www.cfd-online.com/Wiki/Best_...omachinery_CFD suggests I use double precision for Y+<1.

I would like to know why we need to do this. I know the aspect ratios when Y+<1 condition is met, can be very high. But I don't understand why we need to use double-precision. What are the underlying mathematics that needs double-precision.

Regards
Omer
Omer is offline   Reply With Quote

Old   January 2, 2013, 12:09
Default
  #2
Senior Member
 
Join Date: Dec 2009
Posts: 131
Rep Power: 19
mjgraf is on a distinguished road
http://www.cfd-online.com/Forums/cfx...html#post82819

all boils down to round off error for very small terms.

Quote:
Originally Posted by Omer View Post
Hi ,

I am aerodynamic designer and I used CFD for some of my analysis. The Best practise guide http://www.cfd-online.com/Wiki/Best_...omachinery_CFD suggests I use double precision for Y+<1.

I would like to know why we need to do this. I know the aspect ratios when Y+<1 condition is met, can be very high. But I don't understand why we need to use double-precision. What are the underlying mathematics that needs double-precision.

Regards
Omer
mjgraf is offline   Reply With Quote

Old   January 2, 2013, 12:34
Default
  #3
New Member
 
Omer
Join Date: Aug 2012
Posts: 4
Rep Power: 13
Omer is on a distinguished road
Hi ,

Thanks mjgraf. I would appreciate a few more details to understand this in more dept.

I do understand it is to reduce the round-off errors. Single-precision gets us about 5 to 6 digits after the decimal, whereas double-precision gets us about 15 to 16 digits . But why does this become more pertinent when y+<1? Does this have to do with the very small cell volumes near the wall? And how does this affect our solution?


Thanks in advance.

Regards
Omer
Omer is offline   Reply With Quote

Old   January 2, 2013, 17:24
Default
  #4
New Member
 
Mohammed
Join Date: Oct 2012
Posts: 27
Rep Power: 13
mohw2002 is on a distinguished road
Please can any body help me in post-cfx
I want to know how can I take values to draw the relationships yplus, k plus, epsilon plus.
can I find the values of friction factors directly from CFX or by analytical equations?
Thanks.
mohw2002 is offline   Reply With Quote

Old   January 3, 2013, 19:04
Default
  #5
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,655
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Omer: This is all basic numerics. Whether double precision is required is problem dependant, but in general when you are resolving fine gradients in a large field you can run into round off error problems so double precision can help. Just try it with and without and find out the difference for yourself. Even better, write a little test program (doing the heat equation of somethign simple) and see for yourself the effects of numerical precision.

Mohammed: Please start a new thread for a new question.
ghorrocks is offline   Reply With Quote

Old   January 3, 2013, 23:46
Default
  #6
New Member
 
Omer
Join Date: Aug 2012
Posts: 4
Rep Power: 13
Omer is on a distinguished road
Thanks Glenn.

I will take up your suggestion and comeback with something.

Regards
Omer
Omer is offline   Reply With Quote

Old   January 21, 2014, 01:22
Default
  #7
New Member
 
maaz ahmad
Join Date: Dec 2011
Location: india
Posts: 21
Rep Power: 14
maaz is on a distinguished road
hi,
i am working on fluent to obtain pressure coefficient on hip roof low rise building, i want to know how to obtain value of y plus above 30
maaz is offline   Reply With Quote

Old   January 22, 2014, 08:27
Default
  #8
Senior Member
 
Bruno
Join Date: Mar 2009
Location: Brazil
Posts: 277
Rep Power: 21
brunoc is on a distinguished road
Quote:
Originally Posted by maaz View Post
hi,
i am working on fluent to obtain pressure coefficient on hip roof low rise building, i want to know how to obtain value of y plus above 30
You should post this as a new thread on the Fluent forum.
Also: How should I ask my question on the CFX forum to get the best possible answer?
brunoc is offline   Reply With Quote

Old   January 25, 2014, 02:54
Default
  #9
New Member
 
maaz ahmad
Join Date: Dec 2011
Location: india
Posts: 21
Rep Power: 14
maaz is on a distinguished road
http://www.cfd-online.com/Forums/mai...-building.html
maaz is offline   Reply With Quote

Reply

Tags
double precision, yplus

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Continuing User Defined Real Gas Model issues aeroman FLUENT 6 April 8, 2016 04:34
Parallel User Defined Real Gas Model aeroman FLUENT 4 July 1, 2015 07:09
Missing math.h header Travis FLUENT 4 January 15, 2009 12:48
what's wrong about my code for 2d burgers equation morxio Main CFD Forum 3 April 27, 2007 11:38
REAL GAS UDF brian FLUENT 6 September 11, 2006 09:23


All times are GMT -4. The time now is 00:55.