reduce local echo on savescalars?

Numerical methods and mathematical models of Elmer
Post Reply
NJank
Posts: 99
Joined: 05 Dec 2009, 00:05
Location: Baltimore, MD, USA

reduce local echo on savescalars?

Post by NJank »

I have a transient simulation calling savescalars after each timestep to record max and avg temperatures. I set the Simulation, Max Output Level =0, but SaveScalars creates the following output for each timestep:

Code: Select all

SaveScalars: Performed  4 reduction operations
SaveScalars: Found  4 values to save in total
SaveScalars: All done
For long simulations, this gets a bit tedious. Is there a keyword or something to suppress this output?
raback
Site Admin
Posts: 4832
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: reduce local echo on savescalars?

Post by raback »

Hi

This is odd. The lines are created by the very standard way:

Code: Select all

WRITE (Message,'(A,I0,A)') 'Found ',NoValues,' values to save in total'
CALL Info('SaveScalars',Message)
Where the subroutine Info is masked by the "Max Output Level". Is your output otherwise clean?

-Peter
NJank
Posts: 99
Joined: 05 Dec 2009, 00:05
Location: Baltimore, MD, USA

Re: reduce local echo on savescalars?

Post by NJank »

just re-ran to verify. Max Output Level = 0 in Simulation block.

get the following output:

Code: Select all

ELMER SOLVER (v 6.1) STARTED AT: 2011/03/18 09:11:08
MAIN:
MAIN: ==========================================
MAIN:  E L M E R  S O L V E R  S T A R T I N G
MAIN:  Library version: 6.1 (Rev: 5043)
MAIN: ==========================================
MAIN:
MAIN:
MAIN: -----------------------
MAIN: Reading Model ...
Loading user function library: [HeatSolve]...[HeatSolver_Init0]
Loading user function library: [SaveData]...[SaveScalars_Init0]
MAIN: Done
MAIN: -----------------------
Loading user function library: [HeatSolve]...[HeatSolver_Init]
Loading user function library: [HeatSolve]...[HeatSolver]
Loading user function library: [SaveData]...[SaveScalars_Init]
Loading user function library: [SaveData]...[SaveScalars]
SaveScalars: Performed  4 reduction operations
SaveScalars: Found  4 values to save in total
SaveScalars: All done
WriteToPost: Saving results in ElmerPost format to file TBHSModel1/tbhsmodel1_pulse_norefine.ep
SaveScalars: Performed  4 reduction operations
SaveScalars: Found  4 values to save in total
SaveScalars: All done
SaveScalars: Performed  4 reduction operations
SaveScalars: Found  4 values to save in total
SaveScalars: All done
...
SaveScalars: Performed  4 reduction operations
SaveScalars: Found  4 values to save in total
SaveScalars: All done
ElmerSolver: *** Elmer Solver: ALL DONE ***
ElmerSolver: The end
SOLVER TOTAL TIME(CPU,REAL):        10.84       10.84
ELMER SOLVER FINISHED AT: 2011/03/18 09:11:19
The SaveScalars output repeats for all 140 timesteps. the SaveScalars block is:

Code: Select all

Solver 2
 Equation = "SaveScalars"
 Exec Solver = "after timestep"
 Procedure = File "SaveData" "SaveScalars"
 Filename = "test2max_norefine.dat"
 File Append = Logical False
 Variable 1 = String "time"
 Variable 2 = String "Temperature"
 Operator 2 = String "max"
 Operator 3 = String "mean"
 Operator 4 = String "norm"
End
Post Reply