CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Bugs

Failed dimensional check with dynamic LES models

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 7, 2007, 08:47
Default Description: Running channelOo
  #1
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
Description: Running channelOodles (OF 1.4) on the tutorial case, enabling a LES model which uses the dynamic procedure gives dimensional check errors like the following:

- With dynSmagorinsky

--> FOAM FATAL ERROR : Different dimensions for =
dimensions : [0 2 -1 0 0 0 0] = [0 1 0 0 0 0 0]
#0 Foam::error::printStack(Foam:stream&)
#1 Foam::error::abort()
#2 Foam::dimensionSet::operator=(Foam::dimensionSet const&) const
#3 Foam::GeometricField<double,>::operator=(Foam::tmp <foam::geometricfield<double,> > const&)
#4 Foam::LESmodels::dynSmagorinsky::correct(Foam::tmp <foam::geometricfield<foam::te nsor<double>, Foam::fvPatchField, Foam::volMesh> > const&)
#5 Foam::LESmodel::correct()
#6 main
#7 __libc_start_main
#8 __gxx_personality_v0 at /usr/src/packages/BUILD/glibc-2.3/csu/../sysdeps/x86_64/elf/start.S:116


From function dimensionSet::operator=(const dimensionSet& ds) const
in file dimensionSet/dimensionSet.C at line 156.


- With dynOneEqEddy

--> FOAM FATAL ERROR : incompatible dimensions for operation
[k[0 1 -2 0 0 0 0] ] - [((2*nuSgs)*magSqr(symm(grad(U))))[0 2 -3 0 0 0 0] ]#0 Foam::error::printStack(Foam:stream&)
#1 Foam::error::abort()
#2 void Foam::checkMethod<double>(Foam::fvMatrix<double> const&, Foam::GeometricField<double,> const&, char const*)
#3 Foam::tmp<foam::fvmatrix<double> > Foam::operator-<double>(Foam::GeometricField<double,> const&, Foam::tmp<foam::fvmatrix<double> > const&)
#4 Foam::LESmodels::dynOneEqEddy::correct(Foam::tmp<f oam::geometricfield<foam::tens or<double>, Foam::fvPatchField, Foam::volMesh> > const&)
#5 Foam::LESmodel::correct()
#6 main
#7 __libc_start_main
#8 __gxx_personality_v0 at /usr/src/packages/BUILD/glibc-2.3/csu/../sysdeps/x86_64/elf/start.S:116


From function checkMethod(const fvMatrix<type>&, const GeometricField<type,>&)
in file /home/dm2/henry/OpenFOAM/OpenFOAM-1.4/src/finiteVolume/lnInclude/fvMatrix.C at line 1042.

FOAM aborting

Solver/Application: LESModels classes

Source file:

Testcase: channel395 with a LES model using the dynamic procedure.

Platform: All

Version: 1.4

Regards,
Alberto
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   June 10, 2007, 13:07
Default Any clue on this one? Or am I
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
Any clue on this one? Or am I missing something straightforward? :-?

Thanks in advance,
A.
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   June 11, 2007, 14:31
Default On line 40 of OpenFOAM-1.4/
  #3
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 13
henry is on a distinguished road
On line 40 of

OpenFOAM-1.4/src/OpenFOAM/fields/GeometricFields/GeometricSymmTensorField/GeometricSymmTensorField.C

replace 'transform' with 'sqr' (corrected version attached GeometricSymmTensorField.C ) and recompile everything.

Henry
henry is offline   Reply With Quote

Old   June 11, 2007, 15:00
Default As always, thanks a lot.
  #4
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
As always, thanks a lot.
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   July 11, 2007, 05:41
Default I am a new user of Linux; I ha
  #5
New Member
 
benyahia nabil
Join Date: Mar 2009
Location: Cheraga, Alger, ALGERIA
Posts: 4
Rep Power: 8
nabildjef is on a distinguished road
I am a new user of Linux; I have installed redhat9.0 for install Openfoam-1.3. In installation of Openfoam-1.3 I follow instruction in file readme. But when I start installation of GCC the message is: Permission non accordée.
In installation of redhat I create session her name is nabil, in this session I crest file Open FOAM
To install OpenFOAM, I flowing thus instruction.
The first instruction is: $HOME/OpenFOAM/OpenFOAM-4.1.2/.OpenFOAM-1.3/bashrc
The second instruction is: $WM_PROJECT_INST_DIR/$WM_ARCH/gcc-4.1.2
But here indicate that Permission non accordée.
The same for third instruction, $WM_PROJECT_DIR/.bashrc
After he installs normally openfoam, but in testing the installation indicates tow critical errors and one fatal error
I search
nabildjef is offline   Reply With Quote

Old   July 11, 2007, 05:48
Default please post your message in:
  #6
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 9
maka is on a distinguished road
please post your message in:
OpenFOAM Message Board: OpenFOAM: Installation
Have a nice day!
/Maka.
maka is offline   Reply With Quote

Old   August 9, 2007, 06:19
Default Hi OpenFOAM developers Prob
  #7
Senior Member
 
Join Date: Mar 2009
Posts: 248
Rep Power: 9
jaswi is on a distinguished road
Hi OpenFOAM developers

Problem related to dynSmagorinsky model.

While use the dynSmagorinsky model, the solver throws up the dimension mismatch error.

Forum search shows that the following file has to be fixed:

GeometricSymmTensorField.C

I did as it suggests and then recompiled the whole thing by executing AllMake located in the
/OpenFOAM/OpenFOAM-1.4/src>

The bottom line is that it still throws the dimension mismatch error.

My guess is that the header file needs to be fixed as well !!!!! because it still contains the old defintion on line 52

Please comment

Regards
Jaswinder
jaswi is offline   Reply With Quote

Old   August 9, 2007, 06:44
Default Have you tried version 1.4.1?
  #8
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 13
henry is on a distinguished road
Have you tried version 1.4.1?
henry is offline   Reply With Quote

Old   August 9, 2007, 06:48
Default No I am still using the versio
  #9
Senior Member
 
Join Date: Mar 2009
Posts: 248
Rep Power: 9
jaswi is on a distinguished road
No I am still using the version 1.4.
jaswi is offline   Reply With Quote

Old   September 5, 2007, 22:57
Default Great, there's no problem in v
  #10
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: South Bend, IN, USA
Posts: 688
Blog Entries: 9
Rep Power: 12
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
Great, there's no problem in version 1.4.1
__________________
~
Daniel WEI
-------------
NatHaz Modeling Laboratory
Department of Civil & Environmental Engineering & Earth Sciences
University of Notre Dame, USA
Email || My Personal CFD Blog
lakeat is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Grid check failed Norasikin Mat Isa FLUENT 2 August 31, 2011 03:30
Grid check failed Ellen FLUENT 7 April 26, 2010 09:12
Grid check failed Norasikin Mat Isa FLUENT 9 October 11, 2007 03:44
LES dynamic models fail dimensional check alberto OpenFOAM Running, Solving & CFD 0 June 11, 2007 13:23
check grid failed nikita FLUENT 1 July 30, 2003 02:31


All times are GMT -4. The time now is 02:37.