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

Problems with foamLog and interFoam OF 14

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
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
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
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


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
Using foamLog liamm OpenFOAM Running, Solving & CFD 17 September 10, 2020 04:00
Problems with interFoam usage vrecha OpenFOAM Running, Solving & CFD 4 January 5, 2008 03:34
Problems calculating field gh with interFoam cricke OpenFOAM Running, Solving & CFD 0 December 10, 2007 07: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 04:00.