CFD Online URL
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

Debug switchSet cannot find DimensionedConstants

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 12, 2006, 06:43
Default Hi, I recently made the swi
  #1
Member
 
Guido Adriaensen
Join Date: Mar 2009
Posts: 56
Rep Power: 7
guido_adriaensen is on a distinguished road
Hi,

I recently made the switch to OF 1.3. After adjusting my solvers, I tried to run a testcase to see if it was working, but I get the following error instantly when I launch my app.

debug::switchSet(const char*, dictionary*):
Cannot find DimensionedConstants in dictionary /home/guido/OpenFOAM/OpenFOAM-1.3/.OpenFOAM-1.3/controlDict

I have taken a look at the controlDict file, and it indeed does not contain a debug switch for DimensionedConstants. Should I add this myself? Or is there something else wrong?

kind regards
Guido
guido_adriaensen is offline   Reply With Quote

Old   July 5, 2006, 10:33
Default I have the same problem when I
  #2
New Member
 
Greg Zink
Join Date: Mar 2009
Location: Ames, Iowa, USA
Posts: 16
Rep Power: 7
gzink is on a distinguished road
I have the same problem when I start to try running rhoSimpleFoam in OF 1.3. I've tried to add a line for DimensionedConstants in the controlDict, but it doesn't seem to fix the problem. Anyone know what to do?

Thanks

Greg Z.
gzink is offline   Reply With Quote

Old   July 10, 2006, 11:12
Default I added a line for Dimensioned
  #3
New Member
 
Greg Zink
Join Date: Mar 2009
Location: Ames, Iowa, USA
Posts: 16
Rep Power: 7
gzink is on a distinguished road
I added a line for DimensionedConstants and it shows up in both the controlDict file in the terminal, and when I edit the controlDict in FoamX. However, when I try to run rhoSimpleFoam from the command line, I still get this error:

debug::switchSet(const char*, dictionary*):
Cannot find DimensionedConstants in dictionary /root/OpenFOAM/OpenFOAM-1.3/.OpenFOAM-1.3/controlDict

as mentioned by Guido previously. Has anyone had any experience with this issue? Any help would be greatly appreciated.

Greg Z.
gzink is offline   Reply With Quote

Old   July 11, 2006, 08:39
Default Thanks Guido! That worked gre
  #4
New Member
 
Greg Zink
Join Date: Mar 2009
Location: Ames, Iowa, USA
Posts: 16
Rep Power: 7
gzink is on a distinguished road
Thanks Guido! That worked great!

Greg Z.
gzink is offline   Reply With Quote

Old   July 11, 2006, 13:40
Default Hi Guido, could you file a
  #5
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 15
mattijs is on a distinguished road
Hi Guido,

could you file a bug report for this (FoamX not being able to edit controlDict)?
mattijs 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
debug in Fluent Miriam Main CFD Forum 0 September 2, 2008 06:21
About "debug=T" sammi Phoenics 0 June 14, 2008 08:18
Debug flag sunnysun OpenFOAM Running, Solving & CFD 0 June 3, 2008 08:46
Why can not set breakpoints in debug lee Main CFD Forum 0 October 24, 2006 05:00
Debug of UDF in FLUENT summer FLUENT 1 August 29, 2006 18:54


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