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

about control the debug information

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

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools 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: 3
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: 3
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: 3
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
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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: 3
bieshuxuhe is on a distinguished road
thanks for your help !
bieshuxuhe is offline   Reply With Quote

Reply

Tags
debug information

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 of running Oscillating plate tutorial vovogoal CFX 17 December 30, 2014 05:00
ERROR #001100279 has occurred in subroutine ErrAction. smnaryal CFX 7 January 3, 2013 19:09
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 13:36.