Average fix and data for Xe
This commit is contained in:
parent
221de46734
commit
d28dd16c2e
2 changed files with 57 additions and 1 deletions
|
|
@ -1331,6 +1331,7 @@ MODULE moduleInput
|
|||
USE moduleCaseParam, ONLY: tauMin
|
||||
USE moduleMesh, ONLY: mesh
|
||||
USE moduleSpecies, ONLY: nSpecies
|
||||
USE moduleRefParam, ONLY: ti_ref
|
||||
IMPLICIT NONE
|
||||
|
||||
TYPE(json_file), INTENT(inout):: config
|
||||
|
|
@ -1344,8 +1345,11 @@ MODULE moduleInput
|
|||
CALL config%get('average.startTime', tStart, found)
|
||||
|
||||
IF (found) THEN
|
||||
tAverageStart = INT(tStart / tauMin)
|
||||
tAverageStart = INT(tStart / ti_ref / tauMin)
|
||||
|
||||
ELSE
|
||||
tAverageStart = 0
|
||||
|
||||
END IF
|
||||
|
||||
ALLOCATE(averageScheme(1:mesh%numNodes))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue