neko icon indicating copy to clipboard operation
neko copied to clipboard

Reducing output frequency in the tgv example

Open Mittagskogel opened this issue 1 year ago • 6 comments

I'm running the tgv example with the following case file:

&NEKO_CASE                                                                                                        
mesh_file= '32768.nmsh'                                                                                           
fluid_scheme='pnpn'                                                                                               
lx = 8                                                                                                            
source_term = 'noforce'                                                                                           
initial_condition = 'user'                                                                                        
/                                                                                                                 
&NEKO_PARAMETERS                                                                                                  
dt = 1d-3                                                                                                         
T_end = 2                                                                                                         
nsamples = 1                                                                                                      
write_at_end = .false.                                                                                            
output_chkp = .false.                                                                                             
uinf= 0.0,0.0,0.0                                                                                                 
Re = 1600                                                                                                         
pc_vel = 'jacobi'                                                                                                 
pc_prs = 'hsmg'                                                                                                   
proj_prs_dim = 8                                                                                                  
dealias = .true.                                                                                                  
/

I've tried to reduce the output frequency by adding the following lines in the NEKO_PARAMETERS section:

output_control = 'nsamples'
output_value = '10'

But this does not change the amount of output seen in stdout. How can I adjust this?

Especially funky is that setting output_control to never slows down execution of the tgv example to about 60%, but has no other effect.

Mittagskogel avatar Feb 17 '24 13:02 Mittagskogel