Average fix and data for Xe

This commit is contained in:
Jorge Gonzalez 2025-07-17 18:34:11 +02:00
commit d28dd16c2e
2 changed files with 57 additions and 1 deletions

View file

@ -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))