CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Dimension Error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2012, 11:00
Default Dimension Error
  #1
Senior Member
 
Goutam Saha
Join Date: Dec 2011
Location: UK
Posts: 131
Rep Power: 14
Goutam is on a distinguished road
Dear Friends

I have calculated wall Heat Flux using wallHeatFlux command in terminal. When I run this for a laminar case, it works properly. But when I run this for Turbulent case: kEpsilon model then I got the following error massage:

Different dimensions for

dimensions: [ 1 -1 -1 0 0 0 0 ] = [ 0 2 -1 0 0 0 0 ]

My question is, if Its a dimesional error then how I got the correct result for laminar case?

I am really confused !!!!!!!!!!!!!!
Goutam is offline   Reply With Quote

Old   March 5, 2012, 11:20
Default
  #2
Member
 
Rob
Join Date: Sep 2011
Posts: 55
Rep Power: 14
robbirobocop is on a distinguished road
Seems like the second entry is the first one divided by the density.
robbirobocop is offline   Reply With Quote

Old   March 5, 2012, 11:29
Default
  #3
Senior Member
 
Goutam Saha
Join Date: Dec 2011
Location: UK
Posts: 131
Rep Power: 14
Goutam is on a distinguished road
Quote:
Originally Posted by robbirobocop View Post
Seems like the second entry is the first one divided by the density.
Yeah, I understood the dimension. Problem is, if it's a problem then why not the error is shown when I run the laminar case? I didn't understand this.

Is there anyone who uses wallHeatFlux command to calculate heat flux at the wall for turbulent case?

Thanks ...
Goutam is offline   Reply With Quote

Old   March 6, 2012, 06:56
Default
  #4
Senior Member
 
Goutam Saha
Join Date: Dec 2011
Location: UK
Posts: 131
Rep Power: 14
Goutam is on a distinguished road
I am using buoyantBossinesqSimpleFoam and run the wallHeatFlux command for kEpsilon model. I got Dimension Error. Its created 3 new file, one is k.old, epsilon.old and mut in the 0 folder. When I use this for laminar case, there is no error.

Can you help me?
Goutam is offline   Reply With Quote

Old   March 6, 2012, 07:16
Talking
  #5
Senior Member
 
calim_cfd's Avatar
 
mauricio
Join Date: Jun 2011
Posts: 172
Rep Power: 17
calim_cfd is on a distinguished road
Quote:
Originally Posted by Goutam View Post
Dear Friends

I have calculated wall Heat Flux using wallHeatFlux command in terminal. When I run this for a laminar case, it works properly. But when I run this for Turbulent case: kEpsilon model then I got the following error massage:

Different dimensions for

dimensions: [ 1 -1 -1 0 0 0 0 ] = [ 0 2 -1 0 0 0 0 ]

My question is, if Its a dimesional error then how I got the correct result for laminar case?

I am really confused !!!!!!!!!!!!!!
you're using an "incompressible" solver and the application is for "compressible" results. I guess you'll have to modify the application to do the calculation with your files and make the appropriate changes.

Also you could trick the app if your density is on avg 1, just assign the dimensions you need on the specified dictionaries (variable's files) where this errors occurs!
__________________
Best Regards
/calim

"Elune will grant us the strength"
calim_cfd is offline   Reply With Quote

Old   March 6, 2012, 07:44
Default
  #6
Senior Member
 
Goutam Saha
Join Date: Dec 2011
Location: UK
Posts: 131
Rep Power: 14
Goutam is on a distinguished road
Quote:
Originally Posted by calim_cfd View Post
you're using an "incompressible" solver and the application is for "compressible" results. I guess you'll have to modify the application to do the calculation with your files and make the appropriate changes.

Also you could trick the app if your density is on avg 1, just assign the dimensions you need on the specified dictionaries (variable's files) where this errors occurs!
Dear Calim_cfd,

Previously, I run this for BuoyantBossinesqSimpleFoam laminar incompressible case and then I have calculated the Nusselt Number. It works fine. Since in RAS properties, I switch off turbulent, I didn't get any error. Now I am solving the same problem for turbulence case with higher Ra values.

Another thing, for BuoyantBossinesqSimpleFoam, do I have option to enter the value of rho. In transport properties, I have entered the values for nu, beta, Tref, Pr, Prt.

Thanks
Goutam is offline   Reply With Quote

Old   March 6, 2012, 08:16
Default
  #7
Senior Member
 
calim_cfd's Avatar
 
mauricio
Join Date: Jun 2011
Posts: 172
Rep Power: 17
calim_cfd is on a distinguished road
Quote:
Originally Posted by Goutam View Post
Dear Calim_cfd,

Previously, I run this for BuoyantBossinesqSimpleFoam laminar incompressible case and then I have calculated the Nusselt Number. It works fine. Since in RAS properties, I switch off turbulent, I didn't get any error. Now I am solving the same problem for turbulence case with higher Ra values.

Another thing, for BuoyantBossinesqSimpleFoam, do I have option to enter the value of rho. In transport properties, I have entered the values for nu, beta, Tref, Pr, Prt.

Thanks
you say for laminar case the app things did work. I ask , have you tried the nusselt and wallhealflux apps for the laminar case and turbulent one? i'm not familiar with the nussel one

maybe it's an application issue, turning on turbulence should not change the postprocessing app's behaviour since ur not changing the physics of the case...

i guess the appl only postprocess results. maybe the nusselt application already accounts for both physics, hence dimensions, whereas wallheatflux seems not! check that
Code:
Another thing, for BuoyantBossinesqSimpleFoam, do I have option to enter  the value of rho. In transport properties, I have entered the values  for nu, beta, Tref, Pr, Prt.
i guess it wont work
__________________
Best Regards
/calim

"Elune will grant us the strength"
calim_cfd is offline   Reply With Quote

Old   December 18, 2012, 17:53
Default Possible solution...
  #8
New Member
 
V. L. Scalon
Join Date: Dec 2012
Posts: 1
Rep Power: 0
vscalon is on a distinguished road
I'm having the same problem. I can solve it putting the thermophysicalproperties file on constant directory. It isn't used by buoyantBoussinesqPimpleFoam, but wallHeatFlux uses it....
You can try, but don't delete tranportProperties. The my thermophysicalProperties is:

Code:
thermoType      hRhoThermo<pureMixture<constTransport<specieThermo<hConstThermo<perfectGas>>>>>;

pRef            100000;

mixture
{
    specie
    {
        nMoles          1;
        molWeight       28.9;
    }
    thermodynamics
    {
        Cp              1000;
        Hf              0;
    }
    transport
    {
        mu              1.8e-05;
        Pr              0.7;
    }
}
vscalon is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 06:42
compile errors of boundary condition "expDirectionMixed" liying02ts OpenFOAM Bugs 2 February 1, 2010 20:11
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 02:32
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
user defined function cfduser CFX 0 April 29, 2006 10:58


All times are GMT -4. The time now is 18:48.