View Issue Details

IDProjectCategoryView StatusLast Update
0003793OpenFOAMBugpublic2022-12-06 12:33
Reportercgoessni Assigned Tochris  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformamd64OSCentOSOS Version7
Product Versiondev 
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.

chris

2022-12-06 12:33

manager   ~0012913

Reporter acknowledged the issue was resolved

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
2022-12-06 12:33 chris Assigned To => chris
2022-12-06 12:33 chris Status new => closed
2022-12-06 12:33 chris Resolution open => fixed
2022-12-06 12:33 chris Note Added: 0012913