View Issue Details

IDProjectCategoryView StatusLast Update
0003786OpenFOAMBugpublic2022-01-18 10:53
Reportercgoessni Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformamd64OSCentOSOS Version7
Product Versiondev 
Fixed in Versiondev 
Summary0003786: mapFields does not handle userTime correctly
DescriptionWhen I run mapFields with userTime engine, it would not handle the times correctly.

1. It would display the time in seconds instead of CA
2. It would not pick up the latest time from the source directory, but the earliest

[clemens@acer: kivaTest.2] $ mapFields -consistent ../kivaTest.1
/*---------------------------------------------------------------------------*\
  ========= |
  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
   \\ / O peration | Website: https://openfoam.org
    \\ / A nd | Version: dev
     \\/ M anipulation |
\*---------------------------------------------------------------------------*/
Build : dev
Exec : mapFields -consistent ../kivaTest.1
Date : Jan 18 2022
Time : 08:14:22
Host : "fvkmb176"
PID : 123790
I/O : uncollated
Case : /home/clemens/OpenFOAM/goessnitzer-dev/run/kivaTest.2
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Source: "/home/clemens/OpenFOAM/goessnitzer-dev/run" "kivaTest.1"
Target: "/home/clemens/OpenFOAM/goessnitzer-dev/run" "kivaTest.2"

Create databases as time
Selecting userTime engine
Selecting userTime engine

Source time: -0.02
Target time: 0.06
Create meshes

Source mesh size: 27544 Target mesh size: 27544


Consistently creating and mapping fields for time -180

    interpolating alphat
    interpolating nut
    interpolating fu
    interpolating b
    interpolating Su
    interpolating p
    interpolating T
    interpolating k
    interpolating epsilon
    interpolating Tu
    interpolating Xi
    interpolating ft
    interpolating U

End
Steps To Reproduce1. Create two kivaTest tutorials 1,2
2. copy -180 to 540 in tutorial kivaTest.1
3. move -180 to 540 in tutorial kivaTest.2
4. prepare the mesh for both tutorials
5. run "mapFields -consistent ../kivaTest.1"

Expected outcome:
1. display time correctly
2. pick-up latest time of the source directory
TagsNo tags attached.

Activities

henry

2022-01-18 10:53

manager   ~0012415

Resolved by commit ded017b76203e80df16d884e61c6fdbfbaba2531

Issue History

Date Modified Username Field Change
2022-01-18 07:19 cgoessni New Issue
2022-01-18 10:53 henry Assigned To => henry
2022-01-18 10:53 henry Status new => resolved
2022-01-18 10:53 henry Resolution open => fixed
2022-01-18 10:53 henry Fixed in Version => dev
2022-01-18 10:53 henry Note Added: 0012415