View Issue Details

IDProjectCategoryView StatusLast Update
0003795OpenFOAMBugpublic2022-01-28 16:37
ReporterRizOF Assigned Tohenry  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionduplicate 
Summary0003795: Negative normal components of UPrime2Mean and TPrime2Mean
DescriptionThe UPrime2Mean and TPrime2Mean give negative values in different simulations. This was observed with the reactingFoam and rhoPimpleFoam solvers. A similar issue was observed in OpenFOAM-8 in the thread http://bugs.openfoam.org/view.php?id=3776. In this same thread, it was mentioned that in OF-9 the issue was solved, however it is still observed. Thank you for the help.
Steps To Reproducecompute the means and second order statistics with the reactingFoam or rhoPimpleFoam solvers.
TagsNo tags attached.

Relationships

duplicate of 0003776 resolvedhenry Negative normal components of UPrime2Mean in tutorial channel395 

Activities

henry

2022-01-28 14:50

manager   ~0012447

Can you provide a simple case setup to reproduce the problem?

RizOF

2022-01-28 15:23

reporter  

smallPoolFire2D.zip (21,029 bytes)

henry

2022-01-28 15:30

manager   ~0012448

I have run the tutorials/compressible/rhoPimpleFoam/LES/pitzDaily case in OpenFOAM-9 and OpenFOAM-dev with

functions
{
    #includeFunc fieldAverage(U, p, T, prime2Mean = yes)
}

and both UPrime2Mean and TPrime2Mean are positive everywhere.

henry

2022-01-28 15:35

manager   ~0012449

Last edited: 2022-01-28 15:45

I have run the smallPoolFire2D and both UPrime2Mean and TPrime2Mean are positive everywhere.

RizOF

2022-01-28 15:45

reporter   ~0012450

This is what I see for the temperature. I am using Ubuntu 18.04.
of9_prime2mean.png (128,657 bytes)   
of9_prime2mean.png (128,657 bytes)   

henry

2022-01-28 15:53

manager   ~0012451

I cannot reproduce that with either OpenFOAM-9 or OpenFOAM-dev, both generate positive UPrime2Mean and TPrime2Mean.

henry

2022-01-28 15:54

manager   ~0012452

> I am using Ubuntu 18.04.

It doesn't matter what OS you are using, you just need to compile OpenFOAM-9 or dev including the commits in http://bugs.openfoam.org/view.php?id=3776

RizOF

2022-01-28 16:28

reporter   ~0012453

Thank you for the replies. I re-installed OF-9 now, but still getting the negative values. Could you please tell me how to implement this correction?

henry

2022-01-28 16:34

manager   ~0012454

https://openfoam.org/download/source/

Issue History

Date Modified Username Field Change
2022-01-28 14:43 RizOF New Issue
2022-01-28 14:50 henry Note Added: 0012447
2022-01-28 15:23 RizOF File Added: smallPoolFire2D.zip
2022-01-28 15:30 henry Note Added: 0012448
2022-01-28 15:35 henry Note Added: 0012449
2022-01-28 15:45 henry Note Edited: 0012449
2022-01-28 15:45 RizOF File Added: of9_prime2mean.png
2022-01-28 15:45 RizOF Note Added: 0012450
2022-01-28 15:53 henry Note Added: 0012451
2022-01-28 15:54 henry Note Added: 0012452
2022-01-28 16:28 RizOF Note Added: 0012453
2022-01-28 16:34 henry Note Added: 0012454
2022-01-28 16:37 henry Relationship added duplicate of 0003776
2022-01-28 16:37 henry Assigned To => henry
2022-01-28 16:37 henry Status new => closed
2022-01-28 16:37 henry Resolution open => duplicate