CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Switching on LES in 2D mode of fluent (https://www.cfd-online.com/Forums/fluent/30955-switching-les-2d-mode-fluent.html)

Josef Dubsky February 17, 2003 11:47

Switching on LES in 2D mode of fluent
 
Can anybody tell me, how to switch on (activate, as desribed in tutorials) the LES in 2D mode of Fluent 6.0? In the tutorials for the new accoustic module it just sais: 1. Activate the LES turbulence model for 2D calculations (rpsetvar 'les-2d? #t)

2. Select the Large Eddy Simulation turbulence model.

Define -> Models -> Viscous...........

Thank you very much


ff February 18, 2003 03:38

Re: Switching on LES in 2D mode of fluent
 
Just write (rpsetvar 'les-2d? #t), as it say, in your text interface(Plus "return").

Regards


Josef Dubsky February 18, 2003 04:31

Re: Switching on LES in 2D mode of fluent
 
I am sorry, I am just a new user of Fluent - I have already tried to write this command in the command line in Fluent before I posted my question to this forum, but I always get message saying "invalid command [(rpsetvar]". Maybe I am doing something wrong - I am just getting used to using Fluent now.

Josef Dubsky February 18, 2003 04:43

Re: Switching on LES in 2D mode of fluent
 
Perfect, I have already managed to go through this. I could not believe it.If you copy this command from the help and paste it in the command line, it does not work, but if you type it - EXACTLY THE SAME - and press enter again, it works. I do not know, what difference it makes, whether you copy the text or type it yourself, but the copy method simply does not work

nimbus1947 August 27, 2012 07:41

Quote:

Originally Posted by Josef Dubsky
;104505
Perfect, I have already managed to go through this. I could not believe it.If you copy this command from the help and paste it in the command line, it does not work, but if you type it - EXACTLY THE SAME - and press enter again, it works. I do not know, what difference it makes, whether you copy the text or type it yourself, but the copy method simply does not work

Thanks :)

farouksdz July 14, 2013 14:34

Quote:

Originally Posted by Josef Dubsky
;104495
Can anybody tell me, how to switch on (activate, as desribed in tutorials) the LES in 2D mode of Fluent 6.0? In the tutorials for the new accoustic module it just sais: 1. Activate the LES turbulence model for 2D calculations (rpsetvar 'les-2d? #t)

2. Select the Large Eddy Simulation turbulence model.

Define -> Models -> Viscous...........

Thank you very much

hello
I think you have just to type the following message (with parenthesis) in the console window of fluent and it will work:
>(rpsetvar `les-2d? #t)
there is just a trick in the apostrophe : type AltGr + 7 and then to see the apostrophe type the next letter "l".good luck

pitamber.methia September 14, 2013 11:23

2d-LES starting
 
I am using the command (rpsetvar 'les-2d? #t)
the following message comes in dialog box
Error: rp-var-value-set!: undefined variable
Error Object: 2d-les?

can anybody help. does my system should have visual studio then only it will work

Regards

Goutam December 10, 2013 06:15

Quote:

Originally Posted by pitamber.methia (Post 451684)
I am using the command (rpsetvar 'les-2d? #t)
the following message comes in dialog box
Error: rp-var-value-set!: undefined variable
Error Object: 2d-les?

can anybody help. does my system should have visual studio then only it will work

Regards

I wrote this command (rpsetvar 'les-2d? #t)
and LES is activated. But only problem is, if you run LES, you will never get unsteady statistics (mean and rms) in 2D case. So, it will not helpful and it's better to use LES in 3D.

pitamber.methia April 30, 2014 01:20

Les
 
Quote:

Originally Posted by Goutam (Post 465671)
I wrote this command (rpsetvar 'les-2d? #t)
and LES is activated. But only problem is, if you run LES, you will never get unsteady statistics (mean and rms) in 2D case. So, it will not helpful and it's better to use LES in 3D.

Thanks Gautam. Does using axis symmetric condition will be same as 3d

Goutam April 30, 2014 06:29

Quote:

Originally Posted by pitamber.methia (Post 489045)
Thanks Gautam. Does using axis symmetric condition will be same as 3d

I used 2D axi-symmetric case. I found that unsteady RANS models perform better than LES. LES tooks long time to converge and I will suggest you to use 3D geometry when using LES. It will give you better accuracy.

LuckyTran May 1, 2014 04:56

Quote:

Originally Posted by pitamber.methia (Post 489045)
Thanks Gautam. Does using axis symmetric condition will be same as 3d

LES in 2D is highly non-physical. Same goes for 3D LES with any type of symmetry conditions. Using LES in either of these circumstances should be avoided. If you choose to do it anyway, then be ready for wildly different results.

On the other hand, 2D / 3D RANS should yield same results.

Andrea1984 May 1, 2014 10:41

As LuckyTran stated before, because turbulence is a 3D physical phenomenon (e.g. vortex stretching is impossible in two dimensions), you are not going to get sensible results from a 2D (or axisymmetric) LES calculation

hiteshlande November 23, 2015 05:00

Hello
I m trying to start LES in 2D Fluent-15(Double precision)using above command.But it is giving error.please help me.

farouksdz November 23, 2015 15:14

Quote:

Originally Posted by hiteshlande (Post 574542)
Hello
I m trying to start LES in 2D Fluent-15(Double precision)using above command.But it is giving error.please help me.

Hi. I think you have to retype: define/models/viscous> (rpsetvar `les-2d? #t) rather than copying it.
NB: note in (rpsetvar `les-2d? #t) (`) is not an apostrophe, it is an inverted apostrophe (AltGr 7).good luck.

hiteshlande November 30, 2015 00:35

2D-LES in Solid Rocket Motor
 
Hello Everyone

i am new user of Fluent-LES. I am trying to simulate vortex shedding in the Solid Rocket Motor using 2D-LES.Can anybody tell me,how to select time step and is it necessary to do steady state simulation before using LES?Also there is drop in pressure across the chamber while using LES and not getting any vortex shedding over there.can any body tell me the reason behind it...

Thank you in advance............

hiteshlande November 30, 2015 00:41

Also please suggest me,For how many iterations do i need to run the above LES simulation as the residuals are going to get steady and oscillate about some average value in LES and how can i do Frequency analysis of vortex shedding using Fluent or is there any other way.Please help...

farouksdz December 1, 2015 16:46

Quote:

Originally Posted by hiteshlande (Post 575569)
Also please suggest me,For how many iterations do i need to run the above LES simulation as the residuals are going to get steady and oscillate about some average value in LES and how can i do Frequency analysis of vortex shedding using Fluent or is there any other way.Please help...

Hi, its just a suggestion:
according to fluent user's guide, LES is sensitive to initial conditions so fluent propose to start a k-Epsln or k-Omga turbulence model as a steady-state until convergence then switch to LES model (which is an unsteady model).

about time step the Courant-Friedrichs-Lewy (CFL) does not exceed 1 (u can make a study of CFL effect ex: CFL=1,2,3,... until no change )CFL=(v*dt)/dx
then : dt=(dx*CFL)/v
where:
dx:is the smallest distance in the studied domain;
v: reference velocity
u can start with CFL=1 or less and then if there is no difference increase the value of CFL.
good luck

hiteshlande December 2, 2015 13:33

farouksdz

Thank You Very much...

hiteshlande December 19, 2015 01:05

Hello All...I am using LES in 2d fluent to simulate turbulence inside Solid Rocket Motor. My pressure is varying as i am solving it for particular pressure boundary condition and it should not vary that much..so please tell me, am i going through right direction? or should i rethink about all the procedure...please tell me as i am new to LES.

Thank you...

hiteshlande February 15, 2016 12:00

Hello
Can anyone tell me that how to find exact mesh size for LES and how to do mesh independence study for it? As I am working on Solid Rocket Motor flow dynamics using LES....

Thank You...


All times are GMT -4. The time now is 19:40.