View Issue Details

IDProjectCategoryView StatusLast Update
0002491OpenFOAM[All Projects] Bugpublic2017-03-10 14:11
Reporterjavad1360Assigned Tohenry 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
PlatformUnixOSOtherOS Version(please specify)
Product Versiondev 
Fixed in Version 
Summary0002491: CrankNicolsonDdtScheme::fvcDdtPhiCorr fails for compressible flow
Descriptionsame as reported before
TagssprayFoam, turbulence models

Activities

javad1360

2017-03-10 08:25

reporter  

aachenBomb.tar.gz (6,137 bytes)

javad1360

2017-03-10 08:26

reporter   ~0007896

I have run this code again in the openfoam dev .. but the problem is same

javad1360

2017-03-10 08:27

reporter   ~0007897

please run the code I have attached and you can find this problem:
--> FOAM FATAL ERROR:
LHS and RHS of + have different dimensions
     dimensions : [1 -2 -2 0 0 0 0] + [0 1 -2 0 0 0 0]


    From function Foam::dimensionSet Foam::operator+(const Foam::dimensionSet&, const Foam::dimensionSet&)
    in file dimensionSet/dimensionSet.C at line 489.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::error::abort() at ??:?
#2 Foam::operator+(Foam::dimensionSet const&, Foam::dimensionSet const&) at ??:?
#3 Foam::tmp<Foam::GeometricField<Foam::typeOfSum<Foam::Vector<double>, Foam::Vector<double> >::type, Foam::fvPatchField, Foam::volMesh> > Foam::operator+<Foam::Vector<double>, Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> > const&, Foam::tmp<Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> > const&) at ??:?
#4 Foam::fv::CrankNicolsonDdtScheme<Foam::Vector<double> >::fvcDdtPhiCorr(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&) at ??:?
#5 ? at ??:?
#6 ? at ??:?
#7 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#8 ? at ??:?
Aborted (core dumped)

javad1360

2017-03-10 08:32

reporter   ~0007898

before running please blockMesh and then run it...

henry

2017-03-10 09:10

manager   ~0007901

This issue is completely unrelated to the dynamicLagrangian, it is a problem in
CrankNicolsonDdtScheme::fvcDdtPhiCorr for compressible flow. I am testing a correction now.

henry

2017-03-10 11:15

manager   ~0007906

Resolved in OpenFOAM-dev by commit 692242f574427183cd2384add7657d09ad050ffc

Resolved in OpenFOAM-4.x by commit 71161ef0b8641d976db2ec2954d48e57dfe31727

Issue History

Date Modified Username Field Change
2017-03-10 08:25 javad1360 New Issue
2017-03-10 08:25 javad1360 File Added: aachenBomb.tar.gz
2017-03-10 08:25 javad1360 Tag Attached: sprayFoam
2017-03-10 08:25 javad1360 Tag Attached: turbulence models
2017-03-10 08:26 javad1360 Note Added: 0007896
2017-03-10 08:27 javad1360 Note Added: 0007897
2017-03-10 08:32 javad1360 Note Added: 0007898
2017-03-10 09:10 henry Note Added: 0007901
2017-03-10 09:23 henry Priority immediate => normal
2017-03-10 09:23 henry Summary DynamicLagrangian LES model doesnt work in sprayFoam In Lagrangian-Tutorials => CrankNicolsonDdtScheme::fvcDdtPhiCorr fails for compressible flow
2017-03-10 11:15 henry Assigned To => henry
2017-03-10 11:15 henry Status new => resolved
2017-03-10 11:15 henry Resolution open => fixed
2017-03-10 11:15 henry Fixed in Version => 4.x
2017-03-10 11:15 henry Note Added: 0007906
2017-03-10 14:11 henry View Status private => public