CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Bugs

Problems with foamLog and interFoam OF 14

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 1, 2007, 08:09
Default Hello, I've discovered the
  #1
sinusmontis
Guest
 
Posts: n/a
Hello,

I've discovered the following problem with foamLog when processing logs generated from interFoam. The result is a error message like this:

Executing: awk -f ./settling_mg_initg/logs/foamLog.awk settling_mg_initg/log
awk: ./settling_mg_initg/logs/foamLog.awk:10: MULES:Cnt=0
awk: ./settling_mg_initg/logs/foamLog.awk:10: ^ syntax error
awk: ./settling_mg_initg/logs/foamLog.awk:11: MULES:FinalResCnt=0
awk: ./settling_mg_initg/logs/foamLog.awk:11: ^ syntax error
awk: ./settling_mg_initg/logs/foamLog.awk:12: MULES:ItersCnt=0
awk: ./settling_mg_initg/logs/foamLog.awk:12: ^ syntax error


Proposed solution:
change the line

Info<< "MULES: Solving for " << psi.name() << endl;

to

Info<< "MULES: Solving for " << psi.name() << "," << endl;

in src/finiteVolume/lnInclude/MULESTemplates.C


Greetings,

Malte
  Reply With Quote

Old   June 1, 2007, 08:56
Default Another solution is to filter
  #2
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
Another solution is to filter out solver messages that don't include a ','


mattijs is offline   Reply With Quote

Old   June 1, 2007, 08:57
Default (cancelled posting to late ;-)
  #3
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
(cancelled posting to late ;-)
The attached file is a replacement for bin/foamLog

foamLog
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
Using foamLog liamm OpenFOAM Running, Solving & CFD 14 August 29, 2010 05:12
Problems with interFoam usage vrecha OpenFOAM Running, Solving & CFD 4 January 5, 2008 04:34
Problems calculating field gh with interFoam cricke OpenFOAM Running, Solving & CFD 0 December 10, 2007 08:17
Problems involving interFoam and GCC 410 gschaider OpenFOAM Installation 1 July 30, 2006 19:58
Problems starting new case interFoam billy OpenFOAM Running, Solving & CFD 3 June 21, 2006 10:18


All times are GMT -4. The time now is 05:57.