Dimensionalization clarification

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

 February 22, 2013, 18:37 Dimensionalization clarification #1 New Member   Olivier Soucy Join Date: Oct 2012 Location: Montreal, Canada Posts: 6 Rep Power: 6 Suppose I want to solve for the turbulent flow past a three dimensional wing. The real physical length of the chord is 2 meters, but the grid has been scaled such that the chord is 1.0. As such, I used the following setting: CONVERT_TO_METER= 15.807 On the other hand, should I also set REYNOLDS_LENGTH = 2.0 Or should the Reynolds Length be with respect to the original grid since it will be multiplied by CONVERT_TO_METER? Regards,

 February 26, 2013, 05:25 #2 Super Moderator   Thomas D. Economon Join Date: Jan 2013 Location: Stanford, CA Posts: 270 Rep Power: 6 Hi Olivier, Regardless of any non-dimensionalization that is applied using the supplied reference values in the configuration file (described here: http://adl.stanford.edu/docs/display...nsionalization), SU2 expects the mesh to be in meters for viscous flows. Please see the discussion on how to set up the conditions for a viscous simulation in SU2 within the following tutorial: http://adl.stanford.edu/docs/display...ulent+ONERA+M6. In your case, if you have a Reynolds number based on a 2.0 meter chord length that you are trying to match but the mesh has been scaled to a chord of 1.0, you can simply scale up the mesh by using 'CONVERT_TO_METER= 2.0' while leaving the Re & Re Length as their original values. The value given for CONVERT_TO_METER is just a factor that multiplies the x, y, & z coordinates of all nodes in the mesh in order to scale the entire grid to a desired size. A new mesh file containing the scaled coordinates can even be written using the 'WRITE_CONVERTED_MESH= YES' option. Hope this helps clear things up, Tom

April 23, 2013, 00:44
Reference Length
#3
New Member

David Tucker
Join Date: Jan 2013
Posts: 16
Rep Power: 5
Is it always possible to specify "lref"? ...I'm not clear on where that is coming from after looking at both references above.

I'm having trouble getting the Reynolds Number I'm expecting, I can see in the output file that density, velocity, and viscosity are all exactly what I predict and require. The length being used to calculate Re is 1, whereas my airfoil chord is 0.1524m, and that is what I'd like to use to calculate Re.

Is this doable?? ...I've tried:
CONVERT_TO_METER
REYNOLDS_LENGTH
REF_ELEM_LENGTH
...and even REF_LENGTH_MOMENT

Dave

PS: See attached for my config and output files.
Attached Files
 ConfigFile.doc (40.0 KB, 10 views) OutputFile.doc (34.5 KB, 5 views)

April 26, 2013, 00:12
#4
Super Moderator

Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 342
Rep Power: 6
Quote:
 Originally Posted by dtucker Is it always possible to specify "lref"? ...I'm not clear on where that is coming from after looking at both references above. I'm having trouble getting the Reynolds Number I'm expecting, I can see in the output file that density, velocity, and viscosity are all exactly what I predict and require. The length being used to calculate Re is 1, whereas my airfoil chord is 0.1524m, and that is what I'd like to use to calculate Re. Is this doable?? ...I've tried: CONVERT_TO_METER REYNOLDS_LENGTH REF_ELEM_LENGTH ...and even REF_LENGTH_MOMENT Dave PS: See attached for my config and output files.
The incompressible SU2 non dimensionalization is coded between lines 5115 and 5130 in config_structure.cpp:

Pressure_FreeStream = 0.0;
Length_Ref = 1.0;
Density_Ref = Density_FreeStream;
ModVel_FreeStream = 0;
for (iDim = 0; iDim < val_nDim; iDim++)
ModVel_FreeStream += Velocity_FreeStream[iDim]*Velocity_FreeStream[iDim];
ModVel_FreeStream = sqrt(ModVel_FreeStream);
Velocity_Ref = ModVel_FreeStream;
Pressure_Ref = Density_Ref*(Velocity_Ref*Velocity_Ref);

if (Viscous) {
Reynolds = Density_Ref*Velocity_Ref*Length_Ref / Viscosity_FreeStream;
Viscosity_Ref = Viscosity_FreeStream * Reynolds;
}

as you can see by default the reference length is 1, in other words... if the grid and the config file parameters are dimensional, then the computed Reynolds number is based in a 1m reference length.

If you want to change the reference length, you should change Length_Ref in the config_structure.cpp file, but also non-dimensionalize the numerical grid (all the coordinates should be divided by the reference length). Another thing that you can do to obtain the desired Reynolds number with a dimensional numerical grid is to change the value of the viscosity.

Best,
Francisco

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post kmgraju CFX 0 May 6, 2011 04:24 manisankar Main CFD Forum 0 December 23, 2010 03:07 Balashowry FLUENT 0 January 29, 2009 21:14 Mahendran FLUENT 0 September 28, 2007 13:48 R.Sureshkumar Main CFD Forum 0 April 2, 2000 08:30

All times are GMT -4. The time now is 14:37.