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

turn off dimension checking

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 13, 2009, 05:32
Default turn off dimension checking
  #1
Senior Member
 
isabel
Join Date: Apr 2009
Location: Spain
Posts: 167
Rep Power: 7
isabel is on a distinguished road
Does anybody know how to turn off the dimension checking?
isabel is offline   Reply With Quote

Old   July 13, 2009, 10:24
Default
  #2
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Braunschweig, Niedersachsen, Germany
Posts: 275
Rep Power: 8
henrik is on a distinguished road
Dear Isabel,

http://openfoamwiki.net/index.php/Ma...al_checking.3F


Henrik
henrik is offline   Reply With Quote

Old   July 14, 2009, 06:19
Default
  #3
Senior Member
 
isabel
Join Date: Apr 2009
Location: Spain
Posts: 167
Rep Power: 7
isabel is on a distinguished road
Thank you very much, Henrik,

The link gives this information:


4.1 How does one turn off the dimensional checking:

Dimensional checking is one of the cool features in OpenFOAM that helps to develop solvers that do something physicaly meaningfull. Therefore: don't do this if not absolutely necessary.
To switch it off at run-time set
dimensionSet 0;
in OpenFOAM-1.1/.OpenFOAM-1.1/controlDict.
A more controlled way is to use the dimensions()-method to set the dimension of the volXXXField in question to the desired dimension.





My problem is that I am using OpenFOAM 1.5, and in this version I don't have the file OpenFOAM-1.5/controlDict
isabel is offline   Reply With Quote

Old   July 14, 2009, 06:23
Default
  #4
Senior Member
 
Henrik Rusche
Join Date: Mar 2009
Location: Braunschweig, Niedersachsen, Germany
Posts: 275
Rep Power: 8
henrik is on a distinguished road
Dear Isabel,

You are right. It moved here

$FOAM_SRC/../etc/controlDict

Could you please update the How to?

Henrik
henrik is offline   Reply With Quote

Old   July 14, 2009, 06:35
Default
  #5
Senior Member
 
isabel
Join Date: Apr 2009
Location: Spain
Posts: 167
Rep Power: 7
isabel is on a distinguished road
Thank you very much, Henrik. Now it works.

It is in /home/isabel/OpenFOAM-1.5/etc/controlDict.C
I have changed line 332 to: dimensionSet 0;
isabel 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
Problems in compiling paraview in Suse 10.3 platform chiven OpenFOAM Installation 3 December 1, 2009 08:21
HELPInstallation on RedHat90 booosix OpenFOAM Installation 8 July 17, 2007 07:40
OpenFOAM installation problem on Linux 32bit kumar OpenFOAM Installation 0 April 27, 2007 06:41
Help%7e%7einstall openfoam13 on fc5%7e%7e aderliner OpenFOAM Installation 2 September 11, 2006 08:24
Gerris software installation mer Main CFD Forum 2 November 12, 2005 09:50


All times are GMT -4. The time now is 16:55.