|
From: Ramakrishnan, S. [U. (S. (Contr)
<Sek...@ng...> - 2022-09-19 17:35:20
|
Thank you, Stan, for your suggestions.
I have been using fix avg/grid to do time averaging. The code doesn't seem to like the 'fix avg/grid' option when adapt_grid is used. So, I perform certain number of iterations with average_grid and then turn on 'fix avg/grid'. Is there another way to get around the limitation on the use of 'fix avg/grid' and adapt_grid simultaneously?
Rama
From: Moore, Stan <st...@sa...>
Sent: Monday, September 19, 2022 9:52 AM
To: geo...@dl...; Ramakrishnan, Sekaripuram [US] (SP) (Contr) <Sek...@ng...>; spa...@li...
Subject: EXT :Re: [EXTERNAL] Re: [sparta-users] adapt_grid
Yes as Georgii said, you can use "compute lambda/grid" to get mean free path. It may also be good to do some time averaging of the MFP input values, using fix ave/grid, something like this:
compute 1 grid species nrho temp
fix 1 ave/grid 1 1000 1000 c_1[*]
compute 2 lambda/grid f_1[1] f_1[2] Ar
You can also use the dynamic "fix adapt/grid" for adaptation during a run, with a frequency that matches the time averaging from fix ave/grid so you don't have to do multiple static adaptations.
fix 2 adapt 1000 all refine ...
________________________________
From: geo...@dl...<mailto:geo...@dl...> <geo...@dl...<mailto:geo...@dl...>>
Sent: Sunday, September 18, 2022 3:34 AM
To: Sek...@ng...<mailto:Sek...@ng...> <Sek...@ng...<mailto:Sek...@ng...>>; spa...@li...<mailto:spa...@li...> <spa...@li...<mailto:spa...@li...>>
Subject: [EXTERNAL] Re: [sparta-users] adapt_grid
Re: iterate (may be wrong) I think it governs the level of refinement achieved, but if it is set too large and no refinement occurs during an iteration the whole adapt grid loop stops (so it should converge at some point).
MFP adaption is there - a compute call is needed to calculate the MFP in each grid cell, and then a grid adapt based on a compute value can be called. There is an example on the adapt_grid documentation page:
compute 1 lambda/grid c_12 NULL N2 kall
adapt_grid refine coarsen value c_12 0.05 0.1 &
combine min thresh less more
Mit freundlichen Grüßen
Georgii Oblapenko
Postdoctoral Researcher
Alexander von Humboldt Stiftung Fellow
Institut für Aerodynamik und Strömungstechnik
Deutsches Zentrum für Luft- und Raumfahrt (DLR)
________________________________
From: Ramakrishnan, Sekaripuram [US] (SP) (Contr) <Sek...@ng...<mailto:Sek...@ng...>>
Sent: 18 September 2022 02:00:13
To: spa...@li...<mailto:spa...@li...>
Subject: [sparta-users] adapt_grid
Is it possible to add an option to adapt_grid based on local mean-free-path? In my experience with DAC97, that seems to work well.
Rama
|