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

LES averaging on moving meshes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 28, 2020, 07:39
Default LES averaging on moving meshes
  #1
New Member
 
Lukasz
Join Date: Apr 2012
Posts: 10
Rep Power: 14
loook is on a distinguished road
Hi all,



I am running a simulation of a Stirling engine using LES approach. I have moving meshes in the cylinder. I would like to compare the results with RANS data. However, since the mesh is constantly changing I do not know how to average the velocity field for a certain piston position. Due to numerical errors it is not possible to get exactly the same piston position for different cycles. Does anyone know how this could be done?


Thanks
loook
loook is offline   Reply With Quote

Old   January 28, 2020, 22:31
Default
  #2
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 416
Rep Power: 15
Svetlana is on a distinguished road
Do you need average velocity in a point or on a line?

I think it might need programming, such as:

1. Export the data for all time steps.
2. Import the data in your script.
3. Get the time steps which are the closest to your required piston position.
4. For each pair t_i and t_i+1, interpolate to get the exact position which you need.
5. Average on the data sets which were obtained by interpolation.

I think this can be simplified a lot if you not only export the velocity data at every time step, but also export the piston displacement at every time step. Then step 3 will be much easier to implement.
Svetlana is offline   Reply With Quote

Old   January 29, 2020, 09:06
Default
  #3
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
Hi

Averaging over moving meshes do not make much sense since the domain size is changing. If RANS simulation was transient, then you should compare instantaneous results. If RANS was steady-state, which could have been done at multiple piston positions, then you should compare results at piston positions. As you mentioned, positions are difficult to match, but difference can be reduced as much as possible.

As Svetlana mentioned, it would help to know if you want averaging at a point or line or time-averaging over whole domain for certain time duration because time-steps for URANS and LES are different. In that case, solution (was) to enable averaging in Fluent during run-time and save data files at the times where URANS data is available.

More information from your end might help with further suggestions to resolve the issue.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Reply

Tags
averagingmethod, fluent, les, moving meshes


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
mapFields with moving meshes Bazinga OpenFOAM Pre-Processing 1 February 22, 2019 09:20
LES gust factors letzel OpenFOAM Running, Solving & CFD 0 November 7, 2013 13:57
OpenFOAM LES: Averaging Velcoity Ollie OpenFOAM 2 April 20, 2011 08:05
VOF and moving meshes Dave FLUENT 0 May 7, 2007 02:54
Start of averaging in LES fab Main CFD Forum 2 June 16, 2005 05:53


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