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

How does one turn off the dimensional checking

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By olesen

Reply
 
LinkBack Thread Tools Search this Thread 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: 17
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: 22
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
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
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: 16
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: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
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.
olesen is offline   Reply With Quote

Old   January 12, 2015, 05:30
Default
  #6
Member
 
Zacarias Carral
Join Date: Sep 2012
Posts: 35
Rep Power: 13
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, 07:06
Default
  #7
New Member
 
Join Date: Feb 2014
Posts: 24
Rep Power: 12
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

Old   December 6, 2016, 05:25
Default to use the dimensionless N-S equations in OpenFOAM
  #8
Senior Member
 
Bill Wang
Join Date: Aug 2014
Posts: 109
Rep Power: 11
6863523 is on a distinguished road
Quote:
Originally Posted by hajott View Post
You can copy the controlDict from /opt/openfoam230/etc/ to $HOME/.OpenFOAM/2.3.0/, which will override the settings in /opt.
Dear hajott,
I have copied the controlDict according to your suggestion.
But there is still a problem as in the attchment.
Could you help to check?
Thank you in advance.
Best Regards,
Bill
Attached Images
File Type: png dimension-error.png (20.8 KB, 80 views)
6863523 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
Model with L turn c0384 Siemens 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 06:58
turn on turbulence equations Sergei CFX 2 June 11, 2003 01:05


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