View Issue Details

IDProjectCategoryView StatusLast Update
0002493OpenFOAMBugpublic2017-03-10 14:05
Reporterjavad1360 Assigned Tohenry  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionno change required 
PlatformUnixOSOtherOS Version(please specify)
Product Versiondev 
Fixed in Versiondev 
Summary0002493: DynamicLagrangian LES model doesnt work in sprayFoam In Lagrangian-Tutorials
Descriptioninorder to check the source of bug, i have changed cranknicolson to Euler , abd have run the code and again I got this error:
TagssprayFoam, turbulence models

Activities

javad1360

2017-03-10 13:12

reporter  

pictures.tar.gz (517,939 bytes)

javad1360

2017-03-10 13:16

reporter   ~0007909

--> FOAM FATAL ERROR:
incompatible dimensions for operation
    [flm[0 4 -5 0 0 0 0] ] + [flm[1 1 -5 0 0 0 0] ]

    From function void Foam::checkMethod(const Foam::fvMatrix<Type>&, const Foam::fvMatrix<Type>&, const char*) [with Type = double]
    in file /home/ubuntu/OpenFOAM/OpenFOAM-dev/src/finiteVolume/lnInclude/fvMatrix.C at line 1271.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::error::abort() at ??:?
#2 void Foam::checkMethod<double>(Foam::fvMatrix<double> const&, Foam::fvMatrix<double> const&, char const*) at ??:?
#3 Foam::tmp<Foam::fvMatrix<double> > Foam::operator+<double>(Foam::tmp<Foam::fvMatrix<double> > const&, Foam::tmp<Foam::fvMatrix<double> > const&) at ??:?
#4 Foam::LESModels::dynamicLagrangian<Foam::EddyDiffusivity<Foam::ThermalDiffusivity<Foam::CompressibleTurbulenceModel<Foam::fluidThermo> > > >::correct() at ??:?
#5 ? at ??:?
#6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#7 ? at ??:?
Aborted (core dumped)

henry

2017-03-10 13:21

manager   ~0007910

I do not get this error, the case you provided now runs fine with Euler and CrankNicolson. It looks like your OpenFOAM-dev build does not include the changes to the dynamicLagrangian I have pushed.

javad1360

2017-03-10 13:25

reporter   ~0007912

so , what is your offer to do ?

javad1360

2017-03-10 13:33

reporter  

pic.tar.gz (878,210 bytes)

henry

2017-03-10 14:05

manager   ~0007914

If you are happy running OpenFOAM-3 you could install the final release of OpenFOAM-3.0.1:

https://openfoam.org/release/3-0-1/

Alternatively you could compile the latest OpenFOAM-dev including the fixes to the new turbulence library I made for you:

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

If you want to use OpenFOAM-dev on Ubuntu but do not want to compile the sources you can wait for the next binary release of OpenFOAM-dev on Ubuntu which will be built over the weekend.

Issue History

Date Modified Username Field Change
2017-03-10 13:12 javad1360 New Issue
2017-03-10 13:12 javad1360 File Added: pictures.tar.gz
2017-03-10 13:12 javad1360 Tag Attached: sprayFoam
2017-03-10 13:12 javad1360 Tag Attached: turbulence models
2017-03-10 13:16 javad1360 Note Added: 0007909
2017-03-10 13:19 henry Priority immediate => normal
2017-03-10 13:21 henry Note Added: 0007910
2017-03-10 13:25 javad1360 Note Added: 0007912
2017-03-10 13:33 javad1360 File Added: pic.tar.gz
2017-03-10 14:00 henry View Status private => public
2017-03-10 14:05 henry Note Added: 0007914
2017-03-10 14:05 henry Assigned To => henry
2017-03-10 14:05 henry Status new => closed
2017-03-10 14:05 henry Resolution open => no change required
2017-03-10 14:05 henry Fixed in Version => dev