View Issue Details

IDProjectCategoryView StatusLast Update
0003793OpenFOAMBugpublic2022-01-26 13:26
ReportercgoessniAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformamd64OSCentOSOS Version7
Product Versiondev 
Fixed in Version 
Summary0003793: fvModels semiImplicitSource table with userTime engine does not work
DescriptionWhenever I try to prescribe a ramp for a source term using fvModels, it would not work:

                        explicit table (
                                                (541 0)
                                                (542 30000000)
                                                (560 30000000)
                                        );

The table itself works (i.e. the temperature in the domain rises) if no ramp is present:

                        explicit table (
                                                (542 30000000)
                                                (560 30000000)
                                        );

Could this be related to userTime engine and a wrong transformation inside semiImplicitSource?
Steps To Reproducesee attached setup
TagsNo tags attached.

Activities

cgoessni

2022-01-26 11:54

reporter  

kivaTest_fvModels_table.tgz (1,372,750 bytes)

henry

2022-01-26 12:00

manager   ~0012437

What happens if you specify the time in the table in real-time rather than user-time?

cgoessni

2022-01-26 12:12

reporter   ~0012438

If I change the table to (540 CA with 1500 rpm should correspond to 0.06s, and 541 CA should correspond to 0.0601111111s),

                        explicit table (
                                                (0.06001 0)
                                                (0.060111111 30000000)
                                                (560 30000000)
                                        );

nothing changes, the source does not seem to be applied.


What worked was this table:

                        explicit table (
                                                (-1234 0)
                                                (-1111 30000000)
                                                (560 30000000)
                                        );

henry

2022-01-26 12:48

manager   ~0012439

Try this:

commit 4623ece721b44c8c8f5313de581d0c52ddad1002 (HEAD -> master, origin/master, origin/HEAD)
Author: Henry Weller <http://cfd.direct>
Date: Wed Jan 26 12:45:54 2022 +0000

    fvModels,fvConstraints: Changed Function1(time) to Function1(user time)
    
    Time-dependent input data is now expected to be specified in user-time rather
    than real-time.

cgoessni

2022-01-26 13:26

reporter   ~0012442

After applying this commit, it works now as expected.

Thanks.

Issue History

Date Modified Username Field Change
2022-01-26 11:54 cgoessni New Issue
2022-01-26 11:54 cgoessni File Added: kivaTest_fvModels_table.tgz
2022-01-26 12:00 henry Note Added: 0012437
2022-01-26 12:12 cgoessni Note Added: 0012438
2022-01-26 12:48 henry Note Added: 0012439
2022-01-26 13:26 cgoessni Note Added: 0012442