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

How does one turn off the dimensional checking

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

Like Tree2Likes
  • 2 Post By olesen

Reply
 
LinkBack Thread Tools Display Modes
Old   May 16, 2005, 05:00
Default While trying to implement a lo
  #1
Member
 
Marco Kupiainen
Join Date: Mar 2009
Posts: 31
Rep Power: 9
kupiainen is on a distinguished road
While trying to implement a low-storage solver I want to reuse variables. How does one turn off the dimensional checking in OpenFoam?
kupiainen is offline   Reply With Quote

Old   May 16, 2005, 05:06
Default You can switch off the checkin
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 14
henry is on a distinguished road
You can switch off the checking at run-time by setting

dimensionSet 0;

in OpenFOAM-1.1/.OpenFOAM-1.1/controlDict.
henry is offline   Reply With Quote

Old   May 16, 2005, 05:10
Default Or maybe you can reset the dim
  #3
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 17
mattijs is on a distinguished road
Or maybe you can reset the dimensions() on the volXXXFields to the correct type. (see GeometricField.H, dimensions() gives non-const access)
mattijs is offline   Reply With Quote

Old   August 5, 2009, 12:47
Default
  #4
Member
 
Sven Winkler
Join Date: May 2009
Posts: 70
Rep Power: 9
sven is on a distinguished road
I also tried to switch off the dimension checking, but the folder .OpenFOAM-1.1 does not exist at the location OpenFOAM-1.1. Am I searching at the wrong position? (ps: I recognized that it is a hidden folder)

Thanks
sven is offline   Reply With Quote

Old   August 6, 2009, 02:52
Default
  #5
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 780
Rep Power: 19
olesen will become famous soon enough
Quote:
Originally Posted by sven View Post
I also tried to switch off the dimension checking, but the folder .OpenFOAM-1.1 does not exist at the location OpenFOAM-1.1. Am I searching at the wrong position? (ps: I recognized that it is a hidden folder)
If you are indeed still using OpenFOAM-1.1 (note the original posting was from 2005), the location should be the same.

If you are using OpenFOAM-1.5 (or later), you should use the ~/.OpenFOAM/ or ~/.OpenFOAM/1.5/ directories. The later is generally better for controlDict, since it might change in incompatible ways between versions.

Note that with OpenFOAM-1.6, you can also use the command
Code:
$ foamEtcFile -list
to list the various directory locations that will be examined for the "~OpenFOAM/" string expansion (the same logic that is used to locate the controlDict).

And the command
Code:
$ foamEtcFile controlDict
to determine which file OpenFOAM will find for your controlDict.

See "foamEtcFile -help" for more information.
yashar.afarin and argonaut like this.
olesen is offline   Reply With Quote

Old   January 12, 2015, 06:30
Default
  #6
Member
 
Zacarias Carral
Join Date: Sep 2012
Posts: 31
Rep Power: 6
zcarral is on a distinguished road
Dear everybody,

If OpenFOAM is installed at opt directory, is it not possible to edit the file controlDict due to permission problems. Is there other way to change permissions?
zcarral is offline   Reply With Quote

Old   January 12, 2015, 08:06
Default
  #7
New Member
 
Join Date: Feb 2014
Posts: 24
Rep Power: 4
hajott is on a distinguished road
You can copy the controlDict from /opt/openfoam230/etc/ to $HOME/.OpenFOAM/2.3.0/, which will override the settings in /opt.
hajott 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
Model with L turn c0384 CD-adapco 0 July 4, 2008 20:33
Can I turn an element "off" in CFX? Joshua CFX 5 May 26, 2008 12:00
HOW TO TURN $6 INTO $6,000!!!!!! Dalibor FLUENT 1 October 26, 2006 19:41
v2f model turn on?? Rain FLUENT 6 February 17, 2005 07:58
turn on turbulence equations Sergei CFX 2 June 11, 2003 01:05


All times are GMT -4. The time now is 04:03.