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

about control the debug information

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2014, 07:50
Post about control the debug information
  #1
Member
 
xuhe-openfoam
Join Date: Aug 2013
Location: DaLian,china
Posts: 82
Rep Power: 12
bieshuxuhe is on a distinguished road
hi !
I have modified DebugSwitches in the " etc/controlDict “ file ,but I don't know what to compile to make the modification come into effect !
I wonder if I have to Allwmake the OpenFOAM again ? it will take long !

could you help me ?
thanks.
bieshuxuhe is offline   Reply With Quote

Old   April 11, 2014, 12:21
Default
  #2
Member
 
xuhe-openfoam
Join Date: Aug 2013
Location: DaLian,china
Posts: 82
Rep Power: 12
bieshuxuhe is on a distinguished road
hello,
for example ,I change the DebugSwitches { ...}
from
"lduMatrix 1;"
to
"lduMatrix 2;"
in the "OpenFOAM/OpenFOAM-2.2.0/etc/controlDict"

then, I run the dambreak case using interFoam , but I don't find more information print out in the terminal .
I wonder if I should do something to make sure the setting about lduMatrix to become
effect
?

thank you!
bieshuxuhe is offline   Reply With Quote

Old   April 11, 2014, 22:41
Default
  #3
Member
 
xuhe-openfoam
Join Date: Aug 2013
Location: DaLian,china
Posts: 82
Rep Power: 12
bieshuxuhe is on a distinguished road
hello!
when i use openfoam-2.1.x , i could get residuals of every iteration by modifying the DebugSwitches in the " etc/controlDict “ file:
from
"lduMatrix 1;"
to
"lduMatrix 2;"

but now it doesn't work for openfoam-2.2.x !

how could I get residuals of every iteration from the terminal ? could you help me ?
thanks.
bieshuxuhe is offline   Reply With Quote

Old   April 13, 2014, 16:32
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings bieshuxuhe,

I vaguely remember someone asking and writing about this the other day... I went looking and I only found these two threads:
OK, looks like the output you're looking for is achieved with setting this instead:
Code:
SolverPerformance   2;
This is because in OpenFOAM 2.1.x, the test was done here:
Code:
src/OpenFOAM/matrices/lduMatrix/lduMatrix/lduMatrixTests.C
while in OpenFOAM 2.2.x, it's done here:
Code:
src/OpenFOAM/matrices/LduMatrix/LduMatrix/SolverPerformance.C
Best regards,
Bruno
hua1015 likes this.
__________________
wyldckat is offline   Reply With Quote

Old   April 13, 2014, 21:16
Default
  #5
Member
 
xuhe-openfoam
Join Date: Aug 2013
Location: DaLian,china
Posts: 82
Rep Power: 12
bieshuxuhe is on a distinguished road
thanks for your help !
bieshuxuhe is offline   Reply With Quote

Reply

Tags
debug information


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
ERROR #001100279 has occurred in subroutine ErrAction. smnaryal CFX 11 December 20, 2017 16:32
Problems of running Oscillating plate tutorial vovogoal CFX 20 February 4, 2016 07:03
error in two way fsi kmgraju CFX 1 May 2, 2011 02:32
Control Volume , Finite Volume, Finite Control Volume, Finite Element Method technocrat.prakash Main CFD Forum 1 April 24, 2010 19:24
air bubble is disappear increasing time using vof xujjun CFX 9 June 9, 2009 07:59


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