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

MULES::explicitSolve dimensions inconsistence

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 24, 2011, 19:29
Default MULES::explicitSolve dimensions inconsistence
  #1
Senior Member
 
santiagomarquezd's Avatar
 
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 418
Rep Power: 14
santiagomarquezd will become famous soon enough
Hi FOAMers I have a question about following lines in MULESTemplates.C

Code:
00117     {
00118         psiIf =
00119         (
00120             rho.oldTime().field()*psi0/deltaT
00121           + Su.field()
00122           - psiIf
00123         )/(rho.field()/deltaT - Sp.field());
00124     }
they look like not dimensionally consistent, particularly:

rho.oldTime().field()*psi0/deltaT-psiIf

psiIf was previously used in and integration, nevertheless it wasn't multiplied by rho ever.

So, what's the trick?

Regards.
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D.
Post-doctoral Fellow
Research Center for Computational Mechanics (CIMEC) - CONICET/FICH-UNL
T.E.: 54-342-4511594 Ext. 1005
Güemes 3450 - (3000) Santa Fe
Santa Fe - Argentina
http://www.cimec.org.ar
santiagomarquezd is offline   Reply With Quote

Old   September 22, 2011, 04:09
Default
  #2
Senior Member
 
Join Date: Nov 2010
Posts: 113
Rep Power: 6
lindstroem is on a distinguished road
Hello Santiago!

I was considering the same question, have you found out sth? Do you know why i cant get an output via
Code:
Info << Su.field() << endl;
The error is sth like
Code:
MULESTemplates.C:132:5: error: no match for ‘operator<<’ in ‘Foam::operator<<(((F...
Greetings!

Last edited by lindstroem; September 22, 2011 at 08:49.
lindstroem is offline   Reply With Quote

Old   November 7, 2011, 10:09
Default
  #3
Member
 
bojiezhang
Join Date: Jan 2010
Posts: 64
Rep Power: 7
bojiezhang is on a distinguished road
Quote:
Originally Posted by santiagomarquezd View Post
Hi FOAMers I have a question about following lines in MULESTemplates.C

Code:
00117     {
00118         psiIf =
00119         (
00120             rho.oldTime().field()*psi0/deltaT
00121           + Su.field()
00122           - psiIf
00123         )/(rho.field()/deltaT - Sp.field());
00124     }
they look like not dimensionally consistent, particularly:

rho.oldTime().field()*psi0/deltaT-psiIf

psiIf was previously used in and integration, nevertheless it wasn't multiplied by rho ever.

So, what's the trick?

Regards.

hi:
I am also confused by this problem. Have you solved it?
bojiezhang
bojiezhang 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
Incompatible dimensions.... Amiga500 OpenFOAM Running, Solving & CFD 13 June 1, 2012 07:20
fields + dimensions santiagomarquezd OpenFOAM Programming & Development 3 March 7, 2011 13:47
Dimensions ! T.D. OpenFOAM Running, Solving & CFD 4 September 24, 2010 14:26
Different dimensions for FATAL ERROR retech OpenFOAM Running, Solving & CFD 2 August 14, 2007 10:17
Dimensions of laplacian in PISO loop kumar2 OpenFOAM Running, Solving & CFD 2 July 3, 2006 14:34


All times are GMT -4. The time now is 23:17.